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# 9 "/home/runner/work/MFC/MFC/src/common/include/case.fpp"
15# 14 "/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: num_species, species_names
77 real(wp),
allocatable,
dimension(:) ::
dx,
dy,
dz
170 real(wp),
allocatable,
dimension(:) ::
adv
263 real(wp) ::
r0ref,
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
296 m = dflt_int;
n = 0;
p = 0
337 bc_x%beg = dflt_int;
bc_x%end = dflt_int
338 bc_y%beg = dflt_int;
bc_y%end = dflt_int
339 bc_z%beg = dflt_int;
bc_z%end = dflt_int
343# 333 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
344# 334 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
347# 334 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
350# 334 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
353# 337 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
354# 333 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
355# 334 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
358# 334 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
361# 334 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
364# 337 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
365# 333 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
366# 334 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
369# 334 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
372# 334 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
375# 337 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
376# 338 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
378# 340 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
379 bc_y%isothermal_in = .false.
380 bc_y%isothermal_out = .false.
381 bc_y%Twall_in = dflt_real
382 bc_y%Twall_out = dflt_real
383# 340 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
384 bc_x%isothermal_in = .false.
385 bc_x%isothermal_out = .false.
386 bc_x%Twall_in = dflt_real
387 bc_x%Twall_out = dflt_real
388# 340 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
389 bc_z%isothermal_in = .false.
390 bc_z%isothermal_out = .false.
391 bc_z%Twall_in = dflt_real
392 bc_z%Twall_out = dflt_real
393# 345 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
399 do i = 1, num_fluids_max
413 bub_pp%ss = dflt_real;
ss = dflt_real
414 bub_pp%pv = dflt_real;
pv = dflt_real
415 bub_pp%vd = dflt_real;
vd = dflt_real
710 else if (
nb < 1)
then
711 stop
'Invalid value of nb'
828 if (
num_procs == 1 .or.
format /= 1)
then
835 else if (
n == 0)
then
840 else if (
p == 0)
then
931 write (
mpiiofs,
'(A)')
'/lustre_'
934 call mpi_info_set(
mpi_info_int,
'romio_ds_write',
'disable', ierr)
Shared derived types for field data, patch geometry, bubble dynamics, and MPI I/O structures.
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
logical cont_damage
Continuum damage modeling.
integer, dimension(3, 2) shear_bc_flip_indices
Shear stress BC reflection indices (1:3, 1:shear_BC_flip_num).
logical hypoelasticity
Turn hypoelasticity on.
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.
integer thermal
1 = adiabatic, 2 = isotherm, 3 = transfer
integer avg_state
Average state evaluation method.
real(wp), dimension(:), allocatable im_trans_c
type(int_bounds_info), dimension(1:3) idwint
integer recon_type
Which type of reconstruction to use.
logical, parameter chemistry
Chemistry modeling.
integer beta_idx
Index of lagrange bubbles beta.
type(int_bounds_info) offset_y
real(wp), dimension(num_fluids_max) schlieren_alpha
Per-fluid Schlieren intensity amplitude coefficients.
type(int_bounds_info) bc_z
real(wp), dimension(:), allocatable pb0
integer num_fluids
Number of different fluids present in the flow.
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
logical, dimension(3) flux_wrt
real(wp), dimension(:), allocatable y_cc
integer format
Format of the database file(s).
integer proc_rank
Rank of the local processor.
real(wp), dimension(:), allocatable re_trans_t
logical mixture_err
Mixture error limiter.
logical output_partial_domain
Specify portion of domain to output for post-processing.
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
logical dummy
AMDFlang workaround for case-optimization + GPU-kernel bug.
integer, dimension(:), allocatable proc_coords
Processor coordinates in MPI_CART_COMM.
real(wp), dimension(:), allocatable y_cb
type(bounds_info) x_output
character(len=name_len) mpiiofs
integer, dimension(:), allocatable start_idx
Starting cell-center index of local processor in global grid.
integer sys_size
Number of unknowns in the system of equations.
real(wp), dimension(:), allocatable dz
real(wp), dimension(:), allocatable weight
real(wp), dimension(:), allocatable k_v
integer muscl_order
Order of accuracy for the MUSCL reconstruction.
logical alt_soundspeed
Alternate sound speed.
integer relax_model
Phase change relaxation model.
logical, dimension(3) mom_wrt
real(wp), dimension(:), allocatable x_root_cb
integer fd_number
Finite-difference half-stencil size: MAX(1, fd_order/2).
logical, dimension(num_fluids_max) alpha_wrt
logical, dimension(num_fluids_max) alpha_rho_wrt
type(mpi_io_levelset_var), public mpi_io_levelset_data
logical, dimension(num_fluids_max) alpha_rho_e_wrt
integer tensor_size
Number of components in the nonsymmetric tensor.
type(int_bounds_info), dimension(1:3) idwbuff
integer model_eqns
Multicomponent flow model.
integer buff_size
Number of ghost cells for boundary condition storage.
integer precision
Floating point precision of the database file(s).
logical hyperelasticity
Turn hyperelasticity on.
real(wp), dimension(:), allocatable z_cb
type(physical_parameters), dimension(num_fluids_max) fluid_pp
Stiffened gas EOS parameters and Reynolds numbers per fluid.
type(bounds_info) z_output
Portion of domain to output for post-processing.
integer num_dims
Number of spatial dimensions.
integer shear_bc_flip_num
Number of shear stress components to reflect for boundary conditions.
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
integer fd_order
Finite-difference order for vorticity and Schlieren derivatives.
integer num_vels
Number of velocity components (different from num_dims for mhd).
type(int_bounds_info) bc_x
real(wp), dimension(:), allocatable x_cb
real(wp), dimension(:), allocatable dy
logical relax
phase change
integer t_step_save
Interval between consecutive time-step directory.
type(int_bounds_info) offset_x
logical hyper_cleaning
Hyperbolic cleaning for MHD.
real(wp), dimension(:), allocatable z_cc
real(wp) bx0
Constant magnetic field in the x-direction (1D).
integer b_size
Number of components in the b tensor.
logical, dimension(3) omega_wrt
integer num_procs
Number of processors.
character(len=path_len) case_dir
Case folder location.
type(int_bounds_info) y_output_idx
integer weno_order
Order of accuracy for the WENO reconstruction.
type(int_bounds_info) offset_z
logical mhd
Magnetohydrodynamics.
integer shear_num
Number of shear stress components.
integer, dimension(3) shear_indices
Indices of the stress components that represent shear stress.
logical parallel_io
Format of the data files.
type(cell_num_bounds) cells_bounds
logical down_sample
down sampling of the database file(s)
real(wp), dimension(:), allocatable mass_g0
logical file_per_process
output format
integer t_step_start
First time-step directory.
real(wp) wall_time_avg
Wall time measurements.
logical elasticity
elasticity modeling, true for hyper or hypo
type(mpi_io_var), public mpi_io_data
impure subroutine s_initialize_parallel_io
Subroutine to initialize parallel infrastructure.
logical mpp_lim
Maximum volume fraction limiter.
real(wp), dimension(:), allocatable omegan
integer igr_order
IGR reconstruction order.
real(wp), dimension(:), allocatable re_trans_c
logical, dimension(3) vel_wrt
type(subgrid_bubble_physical_parameters) bub_pp
logical, dimension(1:num_species) chem_wrt_y
logical relativity
Relativity for RMHD.
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
type(eqn_idx_info) eqn_idx
All conserved-variable equation index ranges and scalars.
real(wp), dimension(:), allocatable mass_v0
integer num_ibs
Number of immersed boundaries.
integer(kind=8) nglobal
Total number of cells in global domain.
integer t_step_stop
Last time-step directory.
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-.
All conserved-variable equation indices, computed at startup from model_eqns and enabled features....
Integer bounds for variables.
Derived type annexing the physical parameters (PP) of the fluids. These include the specific heat rat...
QBMM moment index mappings - separate from bub beg/end so eqn_idx contains no allocatables.
Derived type annexing the physical parameters required for sub-grid bubble models.