1# 1 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
6# 1 "/home/runner/work/MFC/MFC/src/common/include/case.fpp" 1
12# 8 "/home/runner/work/MFC/MFC/src/common/include/case.fpp"
15# 12 "/home/runner/work/MFC/MFC/src/common/include/case.fpp"
16# 6 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp" 2
22 use mpi !< message passing interface (mpi) module
27 use m_thermochem,
only: species_names
75 real(wp),
allocatable,
dimension(:) ::
dx,
dy,
dz
120 real(wp),
allocatable,
dimension(:) ::
adv
144 real(wp) ::
p0ref,
rho0ref,
t0ref,
ss,
pv,
vd,
mu_l,
mu_v,
mu_g,
gam_v,
gam_g,
m_v,
m_g,
cp_v,
cp_g,
r_v,
r_g
170# 160 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
171# 161 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
174# 161 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
177# 161 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
180# 164 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
181# 160 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
182# 161 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
185# 161 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
188# 161 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
191# 164 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
192# 160 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
193# 161 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
196# 161 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
199# 161 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
202# 164 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
203# 165 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
205# 167 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
206 bc_x%isothermal_in = .false.
207 bc_x%isothermal_out = .false.
210# 167 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
211 bc_y%isothermal_in = .false.
212 bc_y%isothermal_out = .false.
215# 167 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
216 bc_z%isothermal_in = .false.
217 bc_z%isothermal_out = .false.
220# 172 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
453 else if (
nb < 1)
then
454 stop
'Invalid value of nb'
509 else if (
n == 0)
then
514 else if (
p == 0)
then
Compile-time constant parameters: default values, tolerances, and physical constants.
integer, parameter model_eqns_4eq
integer, parameter model_eqns_5eq
integer, parameter format_silo
integer, parameter dflt_int
Default integer value.
real(wp), parameter dflt_real
Default real value.
integer, parameter num_fluids_max
Maximum number of fluids in the simulation.
integer, parameter nnode
Number of QBMM nodes.
integer, parameter precision_single
integer, parameter model_eqns_6eq
integer, parameter model_eqns_gamma_law
Shared derived types for field data, patch geometry, bubble dynamics, and MPI I/O structures.
Shared global parameters and equation-index setup for all three executables. Each per-target m_global...
impure subroutine s_finalize_global_parameters_common
Shared finalize core: deallocate proc_coords and start_idx. Per-target finalize routines call this fi...
type(subgrid_bubble_physical_parameters) bub_pp
Subgrid bubble physical parameters.
logical, dimension(3) flux_wrt
integer sys_size
Number of unknowns in system of equations.
logical output_partial_domain
logical, dimension(3) omega_wrt
logical, dimension(num_fluids_max) alpha_rho_e_wrt
logical, dimension(num_species) chem_wrt_y
real(wp), dimension(num_fluids_max) schlieren_alpha
logical, dimension(num_fluids_max) alpha_wrt
type(physical_parameters), dimension(num_fluids_max) fluid_pp
Per-fluid stiffened-gas EOS parameters, Reynolds numbers, and shear modulus.
integer num_dims
Number of spatial dimensions.
logical, dimension(num_fluids_max) alpha_rho_wrt
logical, dimension(3) mom_wrt
type(eqn_idx_info) eqn_idx
All conserved-variable equation index ranges and scalars.
logical, parameter chemistry
logical, dimension(3) vel_wrt
impure subroutine s_initialize_eqn_idx(nmom_in, nb_in)
Initialize equation-index state (eqn_idx, sys_size, b_size, tensor_size) from the namelist parameters...
impure subroutine s_initialize_parallel_io_common
Configure MPI parallel I/O settings and allocate processor coordinate arrays. Shared across all three...
impure subroutine s_assign_common_defaults
Assign default values to the user-input parameters that are shared across all three executables (pre_...
Global parameters for the post-process: domain geometry, equation of state, and output database setti...
real(sp), dimension(:), allocatable x_cc_s
type(mpi_io_levelset_norm_var), public mpi_io_levelsetnorm_data
impure subroutine s_assign_default_values_to_user_inputs
Assigns default values to user inputs prior to reading them in. This allows for an easier consistency...
impure subroutine s_finalize_global_parameters_module
Deallocation procedures for the module.
real(wp), dimension(:), allocatable im_trans_c
type(int_bounds_info), dimension(1:3) idwint
integer beta_idx
Index of lagrange bubbles beta.
type(int_bounds_info) offset_y
type(int_bounds_info) bc_z
real(wp), dimension(:), allocatable pb0
real(wp), dimension(:), allocatable im_trans_t
type(qbmm_idx_info) qbmm_idx
QBMM moment index mappings.
real(wp), dimension(:,:), allocatable, public mpi_io_data_lg_bubbles
real(wp), dimension(:), allocatable y_cc
integer proc_rank
Rank of the local processor.
real(wp), dimension(:), allocatable re_trans_t
real(wp), dimension(:), allocatable adv
Advection variables.
real(wp), dimension(:), allocatable x_root_cc
type(int_bounds_info) z_output_idx
Indices of domain to output for post-processing.
type(mpi_io_ib_var), public mpi_io_ib_data
real(wp), dimension(:), allocatable y_cb
type(bounds_info) x_output
real(wp), dimension(:), allocatable dz
real(wp), dimension(:), allocatable weight
real(wp), dimension(:), allocatable k_v
real(wp), dimension(:), allocatable x_root_cb
integer fd_number
Finite-difference half-stencil size: MAX(1, fd_order/2).
type(mpi_io_levelset_var), public mpi_io_levelset_data
type(int_bounds_info), dimension(1:3) idwbuff
integer buff_size
Number of ghost cells for boundary condition storage.
real(wp), dimension(:), allocatable z_cb
type(bounds_info) z_output
Portion of domain to output for post-processing.
type(int_bounds_info) bc_y
real(wp), dimension(:), allocatable r0
type(int_bounds_info) x_output_idx
impure subroutine s_initialize_global_parameters_module
Computation of parameters, allocation procedures, and/or any other tasks needed to properly setup the...
real(wp), dimension(:), allocatable x_cc
real(wp), dimension(:), allocatable k_g
type(chemistry_parameters) chem_params
type(int_bounds_info) bc_x
real(wp), dimension(:), allocatable x_cb
real(wp), dimension(:), allocatable dy
type(int_bounds_info) offset_x
real(wp), dimension(:), allocatable z_cc
integer num_procs
Number of processors.
type(int_bounds_info) y_output_idx
type(int_bounds_info) offset_z
type(cell_num_bounds) cells_bounds
real(wp), dimension(:), allocatable mass_g0
real(wp) wall_time_avg
Wall time measurements.
type(mpi_io_var), public mpi_io_data
impure subroutine s_initialize_parallel_io
Subroutine to initialize parallel infrastructure.
real(wp), dimension(:), allocatable omegan
real(wp), dimension(:), allocatable re_trans_c
real(sp), dimension(:), allocatable x_root_cc_s
real(wp), dimension(:), allocatable dx
Cell-width distributions in the x-, y- and z-coordinate directions.
real(wp), dimension(:), allocatable pe_t
real(wp), dimension(:), allocatable mass_v0
integer(kind=8) nglobal
Total number of cells in global domain.
type(bounds_info) y_output
Basic floating-point utilities: approximate equality, default detection, and coordinate bounds.
elemental subroutine, public s_update_cell_bounds(bounds, m, n, p)
Updates the min and max number of cells in each set of axes.
Derived type adding beginning (beg) and end bounds info as attributes.
Max and min number of cells in a direction of each combination of x-,y-, and z-.
Integer bounds for variables.
QBMM moment index mappings - separate from bub beg/end so eqn_idx contains no allocatables.