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

Contains constant values used throughout the code(s). More...

Go to the source code of this file.

Modules

module  m_constants
 Compile-time constant parameters: default values, tolerances, and physical constants.

Variables

character, parameter m_constants::dflt_char = ' '
 Default string value.
real(wp), parameter m_constants::dflt_real = -1.e6_wp
 Default real value.
real(wp), parameter m_constants::sgm_eps = 1.e-16_wp
 Segmentation tolerance.
real(wp), parameter m_constants::chem_tolerance = 1.e-16_wp
 Speed of Sound Tolerance in Chemistry.
real(wp), parameter m_constants::small_alf = 1.e-11_wp
 Small alf tolerance.
real(wp), parameter m_constants::pi = 3.141592653589793_wp
 Pi.
real(wp), parameter m_constants::verysmall = 1.e-12_wp
 Very small number.
integer, parameter m_constants::num_stcls_min = 5
 Minimum # of stencils.
integer, parameter m_constants::path_len = 400
 Maximum path length.
integer, parameter m_constants::name_len = 50
 Maximum name length.
integer, parameter m_constants::dflt_int = -100
 Default integer value.
integer, parameter m_constants::fourier_rings = 5
 Fourier filter ring limit.
integer, parameter m_constants::num_fluids_max = 10
 Maximum number of fluids in the simulation.
integer, parameter m_constants::num_probes_max = 10
 Maximum number of flow probes in the simulation.
integer, parameter m_constants::num_patches_max = 10
integer, parameter m_constants::num_bc_patches_max = 10
integer, parameter m_constants::pathlen_max = 400
integer, parameter m_constants::nnode = 4
 Number of QBMM nodes.
integer, parameter m_constants::dflt_num_igr_iters = 2
 number of iterations for IGR elliptic solve
integer, parameter m_constants::dflt_num_igr_warm_start_iters = 50
 default number of iterations for IGR elliptic solve
real(wp), parameter m_constants::dflt_alf_factor = 10._wp
 scaling factor for IGR alpha
integer, parameter m_constants::gp_layers = 3
 Number of ghost point layers for IBM.
real(wp), parameter m_constants::capillary_cutoff = 1.e-6
 color function gradient magnitude at which to apply the surface tension fluxes
real(wp), parameter m_constants::acoustic_spatial_support_width = 2.5_wp
 Spatial support width of acoustic source, used in s_source_spatial.
real(wp), parameter m_constants::dflt_vcfl_dt = 100._wp
 value of vcfl_dt when viscosity is off for computing adaptive timestep size
real(wp), parameter m_constants::broadband_spectral_level_constant = 20._wp
 The constant to scale the spectral level at the lower frequency bound.
real(wp), parameter m_constants::broadband_spectral_level_growth_rate = 10._wp
 The spectral level constant to correct the magnitude at each frequency to ensure the source is overall broadband.
integer, parameter m_constants::weno_type = 1
 Using WENO for reconstruction type.
integer, parameter m_constants::muscl_type = 2
 Using MUSCL for reconstruction type.
real(wp), parameter m_constants::dflt_ic_eps = 1e-4_wp
 Ensure compression is only applied to surface cells in THINC.
real(wp), parameter m_constants::dflt_ic_beta = 1.6_wp
 Sharpness parameter's default value used in THINC.
integer, parameter m_constants::moncon_cutoff = 1e-8_wp
 Monotonicity constraint's limiter to prevent extremas in THINC.
real(wp), parameter m_constants::dflt_t_guess = 1200._wp
integer, parameter m_constants::ifactor_2d = 50
 Multiple factor of the ratio (edge to cell width) for interpolation along edges for 2D models.
integer, parameter m_constants::ifactor_3d = 5
 Multiple factor of the ratio (edge to cell width) for interpolation along edges for 3D models.
integer, parameter m_constants::ifactor_bary_3d = 20
 Multiple factor of the ratio (triangle area to cell face area) for interpolation on triangle facets for 3D models.
integer, parameter m_constants::num_ray = 20
 Default number of rays traced per cell.
real(wp), parameter m_constants::ray_tracing_threshold = 0.9_wp
 Threshold above which the cell is marked as the model patch.
real(wp), parameter m_constants::threshold_vector_zero = 1.e-10_wp
 Threshold to treat the component of a vector to be zero.
real(wp), parameter m_constants::threshold_edge_zero = 1.e-10_wp
 Threshold to treat two edges to be overlapped.
real(wp), parameter m_constants::threshold_bary = 1.e-1_wp
 Threshold to interpolate a barycentric facet.
real(wp), parameter m_constants::initial_distance_buffer = 1.e12_wp
 Initialized levelset distance for the shortest path pair algorithm.
integer, parameter m_constants::mapcells = 3
 Number of cells around the bubble where the smoothening function will have effect.
real(wp), parameter m_constants::r_uni = 8314._wp
 Universal gas constant - J/kmol/K.
integer, parameter m_constants::lag_io_vars = 21
real(wp), parameter m_constants::dflt_adap_dt_tol = 1.e-4_wp
 Default tolerance for adaptive step size.
integer, parameter m_constants::dflt_adap_dt_max_iters = 100
 Default max iteration for adaptive step size.
real(wp), parameter m_constants::threshold_first_guess = 1.e-5_wp
real(wp), parameter m_constants::threshold_second_guess = 1.e-15_wp
real(wp), parameter m_constants::scale_first_guess = 1.e-3_wp
real(wp), parameter m_constants::scale_guess = 1.e-2_wp
real(wp), parameter m_constants::small_guess = 1.e-6_wp
integer, parameter m_constants::relativity_cons_to_prim_max_iter = 100
integer, parameter m_constants::modulus = 2**30 - 1
integer, parameter m_constants::multiplier = 1664525
integer, parameter m_constants::increment = 1013904223
integer, parameter m_constants::amplifier = 3**13
real(wp), parameter m_constants::decimal_trim = 1.e5_wp
integer, parameter m_constants::case_file_error_code = 22
integer, parameter m_constants::bc_periodic = -1
integer, parameter m_constants::bc_reflective = -2
integer, parameter m_constants::bc_ghost_extrap = -3
integer, parameter m_constants::bc_riemann_extrap = -4
integer, parameter m_constants::bc_char_slip_wall = -5
integer, parameter m_constants::bc_char_nr_sub_buffer = -6
integer, parameter m_constants::bc_char_nr_sub_inflow = -7
integer, parameter m_constants::bc_char_nr_sub_outflow = -8
integer, parameter m_constants::bc_char_ff_sub_outflow = -9
integer, parameter m_constants::bc_char_cp_sub_outflow = -10
integer, parameter m_constants::bc_char_sup_inflow = -11
integer, parameter m_constants::bc_char_sup_outflow = -12
integer, parameter m_constants::bc_null = -13
integer, parameter m_constants::bc_axis = -14
integer, parameter m_constants::bc_slip_wall = -15
integer, parameter m_constants::bc_no_slip_wall = -16
integer, parameter m_constants::bc_dirichlet = -17

Detailed Description

Contains constant values used throughout the code(s).

Definition in file m_constants.fpp.f90.