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

Contains module m_sim_helpers. More...

Go to the source code of this file.

Modules

module  m_sim_helpers
 Simulation helper routines for cell state, CFL calculation, and stability checks.

Functions/Subroutines

real(wp) function m_sim_helpers::f_compute_filtered_dtheta (k, l)
 Computes the modified dtheta for Fourier filtering in azimuthal direction.
subroutine, public m_sim_helpers::s_compute_cell_state (q_prim_vf, pres, rho, gamma, pi_inf, re, alpha, alpha_rho, vel, vel_sum, qv, j, k, l)
 Computes the mixture coefficients, velocity and pressure of one cell.
subroutine, public m_sim_helpers::s_compute_stability_from_dt (vel, c, rho, re_l, alpha, alpha_rho, j, k, l, icfl, vcfl, rc, ccfl, tcfl)
 Computes stability criterion for a specified dt.
subroutine, public m_sim_helpers::s_compute_dt_from_cfl (vel, c, max_dt, rho, re_l, alpha, alpha_rho, j, k, l)
 Computes the candidate dts for a specified CFL number: max_dt(1) from the inviscid, max_dt(2) the viscous, max_dt(3) the capillary, and max_dt(4) the thermal diffusion criterion (huge where the criterion is inactive).

Variables

character(len=4), public m_sim_helpers::dt_limiter = 'none'
 Criterion currently limiting the adaptive time step (ICFL, VCFL, CCFL, TCFL, the collision cap, or the ramp limiter).
character(len=4), dimension(5), parameter, public m_sim_helpers::dt_limiter_names = (/'ICFL', 'VCFL', 'CCFL', 'TCFL', 'COLL'/)

Detailed Description

Contains module m_sim_helpers.

Definition in file m_sim_helpers.fpp.f90.