MFC: Post-Process
High-fidelity multiphase flow simulation
Loading...
Searching...
No Matches
m_constants Module Reference

Variables

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

Variable Documentation

◆ acoustic_spatial_support_width

real(wp), parameter m_constants::acoustic_spatial_support_width = 2.5_wp

Spatial support width of acoustic source, used in s_source_spatial.

◆ amplifier

integer, parameter m_constants::amplifier = 3**13

◆ bc_axis

integer, parameter m_constants::bc_axis = -14

◆ bc_char_cp_sub_outflow

integer, parameter m_constants::bc_char_cp_sub_outflow = -10

◆ bc_char_ff_sub_outflow

integer, parameter m_constants::bc_char_ff_sub_outflow = -9

◆ bc_char_nr_sub_buffer

integer, parameter m_constants::bc_char_nr_sub_buffer = -6

◆ bc_char_nr_sub_inflow

integer, parameter m_constants::bc_char_nr_sub_inflow = -7

◆ bc_char_nr_sub_outflow

integer, parameter m_constants::bc_char_nr_sub_outflow = -8

◆ bc_char_slip_wall

integer, parameter m_constants::bc_char_slip_wall = -5

◆ bc_char_sup_inflow

integer, parameter m_constants::bc_char_sup_inflow = -11

◆ bc_char_sup_outflow

integer, parameter m_constants::bc_char_sup_outflow = -12

◆ bc_dirichlet

integer, parameter m_constants::bc_dirichlet = -17

◆ bc_ghost_extrap

integer, parameter m_constants::bc_ghost_extrap = -3

◆ bc_no_slip_wall

integer, parameter m_constants::bc_no_slip_wall = -16

◆ bc_null

integer, parameter m_constants::bc_null = -13

◆ bc_periodic

integer, parameter m_constants::bc_periodic = -1

◆ bc_reflective

integer, parameter m_constants::bc_reflective = -2

◆ bc_riemann_extrap

integer, parameter m_constants::bc_riemann_extrap = -4

◆ bc_slip_wall

integer, parameter m_constants::bc_slip_wall = -15

◆ broadband_spectral_level_constant

real(wp), parameter m_constants::broadband_spectral_level_constant = 20._wp

The constant to scale the spectral level at the lower frequency bound.

◆ broadband_spectral_level_growth_rate

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.

◆ capillary_cutoff

real(wp), parameter m_constants::capillary_cutoff = 1.e-6

color function gradient magnitude at which to apply the surface tension fluxes

◆ case_file_error_code

integer, parameter m_constants::case_file_error_code = 22

◆ chem_tolerance

real(wp), parameter m_constants::chem_tolerance = 1.e-16_wp

Speed of Sound Tolerance in Chemistry.

◆ decimal_trim

real(wp), parameter m_constants::decimal_trim = 1.e5_wp

◆ dflt_adap_dt_max_iters

integer, parameter m_constants::dflt_adap_dt_max_iters = 100

Default max iteration for adaptive step size.

◆ dflt_adap_dt_tol

real(wp), parameter m_constants::dflt_adap_dt_tol = 1.e-4_wp

Default tolerance for adaptive step size.

◆ dflt_alf_factor

real(wp), parameter m_constants::dflt_alf_factor = 10._wp

scaling factor for IGR alpha

◆ dflt_char

character, parameter m_constants::dflt_char = ' '

Default string value.

◆ dflt_ic_beta

real(wp), parameter m_constants::dflt_ic_beta = 1.6_wp

Sharpness parameter's default value used in THINC.

◆ dflt_ic_eps

real(wp), parameter m_constants::dflt_ic_eps = 1e-4_wp

Ensure compression is only applied to surface cells in THINC.

◆ dflt_int

integer, parameter m_constants::dflt_int = -100

Default integer value.

◆ dflt_num_igr_iters

integer, parameter m_constants::dflt_num_igr_iters = 2

number of iterations for IGR elliptic solve

◆ dflt_num_igr_warm_start_iters

integer, parameter m_constants::dflt_num_igr_warm_start_iters = 50

default number of iterations for IGR elliptic solve

◆ dflt_real

real(wp), parameter m_constants::dflt_real = -1.e6_wp

Default real value.

◆ dflt_t_guess

real(wp), parameter m_constants::dflt_t_guess = 1200._wp

◆ dflt_vcfl_dt

real(wp), parameter m_constants::dflt_vcfl_dt = 100._wp

value of vcfl_dt when viscosity is off for computing adaptive timestep size

◆ fourier_rings

integer, parameter m_constants::fourier_rings = 5

Fourier filter ring limit.

◆ gp_layers

integer, parameter m_constants::gp_layers = 3

Number of ghost point layers for IBM.

◆ ifactor_2d

integer, parameter m_constants::ifactor_2d = 50

Multiple factor of the ratio (edge to cell width) for interpolation along edges for 2D models.

◆ ifactor_3d

integer, parameter m_constants::ifactor_3d = 5

Multiple factor of the ratio (edge to cell width) for interpolation along edges for 3D models.

◆ ifactor_bary_3d

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.

◆ increment

integer, parameter m_constants::increment = 1013904223

◆ initial_distance_buffer

real(wp), parameter m_constants::initial_distance_buffer = 1.e12_wp

Initialized levelset distance for the shortest path pair algorithm.

◆ lag_io_vars

integer, parameter m_constants::lag_io_vars = 21

◆ mapcells

integer, parameter m_constants::mapcells = 3

Number of cells around the bubble where the smoothening function will have effect.

◆ modulus

integer, parameter m_constants::modulus = 2**30 - 1

◆ moncon_cutoff

integer, parameter m_constants::moncon_cutoff = 1e-8_wp

Monotonicity constraint's limiter to prevent extremas in THINC.

◆ multiplier

integer, parameter m_constants::multiplier = 1664525

◆ muscl_type

integer, parameter m_constants::muscl_type = 2

Using MUSCL for reconstruction type.

◆ name_len

integer, parameter m_constants::name_len = 50

Maximum name length.

◆ nnode

integer, parameter m_constants::nnode = 4

Number of QBMM nodes.

◆ num_bc_patches_max

integer, parameter m_constants::num_bc_patches_max = 10

◆ num_fluids_max

integer, parameter m_constants::num_fluids_max = 10

Maximum number of fluids in the simulation.

◆ num_patches_max

integer, parameter m_constants::num_patches_max = 10

◆ num_probes_max

integer, parameter m_constants::num_probes_max = 10

Maximum number of flow probes in the simulation.

◆ num_ray

integer, parameter m_constants::num_ray = 20

Default number of rays traced per cell.

◆ num_stcls_min

integer, parameter m_constants::num_stcls_min = 5

Minimum # of stencils.

◆ path_len

integer, parameter m_constants::path_len = 400

Maximum path length.

◆ pathlen_max

integer, parameter m_constants::pathlen_max = 400

◆ pi

real(wp), parameter m_constants::pi = 3.141592653589793_wp

Pi.

◆ r_uni

real(wp), parameter m_constants::r_uni = 8314._wp

Universal gas constant - J/kmol/K.

◆ ray_tracing_threshold

real(wp), parameter m_constants::ray_tracing_threshold = 0.9_wp

Threshold above which the cell is marked as the model patch.

◆ relativity_cons_to_prim_max_iter

integer, parameter m_constants::relativity_cons_to_prim_max_iter = 100

◆ scale_first_guess

real(wp), parameter m_constants::scale_first_guess = 1.e-3_wp

◆ scale_guess

real(wp), parameter m_constants::scale_guess = 1.e-2_wp

◆ sgm_eps

real(wp), parameter m_constants::sgm_eps = 1.e-16_wp

Segmentation tolerance.

◆ small_alf

real(wp), parameter m_constants::small_alf = 1.e-11_wp

Small alf tolerance.

◆ small_guess

real(wp), parameter m_constants::small_guess = 1.e-6_wp

◆ threshold_bary

real(wp), parameter m_constants::threshold_bary = 1.e-1_wp

Threshold to interpolate a barycentric facet.

◆ threshold_edge_zero

real(wp), parameter m_constants::threshold_edge_zero = 1.e-10_wp

Threshold to treat two edges to be overlapped.

◆ threshold_first_guess

real(wp), parameter m_constants::threshold_first_guess = 1.e-5_wp

◆ threshold_second_guess

real(wp), parameter m_constants::threshold_second_guess = 1.e-15_wp

◆ threshold_vector_zero

real(wp), parameter m_constants::threshold_vector_zero = 1.e-10_wp

Threshold to treat the component of a vector to be zero.

◆ verysmall

real(wp), parameter m_constants::verysmall = 1.e-12_wp

Very small number.

◆ weno_type

integer, parameter m_constants::weno_type = 1

Using WENO for reconstruction type.