Update particlesDict
This commit is contained in:
parent
b03d4825ff
commit
d5dd7af06e
|
@ -6,49 +6,21 @@ objectName particlesDict;
|
||||||
objectType dictionary;
|
objectType dictionary;
|
||||||
fileFormat ASCII;
|
fileFormat ASCII;
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
setFields
|
setFields
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
Default value for fields defined for particles:
|
|
||||||
|
|
||||||
These fields should always be defined for simulations with spherical particles
|
|
||||||
*/
|
|
||||||
|
|
||||||
defaultValue
|
defaultValue
|
||||||
{
|
{
|
||||||
velocity realx3 (0 0 0); // linear velocity (m/s)
|
velocity realx3 (0 0 0); // linear velocity (m/s)
|
||||||
|
|
||||||
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
|
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
|
||||||
|
|
||||||
rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
|
rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
|
||||||
|
|
||||||
shapeName word sphere; // name of the particle shape
|
shapeName word sphere; // name of the particle shape
|
||||||
}
|
}
|
||||||
|
|
||||||
selectors
|
selectors
|
||||||
{
|
{}
|
||||||
shapeAssigne
|
|
||||||
{
|
|
||||||
selector stridedRange; // other options: box, cylinder, sphere, randomPoints
|
|
||||||
|
|
||||||
stridedRangeInfo
|
|
||||||
{
|
|
||||||
begin 0; // begin index of points
|
|
||||||
|
|
||||||
end 50000; // end index of points
|
|
||||||
|
|
||||||
stride 3; // stride for selector
|
|
||||||
}
|
|
||||||
|
|
||||||
fieldValue // fields that the selector is applied to
|
|
||||||
{
|
|
||||||
shapeName word sphere; // sets shapeName of the selected points to largeSphere
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
positionParticles // positions particles
|
positionParticles
|
||||||
{
|
{
|
||||||
method empty; // other options: random and ordered
|
method empty;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue