32 lines
954 B
C++
32 lines
954 B
C++
/* -------------------------------*- C++ -*--------------------------------- *\
|
|
| phasicFlow File |
|
|
| copyright: www.cemf.ir |
|
|
\* ------------------------------------------------------------------------- */
|
|
|
|
objectName particlesDict;
|
|
objectType dictionary;
|
|
|
|
setFields
|
|
{
|
|
defaultValue
|
|
{
|
|
velocity realx3 (0 0 0); // linear velocity (m/s)
|
|
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
|
|
rotVelocity realx3 (0 0 0); // rotational velocity (rad/s)
|
|
shapeName word sphere; // name of the particle shape
|
|
}
|
|
|
|
selectors
|
|
{}
|
|
}
|
|
|
|
// positions particles
|
|
positionParticles
|
|
{
|
|
method empty; // creates the required fields with zero particles (empty).
|
|
|
|
maxNumberOfParticles 50000; // maximum number of particles in the simulation
|
|
mortonSorting Yes; // perform initial sorting based on morton code?
|
|
|
|
}
|