48 lines
1.4 KiB
C++
Executable File
48 lines
1.4 KiB
C++
Executable File
/* -------------------------------*- C++ -*--------------------------------- *\
|
|
| phasicFlow File |
|
|
| copyright: www.cemf.ir |
|
|
\* ------------------------------------------------------------------------- */
|
|
objectName particlesDict;
|
|
objectType dictionary;
|
|
fileFormat ASCII;
|
|
/*---------------------------------------------------------------------------*/
|
|
setFields
|
|
{
|
|
/*
|
|
Default value for fields defined for particles
|
|
|
|
These fields should always be defined for simulations with
|
|
|
|
spherical particles.
|
|
*/
|
|
|
|
defaultValue
|
|
{
|
|
velocity realx3 (0 0 0); // linear velocity (m/s)
|
|
|
|
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
|
|
|
|
rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
|
|
|
|
shapeName word lightSphere; // name of the particle shape
|
|
}
|
|
|
|
selectors
|
|
{}
|
|
}
|
|
|
|
positionParticles // positions particles
|
|
{
|
|
method empty; // other options: ordered and random
|
|
|
|
regionType box; // other options: cylinder and sphere
|
|
|
|
boxInfo // box region for positioning particles
|
|
{
|
|
min (-0.08 -0.08 0.015); // lower corner point of the box
|
|
|
|
max ( 0.08 0.08 0.098); // upper corner point of the box
|
|
}
|
|
}
|
|
|