tutorial files modified for minor errors

This commit is contained in:
Hamidreza Norouzi 2023-09-25 17:39:22 +03:30
parent 33a838b784
commit d0aa5af792
16 changed files with 46 additions and 20 deletions

View File

@ -41,7 +41,7 @@ setFields
{ {
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)
rotVelocity realx3 (0 0 0); // rotational velocity (rad/s) r Velocity realx3 (0 0 0); // rotational velocity (rad/s)
shapeName word smallSphere; // name of the particle shape shapeName word smallSphere; // name of the particle shape
} }
@ -53,8 +53,7 @@ setFields
selectRandomInfo selectRandomInfo
{ {
begin 0; // begin index of points begin 0; // begin index of points
end 30000; // end index of points end 29999; // end index of points
number 29999; // stride for selector
} }
fieldValue // fields that the selector is applied to fieldValue // fields that the selector is applied to
{ {

View File

@ -18,7 +18,7 @@ setFields
acceleration realx3 (0 0 0); acceleration realx3 (0 0 0);
// rotational velocity (rad/s) // rotational velocity (rad/s)
rotVelocity realx3 (0 0 0); rVelocity realx3 (0 0 0);
// name of the particle shape // name of the particle shape
shapeName word sphere; shapeName word sphere;

View File

View File

View File

@ -16,7 +16,7 @@ setFields
// linear acceleration (m/s2) // linear acceleration (m/s2)
acceleration realx3 (0 0 0); acceleration realx3 (0 0 0);
// rotational velocity (rad/s) // rotational velocity (rad/s)
rotVelocity realx3 (0 0 0); rVelocity realx3 (0 0 0);
// name of the particle shape // name of the particle shape
shapeName word smallSphere; shapeName word smallSphere;
} }

View File

@ -24,7 +24,7 @@ setFields
acceleration realx3 (0 0 0); acceleration realx3 (0 0 0);
// rotational velocity (rad/s) // rotational velocity (rad/s)
rotVelocity realx3 (0 0 0); rVelocity realx3 (0 0 0);
// name of the particle shape // name of the particle shape
shapeName word smallSphere; shapeName word smallSphere;

View File

@ -41,7 +41,7 @@ setFields
{ {
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)
rotVelocity realx3 (0 0 0); // rotational velocity (rad/s) rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
shapeName word smallSphere; // name of the particle shape shapeName word smallSphere; // name of the particle shape
} }

View File

@ -13,7 +13,7 @@ setFields
{ {
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)
rotVelocity realx3 (0 0 0); // rotational velocity (rad/s) rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
shapeName word lightSphere; // name of the particle shape shapeName word lightSphere; // name of the particle shape
} }

View File

@ -19,7 +19,7 @@ setFields
{ {
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)
rotVelocity realx3 (0 0 0); // rotational velocity (rad/s) rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
shapeName word glassBead; // name of the particle shape shapeName word glassBead; // name of the particle shape
} }

View File

@ -19,7 +19,7 @@ setFields
{ {
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)
rotVelocity realx3 (0 0 0); // rotational velocity (rad/s) rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
shapeName word sphere1; // name of the particle shape shapeName word sphere1; // name of the particle shape
} }

View File

@ -2,9 +2,10 @@
| phasicFlow File | | phasicFlow File |
| copyright: www.cemf.ir | | copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */ \* ------------------------------------------------------------------------- */
objectName interaction; objectName interaction;
objectType dicrionary; objectType dicrionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
materials (prop1); // a list of materials names materials (prop1); // a list of materials names
densities (1000.0); // density of materials [kg/m3] densities (1000.0); // density of materials [kg/m3]

View File

@ -2,9 +2,10 @@
| phasicFlow File | | phasicFlow File |
| copyright: www.cemf.ir | | copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */ \* ------------------------------------------------------------------------- */
objectName particleInsertion; objectName particleInsertion;
objectType dicrionary; objectType dicrionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
active yes; // is insertion active? active yes; // is insertion active?
@ -21,7 +22,7 @@ layer0
rate 5000; // insertion rate (particles/s) rate 5000; // insertion rate (particles/s)
startTime 0; // (s) startTime 0; // (s)
endTime 100; // (s) endTime 100; // (s)
interval 0.025; //s interval 0.03; //s
cylinderRegionInfo cylinderRegionInfo
{ {

View File

@ -2,9 +2,10 @@
| phasicFlow File | | phasicFlow File |
| copyright: www.cemf.ir | | copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */ \* ------------------------------------------------------------------------- */
objectName sphereDict; objectName sphereDict;
objectType sphereShape; objectType sphereShape;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
names (sphere1); // names of shapes names (sphere1); // names of shapes
diameters (0.01); // diameter of shapes diameters (0.01); // diameter of shapes

View File

@ -2,9 +2,10 @@
| phasicFlow File | | phasicFlow File |
| copyright: www.cemf.ir | | copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */ \* ------------------------------------------------------------------------- */
objectName geometryDict; objectName geometryDict;
objectType dictionary; objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
// motion model: rotating object around an axis // motion model: rotating object around an axis
motionModel rotatingAxisMotion; motionModel rotatingAxisMotion;

View File

@ -2,10 +2,10 @@
| phasicFlow File | | phasicFlow File |
| copyright: www.cemf.ir | | copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */ \* ------------------------------------------------------------------------- */
objectName particlesDict; objectName particlesDict;
objectType dictionary; objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
// positions particles // positions particles
@ -14,6 +14,27 @@ positionParticles
method empty; // creates the required fields with zero particles (empty). method empty; // creates the required fields with zero particles (empty).
maxNumberOfParticles 50000; // maximum number of particles in the simulation maxNumberOfParticles 50000; // maximum number of particles in the simulation
mortonSorting Yes; // perform initial sorting based on morton code? mortonSorting Yes; // perform initial sorting based on morton
} }
setFields
{
defaultValue
{
// linear velocity (m/s)
velocity realx3 (0 0 0);
// linear acceleration (m/s2)
acceleration realx3 (0 0 0);
// rotational velocity (rad/s)
rVelocity realx3 (0 0 0);
// name of the particle shape
shapeName word sphere1;
}
selectors
{}
}

View File

@ -3,7 +3,9 @@
| copyright: www.cemf.ir | | copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */ \* ------------------------------------------------------------------------- */
objectName settingsDict; objectName settingsDict;
objectType dictionary;; objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
run layerdSiloFilling; run layerdSiloFilling;