|
MFC
Exascale flow solver
|
Total-variation-diminishing (TVD) Runge–Kutta time integrators (1st-, 2nd-, and 3rd-order SSP). More...
Functions/Subroutines | |
| impure subroutine | s_initialize_time_steppers_module |
| Initialize the time steppers module. | |
| impure subroutine | s_tvd_rk (t_step, time_avg, nstage) |
| Advance the solution one full step using a TVD Runge-Kutta time integrator. | |
| impure subroutine | s_adaptive_dt_bubble (stage) |
| Bubble source part in Strang operator splitting scheme. | |
| impure subroutine | 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 | 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 | 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 | 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 | s_time_step_cycling (t_step) |
| Save the temporary q_prim_vf vector into q_prim_ts for use in p_main. | |
| impure subroutine | 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 | 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 | 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 | f_chem_stiffness_limit () |
| Real-axis stability limit of the SSP-RK scheme (RK3 2.51, RK1 and RK2 2). | |
| impure subroutine | s_finalize_time_steppers_module |
| Module deallocation and/or disassociation procedures. | |
Variables | |
| type(vector_field), dimension(:), allocatable | q_cons_ts |
| Cell-average conservative variables at each time-stage (TS). | |
| type(scalar_field), dimension(:), allocatable | q_prim_vf |
| Cell-average primitive variables at the current time-stage. | |
| type(scalar_field), dimension(:), allocatable | rhs_vf |
| Cell-average RHS variables at the current time-stage. | |
| type(integer_field), dimension(:,:), allocatable | bc_type |
| Boundary condition identifiers. | |
| type(vector_field), dimension(:), allocatable | q_prim_ts1 |
| Cell-average primitive variables at consecutive TIMESTEPS. | |
| type(vector_field), dimension(:), allocatable | q_prim_ts2 |
| real(wp), dimension(:,:,:,:,:), allocatable | rhs_pb |
| type(scalar_field) | q_t_sf |
| Cell-average temperature variables at the current time-stage. | |
| real(wp), dimension(:,:,:,:,:), allocatable | rhs_mv |
| integer, private | num_ts |
| Number of time stages in the time-stepping scheme. | |
| integer | stor |
| storage index | |
| real(wp), dimension(:,:), allocatable | rk_coef |
| integer, private | num_probe_ts |
| real(wp), private | chem_stiff_max = 0._wp |
| Max dt*(species loss rate) of the explicit reaction source over the run. | |
| logical, private | chem_stiff_warned = .false. |
Total-variation-diminishing (TVD) Runge–Kutta time integrators (1st-, 2nd-, and 3rd-order SSP).
| 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).
Definition at line 6077 of file m_time_steppers.fpp.f90.
| 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.
Definition at line 6069 of file m_time_steppers.fpp.f90.
| impure subroutine m_time_steppers::s_abort_on_bad_dt_cell | ( | integer, intent(in) | idx | ) |
Abort with the location of a fluid cell whose state admits no valid time step (NaN or non-positive inviscid dt).
| [in] | idx | Rank-local linear index j + (m+1)*(k + (n+1)*l) |
Definition at line 5660 of file m_time_steppers.fpp.f90.
| impure subroutine m_time_steppers::s_adaptive_dt_bubble | ( | integer, intent(in) | stage | ) |
Bubble source part in Strang operator splitting scheme.
Definition at line 5211 of file m_time_steppers.fpp.f90.
| subroutine m_time_steppers::s_advance_ib_pose | ( | integer, intent(in) | s, |
| integer, intent(in) | t_step ) |
Advance the immersed boundary positions and velocities to the current Runge-Kutta stage (forces from this stage's RHS).
Definition at line 5681 of file m_time_steppers.fpp.f90.
| impure subroutine m_time_steppers::s_amr_check_fixed_dt | ( | logical, intent(in), optional | 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.
Definition at line 5575 of file m_time_steppers.fpp.f90.
| impure subroutine m_time_steppers::s_compute_dt | ( | real(wp), dimension(6), intent(out), optional | 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.
Definition at line 5234 of file m_time_steppers.fpp.f90.
| impure subroutine m_time_steppers::s_finalize_time_steppers_module |
Module deallocation and/or disassociation procedures.
Definition at line 6083 of file m_time_steppers.fpp.f90.
| impure subroutine m_time_steppers::s_initialize_time_steppers_module |
Initialize the time steppers module.
Definition at line 460 of file m_time_steppers.fpp.f90.
| impure subroutine m_time_steppers::s_report_chem_stiffness | ( | integer, intent(in) | 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.
Definition at line 6036 of file m_time_steppers.fpp.f90.
| 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.
Definition at line 6057 of file m_time_steppers.fpp.f90.
| subroutine m_time_steppers::s_time_step_cycling | ( | integer, intent(in) | t_step | ) |
Save the temporary q_prim_vf vector into q_prim_ts for use in p_main.
Definition at line 5802 of file m_time_steppers.fpp.f90.
| impure subroutine m_time_steppers::s_tvd_rk | ( | integer, intent(in) | t_step, |
| real(wp), intent(inout) | time_avg, | ||
| integer, intent(in) | nstage ) |
Advance the solution one full step using a TVD Runge-Kutta time integrator.
Definition at line 4873 of file m_time_steppers.fpp.f90.
| type(integer_field), dimension(:,:), allocatable m_time_steppers::bc_type |
Boundary condition identifiers.
Definition at line 419 of file m_time_steppers.fpp.f90.
|
private |
Max dt*(species loss rate) of the explicit reaction source over the run.
Definition at line 430 of file m_time_steppers.fpp.f90.
|
private |
Definition at line 431 of file m_time_steppers.fpp.f90.
|
private |
Definition at line 428 of file m_time_steppers.fpp.f90.
|
private |
Number of time stages in the time-stepping scheme.
Definition at line 425 of file m_time_steppers.fpp.f90.
| type(vector_field), dimension(:), allocatable m_time_steppers::q_cons_ts |
Cell-average conservative variables at each time-stage (TS).
Definition at line 416 of file m_time_steppers.fpp.f90.
| type(vector_field), dimension(:), allocatable m_time_steppers::q_prim_ts1 |
Cell-average primitive variables at consecutive TIMESTEPS.
Definition at line 421 of file m_time_steppers.fpp.f90.
| type(vector_field), dimension(:), allocatable m_time_steppers::q_prim_ts2 |
Definition at line 421 of file m_time_steppers.fpp.f90.
| type(scalar_field), dimension(:), allocatable m_time_steppers::q_prim_vf |
Cell-average primitive variables at the current time-stage.
Definition at line 417 of file m_time_steppers.fpp.f90.
| type(scalar_field) m_time_steppers::q_t_sf |
Cell-average temperature variables at the current time-stage.
Definition at line 423 of file m_time_steppers.fpp.f90.
| real(wp), dimension(:,:,:,:,:), allocatable m_time_steppers::rhs_mv |
Definition at line 424 of file m_time_steppers.fpp.f90.
| real(wp), dimension(:,:,:,:,:), allocatable m_time_steppers::rhs_pb |
Definition at line 422 of file m_time_steppers.fpp.f90.
| type(scalar_field), dimension(:), allocatable m_time_steppers::rhs_vf |
Cell-average RHS variables at the current time-stage.
Definition at line 418 of file m_time_steppers.fpp.f90.
| real(wp), dimension(:,:), allocatable m_time_steppers::rk_coef |
Definition at line 427 of file m_time_steppers.fpp.f90.
| integer m_time_steppers::stor |
storage index
Definition at line 426 of file m_time_steppers.fpp.f90.