postprocess for segregation

This commit is contained in:
Hamidreza
2025-07-08 01:06:25 +03:30
parent 94f892f06f
commit a3c3ca1b84
11 changed files with 459 additions and 199 deletions

View File

@ -10,21 +10,20 @@ fileFormat ASCII;
// positions particles
positionParticles
{
method positionOrdered; // ordered positioning
method ordered;
maxNumberOfParticles 30001; // maximum number of particles in the simulation
mortonSorting Yes; // perform initial sorting based on morton code?
cylinder // cylinder region for positioning particles
regionType cylinder;
cylinderInfo
{
p1 (0.0 0.0 0.003); // begin point of cylinder axis
p2 (0.0 0.0 0.097); // end point of cylinder axis
radius 0.117; // radius of cylinder
}
positionOrderedInfo
orderedInfo
{
distance 0.005; // minimum distance between particles centers
distance 0.005; // minimum space between centers of particles
numPoints 30000; // number of particles in the simulation
axisOrder (z x y); // axis order for filling the space with particles
}
@ -35,8 +34,8 @@ setFields
/*
Default value for fields defined for particles
These fields should always be defined for simulations with
spherical particles.*/
spherical particles.
*/
defaultValue
{
velocity realx3 (0 0 0); // linear velocity (m/s)
@ -49,17 +48,17 @@ setFields
{
shapeAssigne
{
selector selectRandom; // type of point selector
selectRandomInfo
selector randomPoints; // type of point selector
randomPointsInfo
{
begin 0; // begin index of points
end 29999; // end index of points
number 10000; // number of points to be selected
end 29999; // end index of points
number 10000;
}
fieldValue // fields that the selector is applied to
{
/*
sets shapeName of the selected points to largeSphere*/
shapeName word largeSphere;
}
}