MFC
Exascale flow solver
Loading...
Searching...
No Matches
m_global_parameters_common.fpp.f90 File Reference

Contains module m_global_parameters_common. More...

Go to the source code of this file.

Modules

module  m_global_parameters_common
 Shared global parameters and equation-index setup for all three executables. Each per-target m_global_parameters uses this module (default-public, so all symbols re-export to downstream consumers via two-hop use-association).

Functions/Subroutines

impure subroutine m_global_parameters_common::s_initialize_eqn_idx (nmom_in, nb_in)
 Initialize equation-index state (eqn_idx, sys_size, b_size, tensor_size) from the namelist parameters. This is the shared skeleton: it covers the model_eqns dispatch, all eqn_idx field assignments, and the elasticity/surface-tension/chemistry extensions.
impure subroutine m_global_parameters_common::s_initialize_parallel_io_common
 Configure MPI parallel I/O settings and allocate processor coordinate arrays. Shared across all three executables; num_dims/num_vels are computed here for pre/post unconditionally and for sim only when not case-optimized (in which case they are compile-time parameters). Callers must have already populated n and p (grid dimensions).
impure subroutine m_global_parameters_common::s_finalize_global_parameters_common
 Shared finalize core: deallocate proc_coords and start_idx. Per-target finalize routines call this first, then handle their own extras (qbmm_idx, grid arrays, MPI_IO_DATA null/dealloc - those reference per-target typed variables and stay per-target).
impure subroutine m_global_parameters_common::s_assign_common_defaults
 Assign default values to the user-input parameters that are shared across all three executables (pre_process, simulation, post_process). Per-target defaults (bc_io, cfl_dt, precision, nb, chem_params, bub_pp scalar companions, fluid_pp loop, patch arrays, output flags) remain in the per-target s_assign_default_values_to_user_inputs routines, which call this subroutine first, then call s_update_cell_bounds(cells_bounds, m, n, p) (cells_bounds is per-target), then apply their own assignments.

Variables

real(wpm_global_parameters_common::bx0
real(wpm_global_parameters_common::ca
real(wpm_global_parameters_common::r0ref
real(wpm_global_parameters_common::re_inv
real(wpm_global_parameters_common::web
logical m_global_parameters_common::acoustic_source
logical m_global_parameters_common::adap_dt
integer m_global_parameters_common::adap_dt_max_iters
real(wpm_global_parameters_common::adap_dt_tol
logical m_global_parameters_common::adv_n
real(wpm_global_parameters_common::alf_factor
real(wpm_global_parameters_common::alpha_bar
logical m_global_parameters_common::alt_soundspeed
integer m_global_parameters_common::avg_state
logical m_global_parameters_common::bf_x
logical m_global_parameters_common::bf_y
logical m_global_parameters_common::bf_z
integer m_global_parameters_common::bubble_model
logical m_global_parameters_common::bubbles_euler
logical m_global_parameters_common::bubbles_lagrange
character(len=path_lenm_global_parameters_common::case_dir
logical m_global_parameters_common::cfl_adap_dt
logical m_global_parameters_common::cfl_const_dt
real(wpm_global_parameters_common::cfl_target
real(wpm_global_parameters_common::coefficient_of_restitution
integer m_global_parameters_common::collision_model
real(wpm_global_parameters_common::collision_time
logical m_global_parameters_common::cont_damage
real(wpm_global_parameters_common::cont_damage_s
logical m_global_parameters_common::cyl_coord
logical m_global_parameters_common::down_sample
real(wpm_global_parameters_common::dt
integer m_global_parameters_common::fd_order
logical m_global_parameters_common::fft_wrt
logical m_global_parameters_common::file_per_process
real(wpm_global_parameters_common::g_x
real(wpm_global_parameters_common::g_y
real(wpm_global_parameters_common::g_z
logical m_global_parameters_common::hyper_cleaning
real(wpm_global_parameters_common::hyper_cleaning_speed
real(wpm_global_parameters_common::hyper_cleaning_tau
logical m_global_parameters_common::hyperelasticity
logical m_global_parameters_common::hypoelasticity
logical m_global_parameters_common::ib
real(wpm_global_parameters_common::ib_coefficient_of_friction
integer m_global_parameters_common::ib_neighborhood_radius
logical m_global_parameters_common::ib_state_wrt
real(wpm_global_parameters_common::ic_beta
real(wpm_global_parameters_common::ic_eps
integer m_global_parameters_common::int_comp
logical m_global_parameters_common::integral_wrt
real(wpm_global_parameters_common::k_x
real(wpm_global_parameters_common::k_y
real(wpm_global_parameters_common::k_z
integer m_global_parameters_common::low_mach
integer m_global_parameters_common::m
logical m_global_parameters_common::mixture_err
integer m_global_parameters_common::model_eqns
logical m_global_parameters_common::mp_weno
logical m_global_parameters_common::mpp_lim
real(wpm_global_parameters_common::muscl_eps
integer m_global_parameters_common::n
integer m_global_parameters_common::n_start
logical m_global_parameters_common::null_weights
integer m_global_parameters_common::num_bc_patches
integer m_global_parameters_common::num_ibs
integer m_global_parameters_common::num_igr_iters
integer m_global_parameters_common::num_igr_warm_start_iters
integer m_global_parameters_common::num_integrals
integer m_global_parameters_common::num_particle_clouds
integer m_global_parameters_common::num_probes
integer m_global_parameters_common::num_source
integer m_global_parameters_common::num_stl_models
integer m_global_parameters_common::nv_uvm_igr_temps_on_gpu
logical m_global_parameters_common::nv_uvm_out_of_core
logical m_global_parameters_common::nv_uvm_pref_gpu
integer m_global_parameters_common::p
real(wpm_global_parameters_common::p_x
real(wpm_global_parameters_common::p_y
real(wpm_global_parameters_common::p_z
real(wpm_global_parameters_common::palpha_eps
logical m_global_parameters_common::parallel_io
real(wpm_global_parameters_common::pi_fac
real(wpm_global_parameters_common::poly_sigma
logical m_global_parameters_common::polydisperse
logical m_global_parameters_common::polytropic
integer m_global_parameters_common::precision
real(wpm_global_parameters_common::pref
logical m_global_parameters_common::prim_vars_wrt
logical m_global_parameters_common::probe_wrt
real(wpm_global_parameters_common::ptgalpha_eps
logical m_global_parameters_common::qbmm
logical m_global_parameters_common::rdma_mpi
logical m_global_parameters_common::relax
integer m_global_parameters_common::relax_model
real(wpm_global_parameters_common::rhoref
integer m_global_parameters_common::riemann_solver
logical m_global_parameters_common::run_time_info
real(wpm_global_parameters_common::sigma
logical m_global_parameters_common::surface_tension
real(wpm_global_parameters_common::t_save
integer m_global_parameters_common::t_step_old
integer m_global_parameters_common::t_step_print
integer m_global_parameters_common::t_step_save
integer m_global_parameters_common::t_step_start
integer m_global_parameters_common::t_step_stop
real(wpm_global_parameters_common::t_stop
real(wpm_global_parameters_common::tau_star
real(wpm_global_parameters_common::teno_ct
integer m_global_parameters_common::thermal
integer m_global_parameters_common::time_stepper
real(wpm_global_parameters_common::w_x
real(wpm_global_parameters_common::w_y
real(wpm_global_parameters_common::w_z
integer m_global_parameters_common::wave_speeds
logical m_global_parameters_common::weno_re_flux
logical m_global_parameters_common::weno_avg
real(wpm_global_parameters_common::weno_eps
real(wpm_global_parameters_common::x_a
real(wpm_global_parameters_common::x_b
real(wpm_global_parameters_common::y_a
real(wpm_global_parameters_common::y_b
real(wpm_global_parameters_common::z_a
real(wpm_global_parameters_common::z_b
type(physical_parameters), dimension(num_fluids_maxm_global_parameters_common::fluid_pp
 Per-fluid stiffened-gas EOS parameters, Reynolds numbers, and shear modulus.
type(subgrid_bubble_physical_parametersm_global_parameters_common::bub_pp
 Subgrid bubble physical parameters.
type(ib_patch_parameters), dimension(num_ib_patches_max_namelistm_global_parameters_common::patch_ib
 Immersed boundary patch parameters.
type(ib_airfoil_parameters), dimension(num_ib_airfoils_maxm_global_parameters_common::ib_airfoil
 Per-airfoil NACA user inputs.
type(ib_stl_parameters), dimension(num_stl_models_maxm_global_parameters_common::stl_models
 Per-STL model parameters.
type(vec3_dt), dimension(num_probes_maxm_global_parameters_common::probe
type(integral_parameters), dimension(num_probes_maxm_global_parameters_common::integral
type(acoustic_parameters), dimension(num_probes_maxm_global_parameters_common::acoustic
 Acoustic source parameters.
type(chemistry_parametersm_global_parameters_common::chem_params
type(bubbles_lagrange_parametersm_global_parameters_common::lag_params
 Lagrange bubbles' parameters.
type(particle_cloud_parameters), dimension(num_particle_clouds_maxm_global_parameters_common::particle_cloud
 Particle bed specifications.
integer m_global_parameters_common::num_dims
 Number of spatial dimensions.
integer m_global_parameters_common::num_vels
 Number of velocity components (different from num_dims for mhd).
integer m_global_parameters_common::weno_polyn
 Degree of the WENO polynomials.
integer m_global_parameters_common::muscl_polyn
 Degree of the MUSCL polynomials.
integer m_global_parameters_common::weno_num_stencils
logical m_global_parameters_common::wenojs
logical m_global_parameters_common::igr
integer m_global_parameters_common::igr_iter_solver
integer m_global_parameters_common::igr_order
logical m_global_parameters_common::igr_pres_lim
logical m_global_parameters_common::mapped_weno
logical m_global_parameters_common::mhd
integer m_global_parameters_common::muscl_lim
integer m_global_parameters_common::muscl_order
integer m_global_parameters_common::num_fluids
integer m_global_parameters_common::recon_type
logical m_global_parameters_common::relativity
logical m_global_parameters_common::teno
logical m_global_parameters_common::viscous
integer m_global_parameters_common::weno_order
logical m_global_parameters_common::wenoz
real(wpm_global_parameters_common::wenoz_q
Annotations of the structure of the state and flux vectors in terms of the size and configuration of the system of

equations

integer m_global_parameters_common::sys_size
 Number of unknowns in system of equations.
type(eqn_idx_infom_global_parameters_common::eqn_idx
 All conserved-variable equation index ranges and scalars.
integer m_global_parameters_common::b_size
 Number of elements in the symmetric b tensor, plus one.
integer m_global_parameters_common::tensor_size
 Number of elements in the full tensor plus one.
Chemistry modeling (Fypp compile-time constant; same value in all targets)
logical, parameter m_global_parameters_common::chemistry = .False.
Elasticity and shear stress state (identical across all three executables)
logical m_global_parameters_common::elasticity
 elasticity modeling, true for hyper or hypo
integer m_global_parameters_common::shear_num
 Number of shear stress components.
integer, dimension(3) m_global_parameters_common::shear_indices
 Indices of the stress components that represent shear stress.
integer m_global_parameters_common::shear_bc_flip_num
 Number of shear stress components to reflect for boundary conditions.
integer, dimension(3, 2) m_global_parameters_common::shear_bc_flip_indices
 Shear stress BC reflection indices (1:3, 1:shear_BC_flip_num).
Processor coordinates and parallel-IO addressing (identical declaration across all three targets)
integer, dimension(:), allocatable m_global_parameters_common::proc_coords
 Processor coordinates in MPI_CART_COMM.
integer, dimension(:), allocatable m_global_parameters_common::start_idx
 Starting cell-center index of local processor in global grid.
MPI info for parallel IO with Lustre file systems (identical across all three targets)
character(len=name_lenm_global_parameters_common::mpiiofs
integer m_global_parameters_common::mpi_info_int

Detailed Description