mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
Tutorial binarySystemOfParticles are modified based on version 1.x
This commit is contained in:
@ -6,36 +6,33 @@ objectName settingsDict;
|
||||
objectType dictionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
run binarySystemofParticles;
|
||||
|
||||
dt 0.00001; // time step for integration (s)
|
||||
dt 0.00001; // time step for integration (s)
|
||||
|
||||
startTime 0; // start time for simulation
|
||||
startTime 0; // start time for simulation
|
||||
|
||||
endTime 10; // end time for simulation
|
||||
endTime 10; // end time for simulation
|
||||
|
||||
saveInterval 0.1; // time interval for saving the simulation
|
||||
saveInterval 0.1; // time interval for saving the simulation
|
||||
|
||||
timePrecision 6; // maximum number of digits for time folder
|
||||
timePrecision 6; // maximum number of digits for time folder
|
||||
|
||||
g (0 -9.8 0); // gravity vector (m/s2)
|
||||
g (0 -9.8 0); // gravity vector (m/s2)
|
||||
|
||||
/*
|
||||
Simulation domain
|
||||
every particles that goes outside this domain is deleted.
|
||||
Simulation domain every particles that goes outside this domain is deleted
|
||||
*/
|
||||
domain
|
||||
{
|
||||
min (-0.12 -0.12 0);
|
||||
max (0.12 0.12 0.1);
|
||||
}
|
||||
|
||||
integrationMethod AdamsBashforth2; // integration method
|
||||
// save necessary (i.e., required) data on disk
|
||||
includeObjects (diameter);
|
||||
// exclude unnecessary data from saving on disk
|
||||
excludeObjects (rVelocity.dy1 pStructPosition.dy1 pStructVelocity.dy1);
|
||||
|
||||
writeFormat ascii;
|
||||
integrationMethod AdamsBashforth2; // integration method
|
||||
|
||||
timersReport Yes; // report timers?
|
||||
writeFormat ascii; // data writting format (ascii or binary)
|
||||
|
||||
timersReportInterval 0.01; // time interval for reporting timers
|
||||
timersReport Yes; // report timers
|
||||
|
||||
timersReportInterval 0.01; // time interval for reporting timers
|
||||
|
Reference in New Issue
Block a user