AQUAgpusph 4.1.2
|
Simulation time flow options. More...
#include <ProblemSetup.h>
Data Fields | |
unsigned int | sim_end_mode |
Simulation finish criteria to apply. | |
float | sim_end_time |
Simulation finish time instant. | |
int | sim_end_step |
Total number of time steps to compute. | |
int | sim_end_frame |
Total number of output frames to write. | |
unsigned int | output_mode |
Particles output updating criteria to apply. | |
float | output_fps |
Particles output updating rate. | |
int | output_ipf |
Particles output updating rate. | |
unsigned int | dt_mode |
Time step \( \Delta t \) computation method. | |
Simulation time flow options.
This options are used to control the simulation time step, the output files frequency or the simulation finish criteria.
These setting are set between the following XML tags:
unsigned int Aqua::InputOutput::ProblemSetup::sphTimingParameters::dt_mode |
Time step \( \Delta t \) computation method.
The time step \( \Delta t \) can be computed in 3 ways (they cannot be combined):
This field can be set with the tag Option
, for instance:
<Option name="TimeStep" value="Variable" />
<Option name="TimeStep" value="Fixed" />
<Option name="TimeStep" value="0.1" />
float Aqua::InputOutput::ProblemSetup::sphTimingParameters::output_fps |
Particles output updating rate.
If __FPS_MODE__ is set in output_mode, the particles output will be updated this value times per second of simulations.
This field can be set with the tag Option
, for instance: <Option name="Output" type="FPS" value="120" />
int Aqua::InputOutput::ProblemSetup::sphTimingParameters::output_ipf |
Particles output updating rate.
If __IPF_MODE__ is set in output_mode, the particles output will be updated every time that this value of time steps is computed.
This field can be set with the tag Option
, for instance: <Option name="Output" type="IPF" value="10" />
unsigned int Aqua::InputOutput::ProblemSetup::sphTimingParameters::output_mode |
Particles output updating criteria to apply.
The particles output may be hard disk heavily demanding, hardly affecting the general program performance as well, therefore it is strongly recommended to try to write it as less often as possible
Must a combination of the following options:
This field can be set with the tag Option
, for instance:
<Option name="Output" type="FPS" value="120" />
<Option name="Output" type="IPF" value="10" />
int Aqua::InputOutput::ProblemSetup::sphTimingParameters::sim_end_frame |
Total number of output frames to write.
If __FRAME_MODE__ is set in sim_end_mode, the simulation will be stopped when this output frames are written.
This field can be set with the tag Option
, for instance: <Option name="End" type="Frames" value="10" />
unsigned int Aqua::InputOutput::ProblemSetup::sphTimingParameters::sim_end_mode |
Simulation finish criteria to apply.
Must a combination of the following options:
This field can be set with the tag Option
, for instance:
<Option name="End" type="Time" value="1.0" />
<Option name="End" type="Steps" value="10000" />
<Option name="End" type="Frames" value="10" />
int Aqua::InputOutput::ProblemSetup::sphTimingParameters::sim_end_step |
Total number of time steps to compute.
If __ITER_MODE__ is set in sim_end_mode, the simulation will be stopped when this simulation time steps are computed.
This field can be set with the tag Option
, for instance: <Option name="End" type="Steps" value="10000" />
float Aqua::InputOutput::ProblemSetup::sphTimingParameters::sim_end_time |
Simulation finish time instant.
If __TIME_MODE__ is set in sim_end_mode, the simulation will be stopped when this simulation time instant is reached.
This field can be set with the tag Option
, for instance: <Option name="End" type="Time" value="1.0" />