mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
toteBlender for v-1.0
This commit is contained in:
50
tutorials/sphereGranFlow/toteBlender/settings/domainDict
Executable file
50
tutorials/sphereGranFlow/toteBlender/settings/domainDict
Executable file
@ -0,0 +1,50 @@
|
||||
/* -------------------------------*- C++ -*--------------------------------- *\
|
||||
| phasicFlow File |
|
||||
| copyright: www.cemf.ir |
|
||||
\* ------------------------------------------------------------------------- */
|
||||
objectName domainDict;
|
||||
objectType dictionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
// Simulation domain: every particles that goes outside this domain will be deleted
|
||||
globalBox
|
||||
{
|
||||
min (-0.3 -0.3 -0.3); // lower corner point of the box
|
||||
|
||||
max ( 0.5 0.5 0.5); // upper corner point of the box
|
||||
}
|
||||
|
||||
boundaries
|
||||
{
|
||||
|
||||
left
|
||||
{
|
||||
type exit;
|
||||
}
|
||||
|
||||
right
|
||||
{
|
||||
type exit;
|
||||
}
|
||||
|
||||
bottom
|
||||
{
|
||||
type exit;
|
||||
}
|
||||
|
||||
top
|
||||
{
|
||||
type exit;
|
||||
}
|
||||
|
||||
rear
|
||||
{
|
||||
type exit;
|
||||
}
|
||||
|
||||
front
|
||||
{
|
||||
type exit;
|
||||
}
|
||||
}
|
160
tutorials/sphereGranFlow/toteBlender/settings/geometryDict
Normal file
160
tutorials/sphereGranFlow/toteBlender/settings/geometryDict
Normal file
@ -0,0 +1,160 @@
|
||||
/* -------------------------------*- C++ -*--------------------------------- *\
|
||||
| phasicFlow File |
|
||||
| copyright: www.cemf.ir |
|
||||
\* ------------------------------------------------------------------------- */
|
||||
objectName geometryDict;
|
||||
objectType dictionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
motionModel rotatingAxis;
|
||||
|
||||
rotatingAxisInfo
|
||||
{
|
||||
axisOfRotation
|
||||
{
|
||||
p1 (-0.1 0.0 0.15);
|
||||
|
||||
p2 ( 0.1 0.0 0.15);
|
||||
|
||||
omega 1.5708;
|
||||
|
||||
startTime 0.5;
|
||||
|
||||
endTime 9.5;
|
||||
}
|
||||
}
|
||||
|
||||
surfaces
|
||||
{
|
||||
topGate
|
||||
{
|
||||
type cylinderWall; // type of wall
|
||||
|
||||
p1 (0.0 0.0 0.3); // begin point of cylinder axis
|
||||
|
||||
p2 (0.0 0.0 0.301); // end point of cylinder axis
|
||||
|
||||
radius1 0.03; // radius at p1
|
||||
|
||||
radius2 0.0001; // radius at p2
|
||||
|
||||
material solidProperty; // material of wall
|
||||
|
||||
motion axisOfRotation;
|
||||
}
|
||||
|
||||
topCylinder
|
||||
{
|
||||
type cylinderWall;
|
||||
|
||||
p1 (0.0 0.0 0.28);
|
||||
|
||||
p2 (0.0 0.0 0.3);
|
||||
|
||||
radius1 0.03;
|
||||
|
||||
radius2 0.03;
|
||||
|
||||
resolution 36;
|
||||
|
||||
material solidProperty;
|
||||
|
||||
motion axisOfRotation;
|
||||
}
|
||||
|
||||
coneShelltop
|
||||
{
|
||||
type cylinderWall;
|
||||
|
||||
p1 (0.0 0.0 0.2);
|
||||
|
||||
p2 (0.0 0.0 0.28);
|
||||
|
||||
radius1 0.1;
|
||||
|
||||
radius2 0.03;
|
||||
|
||||
resolution 36;
|
||||
|
||||
material solidProperty;
|
||||
|
||||
motion axisOfRotation;
|
||||
}
|
||||
|
||||
cylinderShell
|
||||
{
|
||||
type cylinderWall;
|
||||
|
||||
p1 (0.0 0.0 0.1);
|
||||
|
||||
p2 (0.0 0.0 0.2);
|
||||
|
||||
radius1 0.1;
|
||||
|
||||
radius2 0.1;
|
||||
|
||||
resolution 36;
|
||||
|
||||
material solidProperty;
|
||||
|
||||
motion axisOfRotation;
|
||||
}
|
||||
|
||||
coneShelldown
|
||||
{
|
||||
type cylinderWall;
|
||||
|
||||
p1 (0.0 0.0 0.02);
|
||||
|
||||
p2 (0.0 0.0 0.1);
|
||||
|
||||
radius1 0.03;
|
||||
|
||||
radius2 0.1;
|
||||
|
||||
resolution 36;
|
||||
|
||||
material solidProperty;
|
||||
|
||||
motion axisOfRotation;
|
||||
}
|
||||
|
||||
bottomCylinder
|
||||
{
|
||||
type cylinderWall;
|
||||
|
||||
p1 (0.0 0.0 0.0);
|
||||
|
||||
p2 (0.0 0.0 0.02);
|
||||
|
||||
radius1 0.03;
|
||||
|
||||
radius2 0.03;
|
||||
|
||||
resolution 36;
|
||||
|
||||
material solidProperty;
|
||||
|
||||
motion axisOfRotation;
|
||||
}
|
||||
|
||||
exitGate
|
||||
{
|
||||
type cylinderWall;
|
||||
|
||||
p1 (0.0 0.0 -0.001);
|
||||
|
||||
p2 (0.0 0.0 0.0);
|
||||
|
||||
radius1 0.03;
|
||||
|
||||
radius2 0.0001;
|
||||
|
||||
resolution 36;
|
||||
|
||||
material solidProperty;
|
||||
|
||||
motion axisOfRotation;
|
||||
}
|
||||
}
|
58
tutorials/sphereGranFlow/toteBlender/settings/particlesDict
Normal file
58
tutorials/sphereGranFlow/toteBlender/settings/particlesDict
Normal file
@ -0,0 +1,58 @@
|
||||
/* -------------------------------*- C++ -*--------------------------------- *\
|
||||
| phasicFlow File |
|
||||
| copyright: www.cemf.ir |
|
||||
\* ------------------------------------------------------------------------- */
|
||||
objectName particlesDict;
|
||||
objectType dictionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
setFields
|
||||
{
|
||||
/*
|
||||
Default value for fields defined for particles
|
||||
These fields should always be defined for simulations with
|
||||
spherical particles.
|
||||
*/
|
||||
defaultValue
|
||||
{
|
||||
velocity realx3 (0 0 0); // linear velocity (m/s)
|
||||
|
||||
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
|
||||
|
||||
rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
|
||||
|
||||
shapeName word sphere1; // name of the particle shape
|
||||
}
|
||||
|
||||
selectors
|
||||
{}
|
||||
}
|
||||
|
||||
positionParticles
|
||||
{
|
||||
|
||||
method ordered; // ordered positioning
|
||||
|
||||
mortonSorting Yes; // perform initial sorting based on morton code?
|
||||
|
||||
orderedInfo
|
||||
{
|
||||
diameter 0.005; // minimum space between centers of particles
|
||||
|
||||
numPoints 24000; // number of particles in the simulation
|
||||
|
||||
axisOrder (x y z); // axis order for filling the space with particles
|
||||
}
|
||||
|
||||
regionType cylinder; // other options: cylinder and sphere
|
||||
|
||||
cylinderInfo
|
||||
{
|
||||
p1 (0.0 0.0 0.09);
|
||||
|
||||
p2 (0.0 0.0 0.21);
|
||||
|
||||
radius 0.09; // radius of cylinder
|
||||
}
|
||||
}
|
35
tutorials/sphereGranFlow/toteBlender/settings/settingsDict
Normal file
35
tutorials/sphereGranFlow/toteBlender/settings/settingsDict
Normal file
@ -0,0 +1,35 @@
|
||||
/* -------------------------------*- C++ -*--------------------------------- *\
|
||||
| phasicFlow File |
|
||||
| copyright: www.cemf.ir |
|
||||
\* ------------------------------------------------------------------------- */
|
||||
objectName settingsDict;
|
||||
objectType dictionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
run toteBlender;
|
||||
|
||||
dt 0.00002; // 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 4; // maximum number of digits for time folder
|
||||
|
||||
g (0 0 -9.8); // gravity vector (m/s2)
|
||||
|
||||
// include/exclude fields for saving on disk
|
||||
includeObjects (diameter);
|
||||
|
||||
excludeObjects (rVelocity.dy1 pStructPosition.dy1 pStructVelocity.dy1);
|
||||
|
||||
integrationMethod AdamsBashforth2;
|
||||
|
||||
writeFormat ascii;
|
||||
|
||||
timersReport Yes;
|
||||
|
||||
timersReportInterval 0.05;
|
Reference in New Issue
Block a user