mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
iterateGeometry tutorial added
This commit is contained in:
@ -0,0 +1,66 @@
|
||||
/* -------------------------------*- C++ -*--------------------------------- *\
|
||||
| phasicFlow File |
|
||||
| copyright: www.cemf.ir |
|
||||
\* ------------------------------------------------------------------------- */
|
||||
|
||||
objectName geometryDict;
|
||||
objectType dictionary;
|
||||
|
||||
// motion model: rotating object around an axis
|
||||
motionModel rotatingAxisMotion;
|
||||
|
||||
surfaces
|
||||
{
|
||||
|
||||
rod
|
||||
{
|
||||
type stlWall; // type of the wall
|
||||
file rod.stl; // file name in stl folder
|
||||
material wallMat; // material name of this wall
|
||||
motion rotAxis; // motion component name
|
||||
}
|
||||
|
||||
helix
|
||||
{
|
||||
type stlWall; // type of the wall
|
||||
file helix.stl; // file name in stl folder
|
||||
material wallMat; // material name of this wall
|
||||
motion rotAxis; // motion component name
|
||||
}
|
||||
|
||||
shell
|
||||
{
|
||||
type stlWall; // type of the wall
|
||||
file shell.stl; // file name in stl folder
|
||||
material wallMat; // material name of this wall
|
||||
motion none; // motion component name
|
||||
}
|
||||
|
||||
leg
|
||||
{
|
||||
type stlWall; // type of the wall
|
||||
file leg.stl; // file name in stl folder
|
||||
material wallMat; // material name of this wall
|
||||
motion none; // motion component name
|
||||
}
|
||||
|
||||
uHolder
|
||||
{
|
||||
type stlWall; // type of the wall
|
||||
file uHolder.stl; // file name in stl folder
|
||||
material wallMat; // material name of this wall
|
||||
motion none; // motion component name
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// information for rotatingAxisMotion motion model
|
||||
rotatingAxisMotionInfo
|
||||
{
|
||||
rotAxis
|
||||
{
|
||||
p1 (8.352123e-02 3.080132e-01 1.795780e-01); // first point for the axis of rotation
|
||||
p2 (3.394805e+00 1.861538e+00 1.795780e-01); // second point for the axis of rotation
|
||||
omega 3.1428; // rotation speed (rad/s) => 30 rpm
|
||||
}
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
/* -------------------------------*- C++ -*--------------------------------- *\
|
||||
| phasicFlow File |
|
||||
| copyright: www.cemf.ir |
|
||||
\* ------------------------------------------------------------------------- */
|
||||
objectName settingsDict;
|
||||
objectType dictionary;;
|
||||
|
||||
run inclinedScrewConveyor;
|
||||
|
||||
dt 0.0001; // time step for integration (s)
|
||||
|
||||
startTime 0; // start time for simulation
|
||||
|
||||
endTime 10; // end time for simulation
|
||||
|
||||
saveInterval 0.1; // 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.
|
||||
*/
|
||||
domain
|
||||
{
|
||||
min (-0.1 -0.1 -0.1);
|
||||
max (0.1 0.1 0.1);
|
||||
}
|
||||
|
||||
integrationMethod AdamsBashforth2; // integration method
|
||||
|
||||
timersReport Yes; // report timers?
|
||||
|
||||
timersReportInterval 0.01; // time interval for reporting timers
|
Reference in New Issue
Block a user