Tutorial is Updated

This commit is contained in:
ramin1728
2024-12-03 13:31:17 +03:30
parent 5db98b9488
commit 93c146391c
4 changed files with 75 additions and 66 deletions

View File

@ -9,65 +9,66 @@ fileFormat ASCII;
setFields
{
/*
Default value for fields defined for particles:
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)
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 smallSphere; // name of the particle shape
shapeName word smallSphere; // name of the particle shape
}
selectors
{
shapeAssigne
{
selector stridedRange; // other options: box, cylinder, sphere, randomPoints
selector stridedRange; // other options: box, cylinder, sphere, randomPoints
stridedRangeInfo
{
begin 0; // begin index of points
begin 0; // begin index of points
end 30000; // end index of points
end 30000; // end index of points
stride 3; // stride for selector
stride 3; // stride for selector
}
fieldValue // fields that the selector is applied to
fieldValue // fields that the selector is applied to
{
shapeName word largeSphere; // sets shapeName of the selected points to largeSphere
shapeName word largeSphere; // sets shapeName of the selected points to largeSphere
}
}
}
}
positionParticles // positions particles
positionParticles // positions particles
{
method ordered; // other options: random and empty
method ordered; // other options: random and empty
orderedInfo
{
diameter 0.005; // diameter of particles
diameter 0.005; // diameter of particles
numPoints 30000; // number of particles in the simulation
numPoints 30000; // number of particles in the simulation
axisOrder (z x y); // axis order for filling the space with particles
axisOrder (z x y); // axis order for filling the space with particles
}
regionType cylinder; // other options: box and sphere
regionType cylinder; // other options: box and sphere
cylinderInfo // cylinder information for positioning particles
cylinderInfo // cylinder information for positioning particles
{
p1 (0.0 0.0 0.003); // begin point of cylinder axis
p1 (0.0 0.0 0.003); // begin point of cylinder axis
p2 (0.0 0.0 0.097); // end point of cylinder axis
p2 (0.0 0.0 0.097); // end point of cylinder axis
radius 0.117; // radius of cylinder
radius 0.117; // radius of cylinder
}
}