mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
tutorials revised for binray IO addition
This commit is contained in:
@ -4,7 +4,9 @@
|
||||
\* ------------------------------------------------------------------------- */
|
||||
objectName interaction;
|
||||
objectType dicrionary;
|
||||
/*----------------------------------------------------------------------------*/
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
// a list of materials names
|
||||
materials (lightMat heavyMat wallMat);
|
||||
// density of materials [kg/m3]
|
||||
|
@ -4,6 +4,7 @@
|
||||
\* ------------------------------------------------------------------------- */
|
||||
objectName particleInsertion;
|
||||
objectType dicrionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
// is insertion active?
|
||||
|
@ -4,7 +4,9 @@
|
||||
\* ------------------------------------------------------------------------- */
|
||||
objectName sphereDict;
|
||||
objectType sphereShape;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
// names of shapes
|
||||
names (smallSphere largeSphere);
|
||||
// diameter of shapes (m)
|
||||
|
@ -4,7 +4,8 @@
|
||||
\* ------------------------------------------------------------------------- */
|
||||
objectName geometryDict;
|
||||
objectType dictionary;
|
||||
/* ------------------------------------------------------------------------- */
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
// motion model: all surfaces are fixed
|
||||
motionModel rotatingAxisMotion;
|
||||
|
@ -4,7 +4,9 @@
|
||||
\* ------------------------------------------------------------------------- */
|
||||
objectName particlesDict;
|
||||
objectType dictionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
setFields
|
||||
{
|
||||
defaultValue
|
||||
|
@ -2,24 +2,30 @@
|
||||
| phasicFlow File |
|
||||
| copyright: www.cemf.ir |
|
||||
\* ------------------------------------------------------------------------- */
|
||||
|
||||
objectName settingsDict;
|
||||
objectType dictionary;;
|
||||
objectType dictionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
run RotatingDrumwithBaffles;
|
||||
|
||||
// time step for integration (s)
|
||||
dt 0.00001;
|
||||
dt 0.00001;
|
||||
|
||||
// start time for simulation
|
||||
startTime 0;
|
||||
startTime 0;
|
||||
|
||||
// end time for simulation
|
||||
endTime 10;
|
||||
endTime 10;
|
||||
|
||||
// time interval for saving the simulation
|
||||
saveInterval 0.05;
|
||||
saveInterval 0.05;
|
||||
|
||||
// maximum number of digits for time folder
|
||||
timePrecision 6;
|
||||
timePrecision 6;
|
||||
|
||||
// gravity vector (m/s2)
|
||||
g (0 -9.8 0);
|
||||
g (0 -9.8 0);
|
||||
|
||||
/*Simulation domain*/
|
||||
/* Every particles that goes outside this domain is deleted.*/
|
||||
@ -28,9 +34,15 @@ domain
|
||||
min (-0.328 0.095 -0.025);
|
||||
max (-0.068 0.355 0.125);
|
||||
}
|
||||
|
||||
// integration method
|
||||
integrationMethod AdamsBashforth3;
|
||||
integrationMethod AdamsBashforth3;
|
||||
|
||||
// binary or ascii for saving data
|
||||
writeFormat ascii;
|
||||
|
||||
// report timers?
|
||||
timersReport Yes;
|
||||
timersReport Yes;
|
||||
|
||||
// time interval for reporting timers
|
||||
timersReportInterval 0.01;
|
||||
timersReportInterval 0.01;
|
||||
|
Reference in New Issue
Block a user