Fixed Codes of RDB

This commit is contained in:
omid.khs
2023-02-07 18:59:13 +03:30
parent 4827570411
commit 1fb2c06de9
7 changed files with 3027 additions and 128 deletions

View File

@ -2,18 +2,21 @@
| 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 lightSphere; // name of the particle shape
// linear velocity (m/s)
velocity realx3 (0 0 0);
// linear acceleration (m/s2)
acceleration realx3 (0 0 0);
// rotational velocity (rad/s)
rotVelocity realx3 (0 0 0);
// name of the particle shape
shapeName word lightSphere;
}
selectors
@ -23,9 +26,11 @@ setFields
// 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?
// creates the required spaces with zero particles (empty).
method empty;
// maximum number of particles in the simulation
maxNumberOfParticles 20050;
// perform initial sorting based on morton code?
mortonSorting Yes;
}