tutorials revised for binray IO addition

This commit is contained in:
Hamidreza Norouzi
2023-04-11 23:09:49 -07:00
parent 57fd66a502
commit bc58a4f05c
52 changed files with 150 additions and 61 deletions

View File

@ -4,7 +4,8 @@
\* ------------------------------------------------------------------------- */
objectName geometryDict;
objectType dictionary;
/* ------------------------------------------------------------------------- */
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
// motion model: all surfaces are fixed
motionModel rotatingAxisMotion;

View File

@ -4,7 +4,9 @@
\* ------------------------------------------------------------------------- */
objectName particlesDict;
objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
setFields
{
defaultValue

View File

@ -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;