comments are implemented.
This commit is contained in:
parent
e5c11cfea3
commit
a5074e4eb7
|
@ -28,19 +28,19 @@ In file `settings/geometryDict` the information of rotating axis and speed of ro
|
|||
// information for rotatingAxisMotion motion model
|
||||
rotatingAxisInfo
|
||||
{
|
||||
axisOfRotation
|
||||
{
|
||||
p1 (-0.1 0.0 0.15); // first point for the axis of rotation
|
||||
p2 ( 0.1 0.0 0.15); // second point for the axis of rotation
|
||||
axisOfRotation
|
||||
{
|
||||
p1 (-0.1 0.0 0.15); // first point for the axis of rotation
|
||||
p2 ( 0.1 0.0 0.15); // second point for the axis of rotation
|
||||
|
||||
omega 1.5708; // rotation speed ==> 15 rad/s
|
||||
omega 1.5708; // rotation speed ==> 15 rad/s
|
||||
|
||||
// Start time of Geometry Rotating (s)
|
||||
startTime 0.5;
|
||||
startTime 0.5;
|
||||
|
||||
// End time of Geometry Rotating (s)
|
||||
endTime 9.5;
|
||||
}
|
||||
endTime 9.5;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -51,195 +51,191 @@ In `settings/geometryDict` file, the surfaces and motion component of each surfa
|
|||
```C++
|
||||
surfaces
|
||||
{
|
||||
topGate
|
||||
{
|
||||
// type of wall
|
||||
type cylinderWall;
|
||||
|
||||
topGate
|
||||
{
|
||||
// type of wall
|
||||
type cylinderWall;
|
||||
// begin point of cylinder axis
|
||||
p1 (0.0 0.0 0.3);
|
||||
|
||||
// begin point of cylinder axis
|
||||
p1 (0.0 0.0 0.3);
|
||||
// end point of cylinder axis
|
||||
p2 (0.0 0.0 0.301);
|
||||
|
||||
// end point of cylinder axis
|
||||
p2 (0.0 0.0 0.301);
|
||||
// radius at p1
|
||||
radius1 0.03;
|
||||
|
||||
// radius at p1
|
||||
radius1 0.03;
|
||||
// radius at p2
|
||||
radius2 0.0001;
|
||||
|
||||
// radius at p2
|
||||
radius2 0.0001;
|
||||
// material of wall
|
||||
material solidProperty;
|
||||
|
||||
// material of wall
|
||||
material solidProperty;
|
||||
// motion component name
|
||||
motion axisOfRotation;
|
||||
}
|
||||
|
||||
// motion component name
|
||||
motion axisOfRotation;
|
||||
}
|
||||
topCylinder
|
||||
{
|
||||
// type of the wall
|
||||
type cylinderWall;
|
||||
|
||||
topCylinder
|
||||
{
|
||||
// type of the wall
|
||||
type cylinderWall;
|
||||
// begin point of cylinder axis
|
||||
p1 (0.0 0.0 0.28);
|
||||
|
||||
// begin point of cylinder axis
|
||||
p1 (0.0 0.0 0.28);
|
||||
// end point of cylinder axis
|
||||
p2 (0.0 0.0 0.3);
|
||||
|
||||
// end point of cylinder axis
|
||||
p2 (0.0 0.0 0.3);
|
||||
// radius at p1
|
||||
radius1 0.03;
|
||||
|
||||
// radius at p1
|
||||
radius1 0.03;
|
||||
// radius at p2
|
||||
radius2 0.03;
|
||||
|
||||
// radius at p2
|
||||
radius2 0.03;
|
||||
// number of divisions
|
||||
resolution 36;
|
||||
|
||||
// number of divisions
|
||||
resolution 36;
|
||||
// material name of this wall
|
||||
material solidProperty;
|
||||
|
||||
// material name of this wall
|
||||
material solidProperty;
|
||||
// motion component name
|
||||
motion axisOfRotation;
|
||||
}
|
||||
|
||||
// motion component name
|
||||
motion axisOfRotation;
|
||||
}
|
||||
coneShelltop
|
||||
{
|
||||
// type of the wall
|
||||
type cylinderWall;
|
||||
|
||||
coneShelltop
|
||||
{
|
||||
// type of the wall
|
||||
type cylinderWall;
|
||||
// begin point of cylinder axis
|
||||
p1 (0.0 0.0 0.2);
|
||||
|
||||
// begin point of cylinder axis
|
||||
p1 (0.0 0.0 0.2);
|
||||
// end point of cylinder axis
|
||||
p2 (0.0 0.0 0.28);
|
||||
|
||||
// end point of cylinder axis
|
||||
p2 (0.0 0.0 0.28);
|
||||
// radius at p1
|
||||
radius1 0.1;
|
||||
|
||||
// radius at p1
|
||||
radius1 0.1;
|
||||
// radius at p2
|
||||
radius2 0.03;
|
||||
|
||||
// radius at p2
|
||||
radius2 0.03;
|
||||
// number of divisions
|
||||
resolution 36;
|
||||
|
||||
// number of divisions
|
||||
resolution 36;
|
||||
// material name of this wall
|
||||
material solidProperty;
|
||||
|
||||
// material name of this wall
|
||||
material solidProperty;
|
||||
// motion component name
|
||||
motion axisOfRotation;
|
||||
}
|
||||
|
||||
// motion component name
|
||||
motion axisOfRotation;
|
||||
}
|
||||
cylinderShell
|
||||
{
|
||||
// type of the wall
|
||||
type cylinderWall;
|
||||
|
||||
cylinderShell
|
||||
{
|
||||
// type of the wall
|
||||
type cylinderWall;
|
||||
// begin point of cylinder axis
|
||||
p1 (0.0 0.0 0.1);
|
||||
|
||||
// begin point of cylinder axis
|
||||
p1 (0.0 0.0 0.1);
|
||||
// end point of cylinder axis
|
||||
p2 (0.0 0.0 0.2);
|
||||
|
||||
// end point of cylinder axis
|
||||
p2 (0.0 0.0 0.2);
|
||||
// radius at p1
|
||||
radius1 0.1;
|
||||
|
||||
// radius at p1
|
||||
radius1 0.1;
|
||||
// radius at p2
|
||||
radius2 0.1;
|
||||
|
||||
// radius at p2
|
||||
radius2 0.1;
|
||||
// number of divisions
|
||||
resolution 36;
|
||||
|
||||
// number of divisions
|
||||
resolution 36;
|
||||
// material name of this wall
|
||||
material solidProperty;
|
||||
|
||||
// material name of this wall
|
||||
material solidProperty;
|
||||
// motion component name
|
||||
motion axisOfRotation;
|
||||
}
|
||||
|
||||
// motion component name
|
||||
motion axisOfRotation;
|
||||
}
|
||||
coneShelldown
|
||||
{
|
||||
// type of the wall
|
||||
type cylinderWall;
|
||||
|
||||
coneShelldown
|
||||
{
|
||||
// begin point of cylinder axis
|
||||
p1 (0.0 0.0 0.02);
|
||||
|
||||
// type of the wall
|
||||
type cylinderWall;
|
||||
// end point of cylinder axis
|
||||
p2 (0.0 0.0 0.1);
|
||||
|
||||
// begin point of cylinder axis
|
||||
p1 (0.0 0.0 0.02);
|
||||
// radius at p1
|
||||
radius1 0.03;
|
||||
|
||||
// end point of cylinder axis
|
||||
p2 (0.0 0.0 0.1);
|
||||
// radius at p2
|
||||
radius2 0.1;
|
||||
|
||||
// radius at p1
|
||||
radius1 0.03;
|
||||
// number of divisions
|
||||
resolution 36;
|
||||
|
||||
// radius at p2
|
||||
radius2 0.1;
|
||||
// material name of this wall
|
||||
material solidProperty;
|
||||
|
||||
// number of divisions
|
||||
resolution 36;
|
||||
// motion component name
|
||||
motion axisOfRotation;
|
||||
}
|
||||
|
||||
// material name of this wall
|
||||
material solidProperty;
|
||||
bottomCylinder
|
||||
{
|
||||
// type of the wall
|
||||
type cylinderWall;
|
||||
|
||||
// motion component name
|
||||
motion axisOfRotation;
|
||||
}
|
||||
// begin point of cylinder axis
|
||||
p1 (0.0 0.0 0.0);
|
||||
|
||||
bottomCylinder
|
||||
{
|
||||
// type of the wall
|
||||
type cylinderWall;
|
||||
// end point of cylinder axis
|
||||
p2 (0.0 0.0 0.02);
|
||||
|
||||
// begin point of cylinder axis
|
||||
p1 (0.0 0.0 0.0);
|
||||
// radius at p1
|
||||
radius1 0.03;
|
||||
|
||||
// end point of cylinder axis
|
||||
p2 (0.0 0.0 0.02);
|
||||
// radius at p2
|
||||
radius2 0.03;
|
||||
|
||||
// radius at p1
|
||||
radius1 0.03;
|
||||
// number of divisions
|
||||
resolution 36;
|
||||
|
||||
// radius at p2
|
||||
radius2 0.03;
|
||||
// material name of this wall
|
||||
material solidProperty;
|
||||
|
||||
// number of divisions
|
||||
resolution 36;
|
||||
// motion component name
|
||||
motion axisOfRotation;
|
||||
}
|
||||
|
||||
// material name of this wall
|
||||
material solidProperty;
|
||||
exitGate
|
||||
{
|
||||
// type of the wall
|
||||
type cylinderWall;
|
||||
|
||||
// motion component name
|
||||
motion axisOfRotation;
|
||||
}
|
||||
// begin point of cylinder axis
|
||||
p1 (0.0 0.0 -0.001);
|
||||
|
||||
exitGate
|
||||
{
|
||||
// end point of cylinder axis
|
||||
p2 (0.0 0.0 0.0);
|
||||
|
||||
// type of the wall
|
||||
type cylinderWall;
|
||||
// radius at p1
|
||||
radius1 0.03;
|
||||
|
||||
// begin point of cylinder axis
|
||||
p1 (0.0 0.0 -0.001);
|
||||
// radius at p2
|
||||
radius2 0.0001;
|
||||
|
||||
// end point of cylinder axis
|
||||
p2 (0.0 0.0 0.0);
|
||||
// number of divisions
|
||||
resolution 36;
|
||||
|
||||
// radius at p1
|
||||
radius1 0.03;
|
||||
|
||||
// radius at p2
|
||||
radius2 0.0001;
|
||||
|
||||
// number of divisions
|
||||
resolution 36;
|
||||
|
||||
// material name of this wall
|
||||
material solidProperty;
|
||||
|
||||
// motion component name
|
||||
motion axisOfRotation;
|
||||
}
|
||||
// material name of this wall
|
||||
material solidProperty;
|
||||
|
||||
// motion component name
|
||||
motion axisOfRotation;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -272,31 +268,33 @@ in <b>settings/particlesDict</b> file
|
|||
// positions particles
|
||||
positionParticles
|
||||
{
|
||||
// ordered positioning
|
||||
method ordered;
|
||||
// perform initial sorting based on morton code
|
||||
mortonSorting Yes;
|
||||
orderedInfo
|
||||
{
|
||||
// minimum space between centers of particles
|
||||
diameter 0.005;
|
||||
// ordered positioning
|
||||
method ordered;
|
||||
|
||||
// number of particles in the simulation
|
||||
numPoints 24000;
|
||||
// perform initial sorting based on morton code
|
||||
mortonSorting Yes;
|
||||
|
||||
// axis order for filling the space with particles
|
||||
axisOrder (x y z);
|
||||
}
|
||||
orderedInfo
|
||||
{
|
||||
// minimum space between centers of particles
|
||||
diameter 0.005;
|
||||
|
||||
// number of particles in the simulation
|
||||
numPoints 24000;
|
||||
|
||||
// axis order for filling the space with particles
|
||||
axisOrder (x y z);
|
||||
}
|
||||
|
||||
regionType cylinder; // other options: box and sphere
|
||||
|
||||
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)
|
||||
|
||||
radius 0.09; // radius of cylinder
|
||||
radius 0.09; // radius of cylinder
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -314,31 +312,31 @@ contactListType sortedContactList;
|
|||
|
||||
model
|
||||
{
|
||||
contactForceModel nonLinearNonLimited;
|
||||
contactForceModel nonLinearNonLimited;
|
||||
|
||||
rollingFrictionModel normal;
|
||||
rollingFrictionModel normal;
|
||||
|
||||
/*
|
||||
Property (solidProperty-solidProperty);
|
||||
*/
|
||||
/*
|
||||
Property (solidProperty-solidProperty);
|
||||
*/
|
||||
|
||||
// Young modulus [Pa]
|
||||
Yeff (1.0e6);
|
||||
// Young modulus [Pa]
|
||||
Yeff (1.0e6);
|
||||
|
||||
// Shear modulus [Pa]
|
||||
Geff (0.8e6);
|
||||
// Shear modulus [Pa]
|
||||
Geff (0.8e6);
|
||||
|
||||
// Poisson's ratio [-]
|
||||
nu (0.25);
|
||||
// Poisson's ratio [-]
|
||||
nu (0.25);
|
||||
|
||||
// coefficient of normal restitution
|
||||
en (0.7);
|
||||
// coefficient of normal restitution
|
||||
en (0.7);
|
||||
|
||||
// dynamic friction
|
||||
mu (0.3);
|
||||
// dynamic friction
|
||||
mu (0.3);
|
||||
|
||||
// rolling friction
|
||||
mur (0.1);
|
||||
// rolling friction
|
||||
mur (0.1);
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -27,24 +27,24 @@ contactSearch
|
|||
|
||||
model
|
||||
{
|
||||
contactForceModel nonLinearNonLimited;
|
||||
contactForceModel nonLinearNonLimited;
|
||||
|
||||
rollingFrictionModel normal;
|
||||
rollingFrictionModel normal;
|
||||
|
||||
/*
|
||||
Property (solidProperty-solidProperty)
|
||||
*/
|
||||
/*
|
||||
Property (solidProperty-solidProperty)
|
||||
*/
|
||||
|
||||
Yeff (1.0e6); // Young modulus [Pa]
|
||||
Yeff (1.0e6); // Young modulus [Pa]
|
||||
|
||||
Geff (0.8e6); // Shear modulus [Pa]
|
||||
Geff (0.8e6); // Shear modulus [Pa]
|
||||
|
||||
nu (0.25); // Poisson's ratio [-]
|
||||
nu (0.25); // Poisson's ratio [-]
|
||||
|
||||
en (0.7); // coefficient of normal restitution
|
||||
en (0.7); // coefficient of normal restitution
|
||||
|
||||
mu (0.3); // dynamic friction
|
||||
mu (0.3); // dynamic friction
|
||||
|
||||
mur (0.1); // rolling friction
|
||||
mur (0.1); // rolling friction
|
||||
}
|
||||
|
||||
|
|
|
@ -23,26 +23,26 @@ boundaries
|
|||
|
||||
right
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
type exit; // other options: periodic, reflective
|
||||
}
|
||||
|
||||
bottom
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
type exit; // other options: periodic, reflective
|
||||
}
|
||||
|
||||
top
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
type exit; // other options: periodic, reflective
|
||||
}
|
||||
|
||||
rear
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
type exit; // other options: periodic, reflective
|
||||
}
|
||||
|
||||
front
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
type exit; // other options: periodic, reflective
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ motionModel rotatingAxis; // motion model: rotating objec
|
|||
|
||||
rotatingAxisInfo // information for rotatingAxisMotion motion model
|
||||
{
|
||||
axisOfRotation
|
||||
axisOfRotation
|
||||
{
|
||||
p1 (-0.1 0.0 0.15); // first point for the axis of rotation
|
||||
|
||||
|
|
|
@ -16,9 +16,9 @@ setFields
|
|||
spherical particles.
|
||||
*/
|
||||
|
||||
defaultValue
|
||||
defaultValue
|
||||
{
|
||||
velocity realx3 (0 0 0); // linear velocity (m/s)
|
||||
velocity realx3 (0 0 0); // linear velocity (m/s)
|
||||
|
||||
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
|
||||
|
||||
|
@ -28,26 +28,7 @@ setFields
|
|||
}
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue