Merge pull request #182 from wanqing0421/main

correction for particle insertion region
This commit is contained in:
PhasicFlow 2025-03-05 17:39:21 +03:30 committed by GitHub
commit 5394dce7aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 158 additions and 218 deletions

View File

@ -14,7 +14,6 @@ contactListType sortedContactList;
contactSearch contactSearch
{ {
method NBS; // method for broad search method NBS; // method for broad search
updateInterval 10; updateInterval 10;
@ -49,9 +48,6 @@ model
en (0.97 0.85 en (0.97 0.85
1.00); // coefficient of normal restitution 1.00); // coefficient of normal restitution
et (1.0 1.0
1.0); // coefficient of tangential restitution
mu (0.65 0.65 mu (0.65 0.65
0.65); // dynamic friction 0.65); // dynamic friction

View File

@ -8,5 +8,3 @@ fileFormat ASCII;
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
active No; // is checked -> Yes or No active No; // is checked -> Yes or No
collisionCheck No; // is insertion active -> Yes or No

View File

@ -2,8 +2,8 @@
| phasicFlow File | | phasicFlow File |
| copyright: www.cemf.ir | | copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */ \* ------------------------------------------------------------------------- */
objectName sphereDict; objectName shapes;
objectType sphereShape; objectType dictionary;
fileFormat ASCII; fileFormat ASCII;
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
names (glassBead); // names of shapes names (glassBead); // names of shapes

View File

@ -1,12 +0,0 @@
/* -------------------------------*- C++ -*--------------------------------- *\
| phasicFlow File |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
objectName sphereDict;
objectType sphereShape;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
names (glassBead); // names of shapes
diameters (0.003); // diameter of shapes
materials (glassMat); // material names for shapes

View File

@ -13,52 +13,35 @@ globalBox // Simulation domain: every par
max (0.12 0.12 0.36); // upper corner point of the box max (0.12 0.12 0.36); // upper corner point of the box
} }
decomposition
{
direction z;
}
boundaries boundaries
{ {
neighborListUpdateInterval 50; /* Determines how often (how many iterations) do you want to
rebuild the list of particles in the neighbor list
of all boundaries in the simulation domain */
updateInterval 10; // Determines how often do you want to update the new changes in the boundary
neighborLength 0.004; // The distance from the boundary plane within which particles are marked to be in the boundary list
left left
{ {
type exit; // other options: periodict, reflective type exit; // other options: periodic, reflective
} }
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

@ -87,6 +87,5 @@ surfaces
motion rotAxis; // motion component name motion rotAxis; // motion component name
} }
} }

View File

@ -27,24 +27,6 @@ setFields
selectors selectors
{ {
shapeAssigne
{
selector stridedRange; // other options: box, cylinder, sphere, randomPoints
stridedRangeInfo
{
begin 0; // begin index of points
end 250000; // end index of points
stride 3; // stride for selector
}
fieldValue // fields that the selector is applied to
{
shapeName word glassBead; // sets shapeName of the selected points to largeSphere
}
}
} }
} }
@ -52,10 +34,6 @@ positionParticles // positions particles
{ {
method ordered; // other options: random and empty method ordered; // other options: random and empty
//maxNumberOfParticles 250001; // maximum number of particles in the simulation
//mortonSorting Yes; // perform initial sorting based on morton code?
orderedInfo orderedInfo
{ {
diameter 0.003; // minimum space between centers of particles diameter 0.003; // minimum space between centers of particles
@ -69,12 +47,10 @@ positionParticles // positions particles
cylinderInfo // cylinder information for positioning particles cylinderInfo // cylinder information for positioning particles
{ {
p1 (0.0 0.003 0.0); // begin point of cylinder axis p1 (0.0 0.0 0.003); // begin point of cylinder axis
p2 (0.0 0.22 0.0); // end point of cylinder axis p2 (0.0 0.0 0.357); // end point of cylinder axis
radius 0.117; // radius of cylinder radius 0.117; // radius of cylinder
} }
} }

View File

@ -36,4 +36,4 @@ writeFormat binary; // data writting format (ascii or binary
timersReport Yes; // report timers? timersReport Yes; // report timers?
timersReportInterval 0.01; // time interval for reporting timers timersReportInterval 0.05; // time interval for reporting timers