MFC
Exascale flow solver
Loading...
Searching...
No Matches
m_time_steppers Module Reference

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) and leaves dt alone.
impure subroutine s_amr_check_fixed_dt ()
 AMR with a fixed dt: abort if dt exceeds the finest level's inviscid limit (ICFL = 1, as s_write_run_time_information).
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_apply_synthetic_turbulence_force (q_cons_vf, q_prim_vf_in, rhs_vf_in, ldt)
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_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

Detailed Description

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

Function/Subroutine Documentation

◆ s_abort_on_bad_dt_cell()

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).

Parameters
[in]idxRank-local linear index j + (m+1)*(k + (n+1)*l)

Definition at line 5612 of file m_time_steppers.fpp.f90.

Here is the caller graph for this function:

◆ s_adaptive_dt_bubble()

impure subroutine m_time_steppers::s_adaptive_dt_bubble ( integer, intent(in) stage)

Bubble source part in Strang operator splitting scheme.

Definition at line 5203 of file m_time_steppers.fpp.f90.

Here is the caller graph for this function:

◆ s_advance_ib_pose()

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 5692 of file m_time_steppers.fpp.f90.

Here is the caller graph for this function:

◆ s_amr_check_fixed_dt()

impure subroutine m_time_steppers::s_amr_check_fixed_dt

AMR with a fixed dt: abort if dt exceeds the finest level's inviscid limit (ICFL = 1, as s_write_run_time_information).

Definition at line 5567 of file m_time_steppers.fpp.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_apply_synthetic_turbulence_force()

subroutine m_time_steppers::s_apply_synthetic_turbulence_force ( type(scalar_field), dimension(1:sys_size), intent(inout) q_cons_vf,
type(scalar_field), dimension(1:sys_size), intent(in) q_prim_vf_in,
type(scalar_field), dimension(1:sys_size), intent(inout) rhs_vf_in,
real(wp), intent(in) ldt )
Parameters
[in]ldtlocal dt

Definition at line 5632 of file m_time_steppers.fpp.f90.

Here is the caller graph for this function:

◆ s_compute_dt()

impure subroutine m_time_steppers::s_compute_dt ( real(wp), dimension(5), 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) and leaves dt alone.

Host copies; amdflang reads Re_size stale cross-TU

Definition at line 5226 of file m_time_steppers.fpp.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_finalize_time_steppers_module()

impure subroutine m_time_steppers::s_finalize_time_steppers_module

Module deallocation and/or disassociation procedures.

Definition at line 6046 of file m_time_steppers.fpp.f90.

◆ s_initialize_time_steppers_module()

impure subroutine m_time_steppers::s_initialize_time_steppers_module

Initialize the time steppers module.

Definition at line 454 of file m_time_steppers.fpp.f90.

Here is the caller graph for this function:

◆ s_time_step_cycling()

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 5813 of file m_time_steppers.fpp.f90.

Here is the caller graph for this function:

◆ s_tvd_rk()

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 4866 of file m_time_steppers.fpp.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ bc_type

type(integer_field), dimension(:,:), allocatable m_time_steppers::bc_type

Boundary condition identifiers.

Definition at line 416 of file m_time_steppers.fpp.f90.

◆ num_probe_ts

integer, private m_time_steppers::num_probe_ts
private

Definition at line 425 of file m_time_steppers.fpp.f90.

◆ num_ts

integer, private m_time_steppers::num_ts
private

Number of time stages in the time-stepping scheme.

Definition at line 422 of file m_time_steppers.fpp.f90.

◆ q_cons_ts

type(vector_field), dimension(:), allocatable m_time_steppers::q_cons_ts

Cell-average conservative variables at each time-stage (TS).

Definition at line 413 of file m_time_steppers.fpp.f90.

◆ q_prim_ts1

type(vector_field), dimension(:), allocatable m_time_steppers::q_prim_ts1

Cell-average primitive variables at consecutive TIMESTEPS.

Definition at line 418 of file m_time_steppers.fpp.f90.

◆ q_prim_ts2

type(vector_field), dimension(:), allocatable m_time_steppers::q_prim_ts2

Definition at line 418 of file m_time_steppers.fpp.f90.

◆ q_prim_vf

type(scalar_field), dimension(:), allocatable m_time_steppers::q_prim_vf

Cell-average primitive variables at the current time-stage.

Definition at line 414 of file m_time_steppers.fpp.f90.

◆ q_t_sf

type(scalar_field) m_time_steppers::q_t_sf

Cell-average temperature variables at the current time-stage.

Definition at line 420 of file m_time_steppers.fpp.f90.

◆ rhs_mv

real(wp), dimension(:,:,:,:,:), allocatable m_time_steppers::rhs_mv

Definition at line 421 of file m_time_steppers.fpp.f90.

◆ rhs_pb

real(wp), dimension(:,:,:,:,:), allocatable m_time_steppers::rhs_pb

Definition at line 419 of file m_time_steppers.fpp.f90.

◆ rhs_vf

type(scalar_field), dimension(:), allocatable m_time_steppers::rhs_vf

Cell-average RHS variables at the current time-stage.

Definition at line 415 of file m_time_steppers.fpp.f90.

◆ rk_coef

real(wp), dimension(:,:), allocatable m_time_steppers::rk_coef

Definition at line 424 of file m_time_steppers.fpp.f90.

◆ stor

integer m_time_steppers::stor

storage index

Definition at line 423 of file m_time_steppers.fpp.f90.