MFC
Exascale flow solver
Loading...
Searching...
No Matches
m_time_steppers.fpp.f90 File Reference

Contains module m_time_steppers. More...

Go to the source code of this file.

Modules

module  m_time_steppers
 Total-variation-diminishing (TVD) Runge–Kutta time integrators (1st-, 2nd-, and 3rd-order SSP).

Functions/Subroutines

impure subroutine m_time_steppers::s_initialize_time_steppers_module
 Initialize the time steppers module.
impure subroutine m_time_steppers::s_tvd_rk (t_step, time_avg, nstage)
 Advance the solution one full step using a TVD Runge-Kutta time integrator.
impure subroutine m_time_steppers::s_adaptive_dt_bubble (stage)
 Bubble source part in Strang operator splitting scheme.
impure subroutine m_time_steppers::s_compute_dt (dt_cand)
 Compute the global time step size from CFL stability constraints across all cells Sets dt from the CFL criteria, each limited by the finest cell over the coarse cell under AMR. With dt_cand it only returns the global candidates at cfl_target (ICFL, VCFL, CCFL, TCFL, collision cap, WCOL) and leaves dt alone.
impure subroutine m_time_steppers::s_amr_check_fixed_dt (reach)
 AMR with a fixed dt: abort if dt exceeds the finest level's inviscid limit (ICFL = 1, as s_write_run_time_information). reach: test every cell as if refined to amr_max_level, which a regrid may do later, so the failure is at start-up.
impure subroutine m_time_steppers::s_abort_on_bad_dt_cell (idx)
 Abort with the location of a fluid cell whose state admits no valid time step (NaN or non-positive inviscid dt).
subroutine m_time_steppers::s_advance_ib_pose (s, t_step)
 Advance the immersed boundary positions and velocities to the current Runge-Kutta stage (forces from this stage's RHS).
subroutine m_time_steppers::s_time_step_cycling (t_step)
 Save the temporary q_prim_vf vector into q_prim_ts for use in p_main.
impure subroutine m_time_steppers::s_report_chem_stiffness (t_step)
 Explicit reaction source (reaction_substeps = 0): warn once, with step and time, when dt*(max species loss rate), the stiffness estimate of the reaction Jacobian, exceeds the real-axis stability limit of the RK scheme.
impure subroutine m_time_steppers::s_report_chem_stiffness_summary ()
 End-of-run line with the largest dt*|lambda_max| of the explicit reaction source seen on any rank.
logical function m_time_steppers::f_chem_stiffness_tracked ()
 True when run_time_info is on and the reaction source is advanced explicitly inside the RK stages.
real(wp) function m_time_steppers::f_chem_stiffness_limit ()
 Real-axis stability limit of the SSP-RK scheme (RK3 2.51, RK1 and RK2 2).
impure subroutine m_time_steppers::s_finalize_time_steppers_module
 Module deallocation and/or disassociation procedures.

Variables

type(vector_field), dimension(:), allocatable m_time_steppers::q_cons_ts
 Cell-average conservative variables at each time-stage (TS).
type(scalar_field), dimension(:), allocatable m_time_steppers::q_prim_vf
 Cell-average primitive variables at the current time-stage.
type(scalar_field), dimension(:), allocatable m_time_steppers::rhs_vf
 Cell-average RHS variables at the current time-stage.
type(integer_field), dimension(:,:), allocatable m_time_steppers::bc_type
 Boundary condition identifiers.
type(vector_field), dimension(:), allocatable m_time_steppers::q_prim_ts1
 Cell-average primitive variables at consecutive TIMESTEPS.
type(vector_field), dimension(:), allocatable m_time_steppers::q_prim_ts2
real(wp), dimension(:,:,:,:,:), allocatable m_time_steppers::rhs_pb
type(scalar_field) m_time_steppers::q_t_sf
 Cell-average temperature variables at the current time-stage.
real(wp), dimension(:,:,:,:,:), allocatable m_time_steppers::rhs_mv
integer, private m_time_steppers::num_ts
 Number of time stages in the time-stepping scheme.
integer m_time_steppers::stor
 storage index
real(wp), dimension(:,:), allocatable m_time_steppers::rk_coef
integer, private m_time_steppers::num_probe_ts
real(wp), private m_time_steppers::chem_stiff_max = 0._wp
 Max dt*(species loss rate) of the explicit reaction source over the run.
logical, private m_time_steppers::chem_stiff_warned = .false.

Detailed Description

Contains module m_time_steppers.

Definition in file m_time_steppers.fpp.f90.