comments are implemented.

This commit is contained in:
ramin1728 2025-03-08 13:24:53 +03:30
parent e5c11cfea3
commit a5074e4eb7
5 changed files with 195 additions and 216 deletions

View File

@ -51,7 +51,6 @@ In `settings/geometryDict` file, the surfaces and motion component of each surfa
```C++ ```C++
surfaces surfaces
{ {
topGate topGate
{ {
// type of wall // type of wall
@ -159,7 +158,6 @@ surfaces
coneShelldown coneShelldown
{ {
// type of the wall // type of the wall
type cylinderWall; type cylinderWall;
@ -214,7 +212,6 @@ surfaces
exitGate exitGate
{ {
// type of the wall // type of the wall
type cylinderWall; type cylinderWall;
@ -239,7 +236,6 @@ surfaces
// motion component name // motion component name
motion axisOfRotation; motion axisOfRotation;
} }
} }
``` ```
@ -274,8 +270,10 @@ positionParticles
{ {
// ordered positioning // ordered positioning
method ordered; method ordered;
// perform initial sorting based on morton code // perform initial sorting based on morton code
mortonSorting Yes; mortonSorting Yes;
orderedInfo orderedInfo
{ {
// minimum space between centers of particles // minimum space between centers of particles
@ -291,7 +289,7 @@ positionParticles
regionType cylinder; // other options: box and sphere regionType cylinder; // other options: box and sphere
cylinderInfo // cylinder for positioning particles cylinderInfo // cylinder for positioning particles
{ {
p1 (0.0 0.0 0.09); // Coordinates of bottom cylinderRegion (m,m,m) p1 (0.0 0.0 0.09); // Coordinates of bottom cylinderRegion (m,m,m)
p2 (0.0 0.0 0.21); // Coordinates of top cylinderRegion (m,m,m) p2 (0.0 0.0 0.21); // Coordinates of top cylinderRegion (m,m,m)

View File

@ -23,26 +23,26 @@ boundaries
right right
{ {
type exit; // other options: periodict, reflective type exit; // other options: periodic, reflective
} }
bottom bottom
{ {
type exit; // other options: periodict, reflective type exit; // other options: periodic, reflective
} }
top top
{ {
type exit; // other options: periodict, reflective type exit; // other options: periodic, reflective
} }
rear rear
{ {
type exit; // other options: periodict, reflective type exit; // other options: periodic, reflective
} }
front front
{ {
type exit; // other options: periodict, reflective type exit; // other options: periodic, reflective
} }
} }

View File

@ -28,26 +28,7 @@ setFields
} }
selectors selectors
{ {}
shapeAssigne
{
selector stridedRange; // other options: box, cylinder, sphere, randomPoints
stridedRangeInfo
{
begin 0; // begin index of points
end 24000; // end index of points
stride 3; // stride for selector
}
fieldValue // fields that the selector is applied to
{
shapeName word sphere1; // sets shapeName of the selected points to largeSphere
}
}
}
} }
positionParticles // positions particles positionParticles // positions particles