binarySystemOfParticles is Updated.
This commit is contained in:
parent
9f489d07cc
commit
7e7184f1c5
|
@ -28,8 +28,8 @@ in <b>caseSetup/sphereShape</b> file
|
||||||
|
|
||||||
```C++
|
```C++
|
||||||
names (smallSphere largeSphere); // names of shapes
|
names (smallSphere largeSphere); // names of shapes
|
||||||
diameters (0.003 0.005); // diameter of shapes (m)
|
diameters (0.003 0.005); // diameter of shapes (m)
|
||||||
materials (prop1 prop1); // material names for shapes
|
materials (prop1 prop1); // material names for shapes
|
||||||
```
|
```
|
||||||
### Positioning and initial mixture
|
### Positioning and initial mixture
|
||||||
|
|
||||||
|
@ -44,18 +44,17 @@ in <b>settings/particlesDict</b> file
|
||||||
// positions particles
|
// positions particles
|
||||||
positionParticles
|
positionParticles
|
||||||
{
|
{
|
||||||
method ordered; // other options: random or empty
|
method ordered; // other options: random or empty
|
||||||
|
|
||||||
orderedInfo
|
orderedInfo
|
||||||
{
|
{
|
||||||
diameter 0.005; // minimum space between centers of particles
|
diameter 0.005; // minimum space between centers of particles
|
||||||
numPoints 30000; // number of particles in the simulation
|
numPoints 30000; // number of particles in the simulation
|
||||||
axisOrder (z x y); // axis order for filling the space with particles
|
axisOrder (z x y); // axis order for filling the space with particles
|
||||||
}
|
}
|
||||||
|
|
||||||
regionType cylinder; // other options: box and sphere
|
regionType cylinder; // other options: box and sphere
|
||||||
|
|
||||||
cylinder // cylinder region for positioning particles
|
cylinder // cylinder region for positioning particles
|
||||||
{
|
{
|
||||||
p1 (0.0 0.0 0.003); // begin point of cylinder axis (m m m)
|
p1 (0.0 0.0 0.003); // begin point of cylinder axis (m m m)
|
||||||
p2 (0.0 0.0 0.097); // end point of cylinder axis (m m m)
|
p2 (0.0 0.0 0.097); // end point of cylinder axis (m m m)
|
||||||
|
@ -76,9 +75,9 @@ setFields
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
Default value for fields defined for particles
|
Default value for fields defined for particles
|
||||||
These fields should always be defined for simulations with
|
These fields should always be defined for simulations with
|
||||||
spherical particles.
|
spherical particles.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
defaultValue
|
defaultValue
|
||||||
{
|
{
|
||||||
|
@ -92,15 +91,16 @@ setFields
|
||||||
{
|
{
|
||||||
shapeAssigne
|
shapeAssigne
|
||||||
{
|
{
|
||||||
selector stridedRange; // other options: box, cylinder, sphere, randomPoints
|
selector stridedRange; // other options: box, cylinder, sphere, randomPoints
|
||||||
|
|
||||||
stridedRangeInfo
|
stridedRangeInfo
|
||||||
{
|
{
|
||||||
begin 0; // begin index of points
|
begin 0; // begin index of points
|
||||||
end 30000; // end index of points
|
end 30000; // end index of points
|
||||||
stride 3; // stride for selector
|
stride 3; // stride for selector
|
||||||
}
|
}
|
||||||
fieldValue // fields that the selector is applied to
|
|
||||||
|
fieldValue // fields that the selector is applied to
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
sets shapeName of the selected points to largeSphere
|
sets shapeName of the selected points to largeSphere
|
||||||
|
|
|
@ -6,9 +6,9 @@ objectName interaction;
|
||||||
objectType dicrionary;
|
objectType dicrionary;
|
||||||
fileFormat ASCII;
|
fileFormat ASCII;
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
materials (prop1); // properties of material
|
materials (prop1); // properties of material
|
||||||
|
|
||||||
densities (1000.0); // density of materials [kg/m3]
|
densities (1000.0); // density of materials [kg/m3]
|
||||||
|
|
||||||
contactListType sortedContactList;
|
contactListType sortedContactList;
|
||||||
|
|
||||||
|
@ -38,14 +38,14 @@ model
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
et (1.0); // coefficient of tangential restitution
|
et (1.0); // coefficient of tangential restitution
|
||||||
|
|
||||||
mu (0.3); // dynamic friction
|
mu (0.3); // dynamic friction
|
||||||
|
|
||||||
mur (0.1); // rolling friction
|
mur (0.1); // rolling friction
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -26,19 +26,19 @@ surfaces
|
||||||
{
|
{
|
||||||
type cylinderWall; // other options: cuboidWall and planeWall
|
type cylinderWall; // other options: cuboidWall and planeWall
|
||||||
|
|
||||||
p1 (0.0 0.0 0.0); // begin point of cylinder axis
|
p1 (0.0 0.0 0.0); // begin point of cylinder axis
|
||||||
|
|
||||||
p2 (0.0 0.0 0.1); // end point of cylinder axis
|
p2 (0.0 0.0 0.1); // end point of cylinder axis
|
||||||
|
|
||||||
radius1 0.12; // radius at p1
|
radius1 0.12; // radius at p1
|
||||||
|
|
||||||
radius2 0.12; // radius at p2
|
radius2 0.12; // radius at p2
|
||||||
|
|
||||||
resolution 24; // number of divisions
|
resolution 24; // number of divisions
|
||||||
|
|
||||||
material prop1; // material name of this wall
|
material prop1; // material name of this wall
|
||||||
|
|
||||||
motion rotAxis; // motion component name
|
motion rotAxis; // motion component name
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -29,20 +29,20 @@ setFields
|
||||||
{
|
{
|
||||||
shapeAssigne
|
shapeAssigne
|
||||||
{
|
{
|
||||||
selector stridedRange; // other options: box, cylinder, sphere, randomPoints
|
selector stridedRange; // other options: box, cylinder, sphere, randomPoints
|
||||||
|
|
||||||
stridedRangeInfo
|
stridedRangeInfo
|
||||||
{
|
{
|
||||||
begin 0; // begin index of points
|
begin 0; // begin index of points
|
||||||
|
|
||||||
end 30000; // end index of points
|
end 30000; // end index of points
|
||||||
|
|
||||||
stride 3; // stride for selector
|
stride 3; // stride for selector
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldValue // fields that the selector is applied to
|
fieldValue // fields that the selector is applied to
|
||||||
{
|
{
|
||||||
shapeName word largeSphere; // sets shapeName of the selected points to largeSphere
|
shapeName word largeSphere; // sets shapeName of the selected points to largeSphere
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -50,13 +50,13 @@ setFields
|
||||||
|
|
||||||
positionParticles // positions particles
|
positionParticles // positions particles
|
||||||
{
|
{
|
||||||
method ordered; // other options: random and empty
|
method ordered; // other options: random and empty
|
||||||
|
|
||||||
orderedInfo
|
orderedInfo
|
||||||
{
|
{
|
||||||
diameter 0.005; // diameter of particles
|
diameter 0.005; // diameter of particles
|
||||||
|
|
||||||
numPoints 30000; // number of particles in the simulation
|
numPoints 30000; // number of particles in the simulation
|
||||||
|
|
||||||
axisOrder (z x y); // axis order for filling the space with particles
|
axisOrder (z x y); // axis order for filling the space with particles
|
||||||
}
|
}
|
||||||
|
@ -69,6 +69,6 @@ positionParticles // positions particles
|
||||||
|
|
||||||
p2 (0.0 0.0 0.097); // end point of cylinder axis
|
p2 (0.0 0.0 0.097); // end point of cylinder axis
|
||||||
|
|
||||||
radius 0.117; // radius of cylinder
|
radius 0.117; // radius of cylinder
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue