correted position random

This commit is contained in:
hamidrezanorouzi
2022-09-10 17:12:12 +04:30
parent 6ac5670933
commit 6152ec6a7c
7 changed files with 65 additions and 36 deletions

View File

@ -7,5 +7,5 @@ objectName sphereDict;
objectType sphereShape;
names (glassBead); // names of shapes
diameters (0.006); // diameter of shapes
diameters (0.003); // diameter of shapes
materials (glassMat); // material names for shapes

View File

@ -15,7 +15,7 @@ surfaces
{
type cylinderWall;
p1 (0.0 0.0 0.0);
p2 (0.0 0.0 0.8);
p2 (0.0 0.0 1.6);
radius1 0.2;
radius2 0.2;
resolution 24;
@ -41,10 +41,10 @@ surfaces
wall2
{
type planeWall;
p1 (-0.2 -0.2 0.8);
p2 ( 0.2 -0.2 0.8);
p3 ( 0.2 0.2 0.8);
p4 (-0.2 0.2 0.8);
p1 (-0.2 -0.2 1.6);
p2 ( 0.2 -0.2 1.6);
p3 ( 0.2 0.2 1.6);
p4 (-0.2 0.2 1.6);
material wallMat;
motion rotAxis;
}

View File

@ -25,20 +25,20 @@ positionParticles
{
method positionOrdered;
maxNumberOfParticles 1000000;
maxNumberOfParticles 4000001;
mortonSorting Yes;
cylinder // box for positioning particles
{
p1 ( 0.0 0.0 0.0); // lower corner point of the box
p2 ( 0.0 0.0 0.8); // upper corner point of the box
p1 ( 0.0 0.0 0.01); // lower corner point of the box
p2 ( 0.0 0.0 1.59); // upper corner point of the box
radius 0.195;
}
positionOrderedInfo
{
diameter 0.006; // minimum space between centers of particles
numPoints 240000; // number of particles in the simulation
diameter 0.003; // minimum space between centers of particles
numPoints 4000000; // number of particles in the simulation
axisOrder (z x y); // axis order for filling the space with particles
}
}

View File

@ -21,8 +21,8 @@ g (0 -9.8 0); // gravity vector (m/s2)
domain
{
min (-0.21 -0.21 -0.01);
max ( 0.21 0.21 0.81);
min (-0.2 -0.2 -0.0);
max ( 0.2 0.2 1.6);
}
integrationMethod AdamsBashforth3; // integration method