1# 1 "/home/runner/work/MFC/MFC/src/pre_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/pre_process/m_global_parameters.fpp" 2
29 use m_thermochem,
only: num_species
274 real(wp) ::
r0ref,
p0ref,
rho0ref,
t0ref,
ss,
pv,
vd,
mu_l,
mu_v,
mu_g, &
334 m = dflt_int;
n = 0;
p = 0
389 bc_x%beg = dflt_int;
bc_x%end = dflt_int
390 bc_y%beg = dflt_int;
bc_y%end = dflt_int
391 bc_z%beg = dflt_int;
bc_z%end = dflt_int
393# 383 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
394# 384 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
397# 384 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
400# 384 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
403# 387 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
404# 383 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
405# 384 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
408# 384 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
411# 384 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
414# 387 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
415# 383 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
416# 384 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
419# 384 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
422# 384 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
425# 387 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
426# 388 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
464 do i = 1, num_patches_max
470 patch_icpp(i)%model_threshold = ray_tracing_threshold
528 do i = 1, num_bc_patches_max
582 do i = 1, num_patches_max
600 patch_ib(i)%model_translate(:) = 0._wp
602 patch_ib(i)%model_filepath(:) = dflt_char
604 patch_ib(i)%model_threshold = ray_tracing_threshold
613 patch_ib(i)%centroid_offset(:) = 0._wp
617 patch_ib(i)%rotation_matrix(1, 1) = 1._wp
618 patch_ib(i)%rotation_matrix(2, 2) = 1._wp
619 patch_ib(i)%rotation_matrix(3, 3) = 1._wp
627 do i = 1, num_fluids_max
643 bub_pp%ss = dflt_real;
ss = dflt_real
644 bub_pp%pv = dflt_real;
pv = dflt_real
645 bub_pp%vd = dflt_real;
vd = dflt_real
863 else if (
nb < 1)
then
864 stop
'Invalid value of nb'
1033 write (
mpiiofs,
'(A)')
'/lustre_'
1036 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.
Defines global parameters for the computational domain, simulation algorithm, and initial conditions.
real(wp) perturb_flow_mag
Magnitude of perturbation with perturb_flow flag.
real(wp) mixlayer_perturb_k0
Peak wavenumber of prescribed energy spectra with mixlayer_perturb flag Default value (k0 = 0....
integer grid_geometry
Cylindrical coordinates (either axisymmetric or full 3D).
type(int_bounds_info) xi_idx
Indexes of first and last reference map eqns.
logical cont_damage
continuum damage modeling
integer p_glb
Global number of cells in each direction.
logical igr
Use information geometric regularization.
integer, dimension(3, 2) shear_bc_flip_indices
Indices of shear stress components to reflect for boundary conditions. Size: (1:3,...
logical hypoelasticity
activate hypoelasticity
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
Deallocates all global grid, index, and equation-of-state parameter arrays.
real(wp), dimension(:), allocatable im_trans_c
integer perturb_flow_fluid
Fluid to be perturbed with perturb_flow flag.
type(int_bounds_info), dimension(1:3) idwint
integer recon_type
Reconstruction Type.
logical, parameter chemistry
Chemistry modeling.
integer mpi_info_int
MPI info for parallel IO with Lustre file systems.
logical elliptic_smoothing
type(ib_patch_parameters), dimension(num_patches_max) patch_ib
type(int_bounds_info) mom_idx
Indexes of first & last momentum eqns.
real(wp) dz
Minimum cell-widths in the x-, y- and z-coordinate directions.
type(int_bounds_info) bc_z
Boundary conditions in the x-, y- and z-coordinate directions.
real(wp), dimension(:), allocatable pb0
integer num_fluids
Number of different fluids present in the flow.
integer elliptic_smoothing_iters
logical pre_stress
activate pre_stressed domain
real(wp), dimension(:), allocatable im_trans_t
integer weno_polyn
Degree of the WENO polynomials (polyn).
real(wp), dimension(:), allocatable y_cc
logical non_axis_sym
Use existing IC data.
type(int_bounds_info) stress_idx
Indexes of elastic shear stress eqns.
integer proc_rank
Rank of the local processor.
real(wp), dimension(:), allocatable re_trans_t
integer n_idx
Index of number density.
logical dummy
AMDFlang workaround: keep a dummy logical to avoid a compiler case-optimization bug when a parameter+...
integer, dimension(:), allocatable proc_coords
Processor coordinates in MPI_CART_COMM.
logical bc_io
whether or not to save BC data
real(wp), dimension(:), allocatable y_cb
type(bounds_info) z_domain
Locations of the domain bounds in the x-, y- and z-coordinate directions.
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 weight
integer gamma_idx
Index of specific heat ratio func. eqn.
real(wp), dimension(:), allocatable k_v
type(simplex_noise_params) simplex_params
integer muscl_order
Order of accuracy for the MUSCL reconstruction.
type(bounds_info) x_domain
real(wp) ptgalpha_eps
trigger parameter for the pTg relaxation procedure, phase change model
integer, dimension(:, :, :), allocatable logic_grid
integer relax_model
Relax Model.
type(int_bounds_info) cont_idx
Indexes of first & last continuity eqns.
integer num_patches
Number of patches composing initial condition.
logical ib
Turn immersed boundaries on.
type(int_bounds_info) b_idx
Indexes of first and last magnetic field eqns.
integer num_bc_patches
Number of boundary condition patches.
integer tensor_size
Number of components in the nonsymmetric tensor.
type(bc_patch_parameters), dimension(num_bc_patches_max) patch_bc
type(int_bounds_info), dimension(1:3) idwbuff
integer model_eqns
Multicomponent flow model.
integer buff_size
The number of cells that are necessary to be able to store enough boundary conditions data to march t...
integer precision
Precision of output files.
logical hyperelasticity
activate hyperelasticity
real(wp), dimension(:), allocatable z_cb
Locations of cell-boundaries (cb) in x-, y- and z-directions, respectively.
type(physical_parameters), dimension(num_fluids_max) fluid_pp
Database of the physical parameters of each of the fluids that is present in the flow....
type(vec3_dt), dimension(:), allocatable airfoil_grid_u
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
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
integer mixlayer_perturb_nk
Number of Fourier modes for perturbation with mixlayer_perturb flag.
type(chemistry_parameters) chem_params
integer num_vels
Number of velocity components (different from num_dims for mhd).
integer perturb_sph_fluid
Fluid to be perturbed with perturb_sph flag.
type(int_bounds_info) bc_x
real(wp), dimension(:), allocatable x_cb
type(bounds_info) y_domain
logical relax
activate phase change
logical qbmm
Quadrature moment method.
logical old_grid
Use existing grid data.
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.
real(wp) pi_fac
Factor for artificial pi_inf.
logical hyper_cleaning
Hyperbolic cleaning for MHD.
real(wp), dimension(num_fluids_max) fluid_rho
type(int_bounds_info) internalenergies_idx
Indexes of first & last internal energy eqns.
real(wp), dimension(:), allocatable z_cc
Locations of cell-centers (cc) in x-, y- and z-directions, respectively.
real(wp) pref
Reference parameters for Tait EOS.
real(wp) bx0
Constant magnetic field in the x-direction (1D).
integer b_size
Number of components in the b tensor.
logical stretch_z
Grid stretching flags for the x-, y- and z-coordinate directions.
logical adv_n
Solve the number density equation and compute alpha from number density.
integer num_procs
Number of processors.
character(len=path_len) case_dir
Case folder location.
type(vec3_dt), dimension(:), allocatable airfoil_grid_l
type(ic_patch_parameters), dimension(num_patches_max) patch_icpp
Database of the initial condition patch parameters (icpp) for each of the patches employed in the con...
type(int_bounds_info) adv_idx
Indexes of first & last advection eqns.
integer weno_order
Order of accuracy for the WENO reconstruction.
logical mhd
Magnetohydrodynamics.
integer, dimension(3) shear_indices
Indices of the stress components that represent shear stress.
logical parallel_io
Format of the data files.
integer nmom
Number of carried moments.
integer e_idx
Index of total energy equation.
type(cell_num_bounds) cells_bounds
logical down_sample
Down-sample the output data.
real(wp), dimension(:), allocatable mass_g0
logical file_per_process
type of data output
real(wp) palpha_eps
trigger parameter for the p relaxation procedure, phase change model
integer t_step_start
Existing IC/grid folder.
logical elasticity
elasticity modeling, true for hyper or hypo
type(mpi_io_var), public mpi_io_data
integer c_idx
Index of the color function.
real(wp) mixlayer_vel_coef
Coefficient for the hyperbolic tangent streamwise velocity profile.
impure subroutine s_initialize_parallel_io
Configures MPI parallel I/O settings and allocates processor coordinate arrays.
logical mpp_lim
Alpha limiter.
real(wp), dimension(:), allocatable omegan
integer igr_order
IGR reconstruction order.
integer psi_idx
Index of hyperbolic cleaning state variable for MHD.
integer muscl_polyn
Degree of the MUSCL polynomials (polyn).
real(wp), dimension(:), allocatable re_trans_c
type(subgrid_bubble_physical_parameters) bub_pp
type(int_bounds_info) species_idx
Indexes of first & last concentration eqns.
real(wp) rhorv
standard deviations in R/V
logical relativity
Relativity for RMHD.
real(wp), dimension(:), allocatable pe_t
integer alf_idx
Index of void fraction.
real(wp), dimension(:), allocatable mass_v0
integer num_ibs
Number of immersed boundaries.
logical mixlayer_vel_profile
Set hyperbolic tangent streamwise velocity profile.
integer(kind=8) nglobal
Global number of cells in the domain.
logical mixlayer_perturb
Superimpose instability waves to surrounding fluid flow.
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.
subroutine, public s_configure_coordinate_bounds(recon_type, weno_polyn, muscl_polyn, igr_order, buff_size, idwint, idwbuff, viscous, bubbles_lagrange, m, n, p, num_dims, igr, ib)
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-.
Derived type adding initial condition (ic) patch parameters as attributes NOTE: The requirements for ...
Integer bounds for variables.
Derived type annexing the physical parameters (PP) of the fluids. These include the specific heat rat...
Derived type for bubble variables pb and mv at quadrature nodes (qbmm).
Derived type annexing the physical parameters required for sub-grid bubble models.
Generic 3-component vector (e.g., spatial coordinates or field components) Named _dt (derived types: ...