Fixed Codes of RDB

This commit is contained in:
omid.khs
2023-02-07 18:59:13 +03:30
parent 4827570411
commit 1fb2c06de9
7 changed files with 3027 additions and 128 deletions

View File

@ -2,12 +2,13 @@
| phasicFlow File |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
objectName interaction;
objectType dicrionary;
materials (lightMat heavyMat wallMat); // a list of materials names
densities (1000 1500.0 2500); // density of materials [kg/m3]
/*----------------------------------------------------------------------------*/
// a list of materials names
materials (lightMat heavyMat wallMat);
// density of materials [kg/m3]
densities (1000 1500 2500);
contactListType sortedContactList;
@ -21,52 +22,55 @@ model
heavyMat-heavyMat heavyMat-wallMat
wallMat-wallMat );
*/
Yeff (1.0e6 1.0e6 1.0e6 // Young modulus [Pa]
// Young modulus [Pa]
Yeff (1.0e6 1.0e6 1.0e6
1.0e6 1.0e6
1.0e6);
Geff (0.8e6 0.8e6 0.8e6 // Shear modulus [Pa]
// Shear modulus [Pa]
Geff (0.8e6 0.8e6 0.8e6
0.8e6 0.8e6
0.8e6);
nu (0.25 0.25 0.25 // Poisson's ratio [-]
// Poisson's ratio [-]
nu (0.25 0.25 0.25
0.25 0.25
0.25);
en (0.97 0.97 0.85 // coefficient of normal restitution
// coefficient of normal restitution
en (0.97 0.97 0.85
0.97 0.85
1.00);
et (1.0 1.0 1.0 // coefficient of tangential restitution
// coefficient of tangential restitution
et (1.0 1.0 1.0
1.0 1.0
1.0);
mu (0.65 0.65 0.35 // dynamic friction
// dynamic friction
mu (0.65 0.65 0.35
0.65 0.35
0.35);
mur (0.1 0.1 0.1 // rolling friction
// rolling friction
mur (0.1 0.1 0.1
0.1 0.1
0.1);
0.1);
}
contactSearch
{
method NBS; // method for broad search particle-particle
wallMapping cellMapping; // method for broad search particle-wall
// method for broad search particle-particle
method NBS;
// method for broad search particle-wall
wallMapping cellMapping;
NBSInfo
{
updateFrequency 10; // each 20 timesteps, update neighbor list
sizeRatio 1.1; // bounding box size to particle diameter (max)
// each 20 timesteps, update neighbor list
updateFrequency 10;
// bounding box size to particle diameter (max)
sizeRatio 1.1;
}
cellMappingInfo
{
updateFrequency 10; // each 20 timesteps, update neighbor list
cellExtent 0.6; // bounding box for particle-wall search (> 0.5)
// each 20 timesteps, update neighbor list
updateFrequency 10;
// bounding box for particle-wall search (> 0.5)
cellExtent 0.6;
}
}

View File

@ -2,59 +2,74 @@
| phasicFlow File |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
objectName particleInsertion;
objectType dicrionary;
/*---------------------------------------------------------------------------*/
active yes; // is insertion active?
collisionCheck No; // not implemented for yes
// is insertion active?
active yes;
// not implemented for yes
collisionCheck No;
/*
five layers of particles are packed one-by-one using 5 insertion steps.
Two layers of particles are packed one-by-one using 1 insertion steps.
*/
layer0
// Right Layer Region
layerrightregion
{
type cylinderRegion; // type of insertion region
rate 5000; // insertion rate (particles/s)
startTime 0; // (s)
endTime 1; // (s)
interval 0.025; //s
// type of insertion region
type cylinderRegion;
// insertion rate (particles/s)
rate 12500;
// Start time of LightParticles insertion (s)
startTime 0;
// End time of LightParticles insertion (s)
endTime 1;
// Time Interval of LightParticles insertion (s)
interval 0.025;
cylinderRegionInfo
{
p2 (-0.15 0.25 0.05); // (m,m,m)
p1 (-0.15 0.24 0.05); // (m,m,m)
radius 0.035; // radius of cylinder (m)
// Coordinates of cylinderRegion (m,m,m)
p2 (-0.15 0.25 0.05);
p1 (-0.15 0.24 0.05);
// radius of cylinder (m)
radius 0.035;
}
setFields
{
velocity realx3 (0.0 -0.6 0.0); // initial velocity of inserted particles
// initial velocity of inserted particles
velocity realx3 (0.0 -0.6 0.0);
}
mixture
{
lightSphere 1; // mixture composition of inserted particles
// mixture composition of inserted particles
lightSphere 1;
}
}
layer1
// Left Layer Region
layerleftregion
{
type cylinderRegion;
rate 7500; // (particles/s)
startTime 0; // (s)
endTime 1; // (s)
interval 0.025; //s
//Left Region Particles Insertion Rate (particles/s)
rate 7500;
// Start time of LightParticles insertion (s)
startTime 0;
// End time of LightParticles insertion (s)
endTime 1;
// Time Interval of LightParticles insertion (s)
interval 0.025;
cylinderRegionInfo
{
p2 (-0.23 0.25 0.05); // (m,m,m)
p1 (-0.23 0.24 0.05); // (m,m,m)
radius 0.035; // radius of cylinder (m)
// Coordinates of cylinderRegion (m,m,m)
p2 (-0.23 0.25 0.05);
p1 (-0.23 0.24 0.05);
// radius of cylinder (m)
radius 0.035;
}
setFields

View File

@ -2,10 +2,12 @@
| phasicFlow File |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
objectName sphereDict;
objectType sphereShape;
names (lightSphere heavySphere); // names of shapes
diameters (0.003 0.005); // diameter of shapes
materials (lightMat heavyMat); // material names for shapes
/*---------------------------------------------------------------------------*/
// names of shapes
names (lightSphere heavySphere);
// diameter of shapes (m)
diameters (0.004 0.005);
// material names for shapes
materials (lightMat heavyMat);