fluidsim.base.time_stepping.base
Time stepping (fluidsim.base.time_stepping.base
)
Provides:
- class fluidsim.base.time_stepping.base.TimeSteppingBase0(sim)[source]
Bases:
object
Universal time stepping class used for all solvers.
- static _complete_params_with_default(params)[source]
This static method is used to complete the params container.
- start()[source]
Loop to run the function
one_time_step()
.If
self.USE_T_END
is true, run tillt >= t_end
, otherwise runself.it_end
time steps.
- prepare_main_loop()[source]
Prepare the simulation just before the main loop.
This function is called automatically in
main_loop
if it hasn’t been called before. It can be used by users for debugging.During this preparation, the time of the begining of the simulation is set and the outputs are initialized with the initial state.
- class fluidsim.base.time_stepping.base.TimeSteppingBase(sim)[source]
Bases:
TimeSteppingBase0
- is_simul_completed()[source]
Checks if simulation time or iteration has reached the end according to parameters specified.
- _compute_time_increment_CLF_uxuyuz()[source]
Compute the time increment deltat with a CLF condition.
Functions
|
Classes
|
|
|
Universal time stepping class used for all solvers. |