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
185 real(wp),
allocatable,
dimension(:) ::
adv
278 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
323 m = dflt_int;
n = 0;
p = 0
364 bc_x%beg = dflt_int;
bc_x%end = dflt_int
365 bc_y%beg = dflt_int;
bc_y%end = dflt_int
366 bc_z%beg = dflt_int;
bc_z%end = dflt_int
370# 360 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
371# 361 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
374# 361 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
377# 361 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
380# 364 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
381# 360 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
382# 361 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
385# 361 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
388# 361 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
391# 364 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
392# 360 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
393# 361 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
396# 361 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
399# 361 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
402# 364 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
403# 365 "/home/runner/work/MFC/MFC/src/post_process/m_global_parameters.fpp"
409 do i = 1, num_fluids_max
423 bub_pp%ss = dflt_real;
ss = dflt_real
424 bub_pp%pv = dflt_real;
pv = dflt_real
425 bub_pp%vd = dflt_real;
vd = dflt_real
720 else if (
nb < 1)
then
721 stop
'Invalid value of nb'
855 if (
num_procs == 1 .or.
format /= 1)
then
862 else if (
n == 0)
then
867 else if (
p == 0)
then
958 write (
mpiiofs,
'(A)')
'/lustre_'
961 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
type(int_bounds_info) xi_idx
Indexes of first and last reference map eqns.
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
type(int_bounds_info) mom_idx
Indexes of first & last momentum eqns.
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
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).
type(int_bounds_info) stress_idx
Indices of elastic stresses.
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.
integer n_idx
Index of number density.
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
integer gamma_idx
Index of specific heat ratio func. eqn.
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
type(int_bounds_info) cont_idx
Indexes of first & last continuity eqns.
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
type(int_bounds_info) b_idx
Indexes of first and last magnetic field eqns.
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...
integer pi_inf_idx
Index of liquid stiffness func. eqn.
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
type(bub_bounds_info) bub_idx
Indexes of first & last bubble variable eqns.
integer damage_idx
Index of damage state variable (D) for continuum damage model.
logical hyper_cleaning
Hyperbolic cleaning for MHD.
type(int_bounds_info) internalenergies_idx
Indexes of first & last internal energy eqns.
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
type(int_bounds_info) adv_idx
Indexes of first & last advection eqns.
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.
integer e_idx
Index of energy equation.
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
integer c_idx
Index of color function.
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.
integer psi_idx
Index of hyperbolic cleaning state variable for MHD.
real(wp), dimension(:), allocatable re_trans_c
logical, dimension(3) vel_wrt
type(subgrid_bubble_physical_parameters) bub_pp
type(int_bounds_info) species_idx
Indexes of first & last concentration eqns.
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
integer alf_idx
Index of specific heat ratio func. eqn.
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.
bounds for the bubble dynamic variables
Max and min number of cells in a direction of each combination of x-,y-, and z-.
Integer bounds for variables.
Derived type annexing the physical parameters (PP) of the fluids. These include the specific heat rat...
Derived type annexing the physical parameters required for sub-grid bubble models.