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);

View File

@ -2,49 +2,61 @@
| phasicFlow File |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
objectName geometryDict;
objectType dictionary;
/* ------------------------------------------------------------------------- */
// motion model: all surfaces are fixed
motionModel rotatingAxisMotion;
surfaces
{
Shell
body
{
type stlWall; // type of the wall
file shell.stl; // file name in stl folder
material wallMat; // material name of this wall
motion rotAxis; // motion component name
// type of the wall
type stlWall;
// file name in stl folder
file Body.stl;
// material name of this wall
material wallMat;
// motion component name
motion rotAxis;
}
/*
This is a plane wall at the rear end of cylinder
*/
wall1
/* This is a Cylinder Wall at the rear of cylinder */
CylinderRear1
{
type planeWall; // type of the wall
p1 (-0.4 0.10 0.0); // first point of the wall
p2 ( 0.0 0.10 0.0); // second point
p3 ( 0.0 0.35 0.0); // third point
p4 (-0.4 0.35 0.0); // fourth point
material wallMat; // material name of the wall
motion rotAxis; // motion component name
// type of the wall
type cylinderWall;
// first point for the axis of rotation
p1 (-0.1974 0.2269 -0.001);
// second point for the axis of rotation
p2 (-0.1974 0.2269 0.0);
// Radius of p1
radius1 0.0001;
// Radius of p2
radius2 0.12;
// material name of the wall
material wallMat;
// motion component name
motion rotAxis;
}
/*
This is a plane wall at the front end of cylinder
*/
wall2
/* This a cylinder Wall at the front of Cylinder */
CylinderFront2
{
type planeWall; // type of the wall
p1 (-0.4 0.10 0.1); // first point of the wall
p2 ( 0.0 0.10 0.1); // second point
p3 ( 0.0 0.35 0.1); // third point
p4 (-0.4 0.35 0.1); // fourth point
material wallMat; // material name of the wall
motion rotAxis; // motion component name
// type of the wall
type cylinderWall;
// first point for the axis of rotation
p1 (-0.1974 0.2269 0.0989);
// second point for the axis of rotation
p2 (-0.1974 0.2269 0.0990);
// Radius of p1
radius1 0.0001;
// Radius of p2
radius2 0.12;
// material name of the wall
material wallMat;
// motion component name
motion rotAxis;
}
}
// information for rotatingAxisMotion motion model
@ -52,12 +64,15 @@ rotatingAxisMotionInfo
{
rotAxis
{
p1 (-0.1974 0.2269 0); // first point for the axis of rotation
p2 (-0.1974 0.2269 0.1); // second point for the axis of rotation
omega 2.38733; // rotation speed (rad/s) => 15 rpm
// first point for the axis of rotation
p1 (-0.1974 0.2269 0);
// second point for the axis of rotation
p2 (-0.1974 0.2269 0.1);
// rotation speed (rad/s) => 15 rpm
omega 2.38733;
// Start time of Geometry Rotating
startTime 2;
// End time of Geometry Rotating
endTime 9.5;
}
}

View File

@ -2,18 +2,21 @@
| phasicFlow File |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
objectName particlesDict;
objectType dictionary;
/*---------------------------------------------------------------------------*/
setFields
{
defaultValue
{
velocity realx3 (0 0 0); // linear velocity (m/s)
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
rotVelocity realx3 (0 0 0); // rotational velocity (rad/s)
shapeName word lightSphere; // name of the particle shape
// linear velocity (m/s)
velocity realx3 (0 0 0);
// linear acceleration (m/s2)
acceleration realx3 (0 0 0);
// rotational velocity (rad/s)
rotVelocity realx3 (0 0 0);
// name of the particle shape
shapeName word lightSphere;
}
selectors
@ -23,9 +26,11 @@ setFields
// positions particles
positionParticles
{
method empty; // creates the required fields with zero particles (empty).
maxNumberOfParticles 50000; // maximum number of particles in the simulation
mortonSorting Yes; // perform initial sorting based on morton code?
// creates the required spaces with zero particles (empty).
method empty;
// maximum number of particles in the simulation
maxNumberOfParticles 20050;
// perform initial sorting based on morton code?
mortonSorting Yes;
}

View File

@ -2,35 +2,35 @@
| phasicFlow File |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
objectName settingsDict;
objectType dictionary;;
/*---------------------------------------------------------------------------*/
run RotatingDrumwithBaffles;
run layerdSiloFilling;
// time step for integration (s)
dt 0.00001;
// start time for simulation
startTime 0;
// end time for simulation
endTime 10;
// time interval for saving the simulation
saveInterval 0.05;
// maximum number of digits for time folder
timePrecision 6;
// gravity vector (m/s2)
g (0 -9.8 0);
dt 0.00001; // time step for integration (s)
startTime 0; // start time for simulation
endTime 10; // end time for simulation
saveInterval 0.05; // time interval for saving the simulation
timePrecision 6; // maximum number of digits for time folder
g (0 -9.8 0); // gravity vector (m/s2)
/*
Simulation domain
every particles that goes outside this domain is deleted.
*/
/*Simulation domain*/
/* Every particles that goes outside this domain is deleted.*/
domain
{
min (-0.328 0.095 -0.025);
max (-0.068 0.355 0.125);
}
integrationMethod AdamsBashforth3; // integration method
timersReport Yes; // report timers?
timersReportInterval 0.01; // time interval for reporting timers
// integration method
integrationMethod AdamsBashforth3;
// report timers?
timersReport Yes;
// time interval for reporting timers
timersReportInterval 0.01;

File diff suppressed because it is too large Load Diff