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# 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/pre_process/m_global_parameters.fpp" 2
91 real(wp),
dimension(:),
allocatable ::
weight,
r0
108 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
130 bc_x%beg = dflt_int;
bc_x%end = dflt_int
131 bc_y%beg = dflt_int;
bc_y%end = dflt_int
132 bc_z%beg = dflt_int;
bc_z%end = dflt_int
134# 124 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
135# 125 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
137# 126 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
139# 127 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
140# 125 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
142# 126 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
144# 127 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
145# 125 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
147# 126 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
149# 127 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
150# 128 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
151# 124 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
152# 125 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
154# 126 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
156# 127 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
157# 125 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
159# 126 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
161# 127 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
162# 125 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
164# 126 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
166# 127 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
167# 128 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
168# 124 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
169# 125 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
171# 126 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
173# 127 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
174# 125 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
176# 126 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
178# 127 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
179# 125 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
181# 126 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
183# 127 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
184# 128 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
185# 129 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
187# 131 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
188 bc_x%isothermal_in = .false.
189# 132 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
190 bc_x%isothermal_out = .false.
191# 133 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
192 bc_x%Twall_in = dflt_real
193# 134 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
194 bc_x%Twall_out = dflt_real
195# 135 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
196# 131 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
197 bc_y%isothermal_in = .false.
198# 132 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
199 bc_y%isothermal_out = .false.
200# 133 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
201 bc_y%Twall_in = dflt_real
202# 134 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
203 bc_y%Twall_out = dflt_real
204# 135 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
205# 131 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
206 bc_z%isothermal_in = .false.
207# 132 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
208 bc_z%isothermal_out = .false.
209# 133 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
210 bc_z%Twall_in = dflt_real
211# 134 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
212 bc_z%Twall_out = dflt_real
213# 135 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
214# 136 "/home/runner/work/MFC/MFC/src/pre_process/m_global_parameters.fpp"
300 do i = 1, num_bc_patches_max
331 do i = 1, num_ib_patches_max_namelist
380 patch_ib(i)%centroid_offset(:) = 0._wp
384 patch_ib(i)%rotation_matrix(1, 1) = 1._wp
385 patch_ib(i)%rotation_matrix(2, 2) = 1._wp
386 patch_ib(i)%rotation_matrix(3, 3) = 1._wp
391 do i = 1, num_particle_clouds_max
412 do i = 1, num_ib_airfoils_max
421 do i = 1, num_stl_models_max
425 stl_models(i)%model_threshold = ray_tracing_threshold
437 do i = 1, num_fluids_max
442 fluid_pp(i)%mg_gruneisen = dflt_real
457 fluid_pp(i)%vinet_gruneisen = dflt_real
458 fluid_pp(i)%vinet_gruneisen_a = 0._wp
482 bub_pp%ss = dflt_real;
ss = dflt_real
483 bub_pp%pv = dflt_real;
pv = dflt_real
484 bub_pp%vd = dflt_real;
vd = dflt_real
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_assign_ic_patch_defaults
Assign default values to the initial condition patch inputs (pre_process and simulation).
logical elliptic_smoothing
type(ib_stl_parameters), dimension(num_stl_models_max) stl_models
Per-STL model parameters.
impure subroutine s_finalize_global_parameters_common
Shared finalize core: deallocate proc_coords and start_idx. Per-target finalize routines call this fi...
integer perturb_sph_fluid
type(subgrid_bubble_physical_parameters) bub_pp
Subgrid bubble physical parameters.
integer sys_size
Number of unknowns in system of equations.
real(wp) mixlayer_perturb_k0
logical euler_lagrange
Lagrangian bubbles or particles are on. Derived, never read from the namelist.
real(wp) perturb_flow_mag
type(physical_parameters), dimension(num_fluids_max) fluid_pp
Per-fluid stiffened-gas EOS parameters, Reynolds numbers, and shear modulus.
type(bc_patch_parameters), dimension(num_bc_patches_max) patch_bc
Boundary condition patch parameters.
type(eqn_idx_info) eqn_idx
All conserved-variable equation index ranges and scalars.
real(wp), dimension(num_fluids_max) fluid_rho
integer perturb_flow_fluid
type(ib_patch_parameters), dimension(num_ib_patches_max_namelist) patch_ib
Immersed boundary patch parameters.
impure subroutine s_initialize_parallel_io_common
Configure MPI parallel I/O settings and allocate processor coordinate arrays. Shared across all three...
type(particle_cloud_parameters), dimension(num_particle_clouds_max) particle_cloud
Particle bed specifications.
type(ib_airfoil_parameters), dimension(num_ib_airfoils_max) ib_airfoil
Per-airfoil NACA user inputs.
type(simplex_noise_params) simplex_params
impure subroutine s_assign_common_defaults
Assign default values to the user-input parameters that are shared across all three executables (pre_...
integer mixlayer_perturb_nk
integer elliptic_smoothing_iters
integer num_particle_clouds
impure subroutine s_initialize_eqn_idx(nmom_in, nb_in, six_eqn_alf_is_advected)
Initialize equation-index state (eqn_idx and sys_size) from the namelist parameters....
Defines global parameters for the computational domain, simulation algorithm, and initial conditions.
type(int_bounds_info) ib_bc_z
bc_x/y/z before decomposition overwrites them with MPI neighbor ranks
integer grid_geometry
Cylindrical coordinates (either axisymmetric or full 3D).
integer p_glb
Global number of cells in each direction.
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
Deallocate all global grid, index, and equation-of-state parameter arrays.
real(wp), dimension(:), allocatable im_trans_c
type(int_bounds_info), dimension(1:3) idwint
type(int_bounds_info) ib_bc_y
type(int_bounds_info), dimension(3) nidx
type(int_bounds_info) ib_bc_x
type(int_bounds_info) bc_z
Boundary conditions in the x-, y- and z-coordinate directions.
real(wp), dimension(:), allocatable pb0
real(wp), dimension(:), allocatable im_trans_t
type(qbmm_idx_info) qbmm_idx
QBMM moment index mappings.
type(bubbles_lagrange_parameters) lag_params
Lagrange bubbles' parameters (pre_process-local; not in generated_decls).
real(wp), dimension(:), allocatable y_cc
logical non_axis_sym
Use existing IC data.
integer proc_rank
Rank of the local processor Number of cells in the x-, y- and z-coordinate directions.
real(wp), dimension(:), allocatable re_trans_t
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.
real(wp), dimension(:), allocatable weight
real(wp), dimension(:), allocatable k_v
type(bounds_info) x_domain
integer fd_number
FD half-stencil size: MAX(1, fd_order/2).
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(int_bounds_info) bc_y
integer, dimension(:,:,:), allocatable neighbor_ranks
Neighbor ranks.
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...
real(wp), dimension(:), allocatable x_cc
Locations of cell-centers (cc) in x-, y- and z-directions, respectively.
real(wp), dimension(:), allocatable k_g
type(ib_airfoil_grid), dimension(:), allocatable ib_airfoil_grids
Per-airfoil computed surface grids (unused in pre_process).
type(chemistry_parameters) chem_params
integer fd_order
Finite-difference order for CoM/probe derivative approximations.
type(int_bounds_info) bc_x
real(wp), dimension(:), allocatable x_cb
Locations of cell-boundaries (cb) in x-, y- and z-directions, respectively.
type(bounds_info) y_domain
real(wp), dimension(:), allocatable z_cc
integer num_procs
Number of processors.
integer nmom
Number of carried moments.
type(cell_num_bounds) cells_bounds
real(wp), dimension(:), allocatable mass_g0
type(mpi_io_var), public mpi_io_data
impure subroutine s_initialize_parallel_io
Configure MPI parallel I/O settings and allocate processor coordinate arrays.
real(wp), dimension(:), allocatable omegan
real(wp), dimension(:), allocatable re_trans_c
type(bc_xyz_info) bc
Combined BC storage (used by the shared beta-buffer routines; pre-process-local).
real(wp), dimension(:), allocatable pe_t
real(wp), dimension(:), allocatable mass_v0
integer(kind=8) nglobal
Global number of cells in the domain.
Basic floating-point utilities: approximate equality, default detection, and coordinate bounds.
elemental subroutine, public s_update_cell_bounds(bounds, m, n, p)
Update 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, euler_lagrange, m, n, p, num_dims, igr, ib, fd_number)
Compute ghost-cell buffer size and set interior/buffered coordinate index bounds.
Groups the x, y, z boundary condition begin/end codes for passing as a single argument.
Derived type adding beginning (beg) and end bounds info as attributes.
Lagrangian bubble parameters.
Max and min number of cells in a direction of each combination of x-,y-, and z-.
Computed surface grid for a NACA airfoil (simulation-only, not in namelist).
Integer bounds for variables.
Derived type for bubble variables pb and mv at quadrature nodes (qbmm).
QBMM moment index mappings - separate from bub beg/end so eqn_idx contains no allocatables.