Loading [MathJax]/extensions/tex2jax.js
MFC: Post-Process
High-fidelity multiphase flow simulation
All Classes Namespaces Files Functions Variables Pages
m_global_parameters.fpp.f90 File Reference

Modules

module  m_global_parameters
 This module contains all of the parameters characterizing the computational domain, simulation algorithm, stiffened equation of state and finally, the formatted database file(s) structure.
 

Functions/Subroutines

subroutine m_global_parameters::s_assign_default_values_to_user_inputs
 Assigns default values to user inputs prior to reading them in. This allows for an easier consistency check of these parameters once they are read from the input file.
 
subroutine m_global_parameters::s_initialize_global_parameters_module
 Computation of parameters, allocation procedures, and/or any other tasks needed to properly setup the module.
 
subroutine m_global_parameters::s_initialize_parallel_io
 Subroutine to initialize parallel infrastructure.
 
subroutine m_global_parameters::s_finalize_global_parameters_module
 Deallocation procedures for the module.
 

Variables

integer m_global_parameters::proc_rank
 Rank of the local processor.
 
integer(8) m_global_parameters::nglobal
 
integer m_global_parameters::num_dims
 Number of spatial dimensions.
 
integer m_global_parameters::buff_size
 Number of cells in buffer region. For the variables which feature a buffer region, this region is used to store information outside the computational domain based on the boundary conditions.
 
integer m_global_parameters::t_step_start
 First time-step directory.
 
integer m_global_parameters::t_step_stop
 Last time-step directory.
 
integer m_global_parameters::t_step_save
 Interval between consecutive time-step directory.
 
integer m_global_parameters::avg_state
 Average state evaluation method.
 
type(int_bounds_info), dimension(1:3) m_global_parameters::idwint
 
type(int_bounds_info), dimension(1:3) m_global_parameters::idwbuff
 
logical m_global_parameters::parallel_io
 Format of the data files.
 
logical m_global_parameters::sim_data
 
logical m_global_parameters::file_per_process
 output format
 
integer, dimension(:), allocatable m_global_parameters::proc_coords
 Processor coordinates in MPI_CART_COMM.
 
integer, dimension(:), allocatable m_global_parameters::start_idx
 Starting cell-center index of local processor in global grid.
 
integer m_global_parameters::num_ibs
 Number of immersed boundaries.
 
type(mpi_io_var), public m_global_parameters::mpi_io_data
 
type(mpi_io_ib_var), public m_global_parameters::mpi_io_ib_data
 
type(mpi_io_levelset_var), public m_global_parameters::mpi_io_levelset_data
 
type(mpi_io_levelset_norm_var), public m_global_parameters::mpi_io_levelsetnorm_data
 
real(wp), dimension(:, :), allocatable, public m_global_parameters::mpi_io_data_lg_bubbles
 
integer, private m_global_parameters::ierr
 
type(physical_parameters), dimension(num_fluids_max) m_global_parameters::fluid_pp
 Database of the physical parameters of each of the fluids that is present in the flow. These include the stiffened gas equation of state parameters, the Reynolds numbers and the Weber numbers.
 
real(wp), dimension(:), allocatable m_global_parameters::adv
 Advection variables.
 
integer m_global_parameters::format
 Format of the database file(s)
 
integer m_global_parameters::precision
 Floating point precision of the database file(s)
 
logical m_global_parameters::output_partial_domain
 Specify portion of domain to output for post-processing.
 
type(bounds_infom_global_parameters::x_output
 
type(bounds_infom_global_parameters::y_output
 
type(bounds_infom_global_parameters::z_output
 Portion of domain to output for post-processing.
 
type(int_bounds_infom_global_parameters::x_output_idx
 
type(int_bounds_infom_global_parameters::y_output_idx
 
type(int_bounds_infom_global_parameters::z_output_idx
 Indices of domain to output for post-processing.
 
real(wp), dimension(num_fluids_max) m_global_parameters::schlieren_alpha
 Amplitude coefficients of the numerical Schlieren function that are used to adjust the intensity of numerical Schlieren renderings for individual fluids. This enables waves and interfaces of varying strengths and in all of the fluids to be made simultaneously visible on a single plot.
 
integer m_global_parameters::fd_order
 The order of the finite-difference (fd) approximations of the first-order derivatives that need to be evaluated when vorticity and/or the numerical Schlieren function are to be outputted to the formatted database file(s).
 
integer m_global_parameters::fd_number
 The finite-difference number is given by MAX(1, fd_order/2). Essentially, it is a measure of the half-size of the finite-difference stencil for the selected order of accuracy.
 
Logistics
integer m_global_parameters::num_procs
 Number of processors.
 
character(len=path_len) m_global_parameters::case_dir
 Case folder location.
 
Number of cells in the x-, y- and z-coordinate directions
integer m_global_parameters::m
 
integer m_global_parameters::m_root
 
integer m_global_parameters::n
 
integer m_global_parameters::p
 
Cylindrical coordinates (either axisymmetric or full 3D)
logical m_global_parameters::cyl_coord
 
integer m_global_parameters::grid_geometry
 
Global number of cells in each direction
integer m_global_parameters::m_glb
 
integer m_global_parameters::n_glb
 
integer m_global_parameters::p_glb
 
Cell-boundary locations in the x-, y- and z-coordinate directions
real(wp), dimension(:), allocatable m_global_parameters::x_cb
 
real(wp), dimension(:), allocatable m_global_parameters::x_root_cb
 
real(wp), dimension(:), allocatable m_global_parameters::y_cb
 
real(wp), dimension(:), allocatable m_global_parameters::z_cb
 
real(wp), dimension(:), allocatable m_global_parameters::x_cb_s
 
real(wp), dimension(:), allocatable m_global_parameters::y_cb_s
 
real(wp), dimension(:), allocatable m_global_parameters::z_cb_s
 
Cell-center locations in the x-, y- and z-coordinate directions
real(wp), dimension(:), allocatable m_global_parameters::x_cc
 
real(wp), dimension(:), allocatable m_global_parameters::x_root_cc
 
real(wp), dimension(:), allocatable m_global_parameters::y_cc
 
real(wp), dimension(:), allocatable m_global_parameters::z_cc
 
real(sp), dimension(:), allocatable m_global_parameters::x_root_cc_s
 
real(sp), dimension(:), allocatable m_global_parameters::x_cc_s
 
real(wp), dimension(:), allocatable m_global_parameters::dx
 Cell-width distributions in the x-, y- and z-coordinate directions.
 
real(wp), dimension(:), allocatable m_global_parameters::dy
 
real(wp), dimension(:), allocatable m_global_parameters::dz
 
IO options for adaptive time-stepping
logical m_global_parameters::cfl_adap_dt
 
logical m_global_parameters::cfl_const_dt
 
logical m_global_parameters::cfl_dt
 
real(wp) m_global_parameters::t_save
 
real(wp) m_global_parameters::t_stop
 
real(wp) m_global_parameters::cfl_target
 
integer m_global_parameters::n_save
 
integer m_global_parameters::n_start
 
Simulation Algorithm Parameters
integer m_global_parameters::model_eqns
 Multicomponent flow model.
 
integer m_global_parameters::num_fluids
 Number of different fluids present in the flow.
 
logical m_global_parameters::relax
 phase change
 
integer m_global_parameters::relax_model
 Phase change relaxation model.
 
logical m_global_parameters::mpp_lim
 Maximum volume fraction limiter.
 
integer m_global_parameters::sys_size
 Number of unknowns in the system of equations.
 
integer m_global_parameters::weno_order
 Order of accuracy for the WENO reconstruction.
 
logical m_global_parameters::mixture_err
 Mixture error limiter.
 
logical m_global_parameters::alt_soundspeed
 Alternate sound speed.
 
logical m_global_parameters::hypoelasticity
 Turn hypoelasticity on.
 
logical m_global_parameters::hyperelasticity
 Turn hyperelasticity on.
 
logical m_global_parameters::elasticity
 elasticity modeling, true for hyper or hypo
 
integer m_global_parameters::b_size
 Number of components in the b tensor.
 
integer m_global_parameters::tensor_size
 Number of components in the nonsymmetric tensor.
 
logical, parameter m_global_parameters::chemistry = .False.
 Chemistry modeling.
 
Annotations of the structure, i.e. the organization, of the state vectors
type(int_bounds_infom_global_parameters::cont_idx
 Indexes of first & last continuity eqns.
 
type(int_bounds_infom_global_parameters::mom_idx
 Indexes of first & last momentum eqns.
 
integer m_global_parameters::e_idx
 Index of energy equation.
 
integer m_global_parameters::n_idx
 Index of number density.
 
type(int_bounds_infom_global_parameters::adv_idx
 Indexes of first & last advection eqns.
 
type(int_bounds_infom_global_parameters::internalenergies_idx
 Indexes of first & last internal energy eqns.
 
type(bub_bounds_infom_global_parameters::bub_idx
 Indexes of first & last bubble variable eqns.
 
integer m_global_parameters::gamma_idx
 Index of specific heat ratio func. eqn.
 
integer m_global_parameters::alf_idx
 Index of specific heat ratio func. eqn.
 
integer m_global_parameters::pi_inf_idx
 Index of liquid stiffness func. eqn.
 
type(int_bounds_infom_global_parameters::stress_idx
 Indices of elastic stresses.
 
type(int_bounds_infom_global_parameters::xi_idx
 Indexes of first and last reference map eqns.
 
integer m_global_parameters::c_idx
 Index of color function.
 
type(int_bounds_infom_global_parameters::species_idx
 Indexes of first & last concentration eqns.
 
Boundary conditions in the x-, y- and z-coordinate directions
type(int_bounds_infom_global_parameters::bc_x
 
type(int_bounds_infom_global_parameters::bc_y
 
type(int_bounds_infom_global_parameters::bc_z
 
MPI info for parallel IO with Lustre file systems
character(len=name_len) m_global_parameters::mpiiofs
 
integer m_global_parameters::mpi_info_int
 
Size of the ghost zone layer in the x-, y- and z-coordinate directions.

The definition of the ghost zone layers is only necessary when using the Silo database file format in multidimensions. These zones provide VisIt with the subdomain connectivity information that it requires in order to produce smooth plots.

type(int_bounds_infom_global_parameters::offset_x
 
type(int_bounds_infom_global_parameters::offset_y
 
type(int_bounds_infom_global_parameters::offset_z
 
The list of all possible flow variables that may be written to a database

file. It includes partial densities, density, momentum, velocity, energy, pressure, volume fraction(s), specific heat ratio function, specific heat ratio, liquid stiffness function, liquid stiffness, primitive variables, conservative variables, speed of sound, the vorticity, and the numerical Schlieren function.

logical, dimension(num_fluids_max) m_global_parameters::alpha_rho_wrt
 
logical m_global_parameters::rho_wrt
 
logical, dimension(3) m_global_parameters::mom_wrt
 
logical, dimension(3) m_global_parameters::vel_wrt
 
integer m_global_parameters::flux_lim
 
logical, dimension(3) m_global_parameters::flux_wrt
 
logical m_global_parameters::e_wrt
 
logical m_global_parameters::pres_wrt
 
logical, dimension(num_fluids_max) m_global_parameters::alpha_wrt
 
logical m_global_parameters::gamma_wrt
 
logical m_global_parameters::heat_ratio_wrt
 
logical m_global_parameters::pi_inf_wrt
 
logical m_global_parameters::pres_inf_wrt
 
logical m_global_parameters::prim_vars_wrt
 
logical m_global_parameters::cons_vars_wrt
 
logical m_global_parameters::c_wrt
 
logical, dimension(3) m_global_parameters::omega_wrt
 
logical m_global_parameters::qm_wrt
 
logical m_global_parameters::schlieren_wrt
 
logical m_global_parameters::cf_wrt
 
logical m_global_parameters::ib
 
logical, dimension(1:num_species) m_global_parameters::chem_wrt_y
 
logical m_global_parameters::chem_wrt_t
 
Reference parameters for Tait EOS
real(wp) m_global_parameters::rhoref
 
real(wp) m_global_parameters::pref
 
Bubble modeling variables and parameters
integer m_global_parameters::nb
 
real(wp) m_global_parameters::r0ref
 
real(wp) m_global_parameters::ca
 
real(wp) m_global_parameters::web
 
real(wp) m_global_parameters::re_inv
 
real(wp), dimension(:), allocatable m_global_parameters::weight
 
real(wp), dimension(:), allocatable m_global_parameters::r0
 
real(wp), dimension(:), allocatable m_global_parameters::v0
 
logical m_global_parameters::bubbles_euler
 
logical m_global_parameters::qbmm
 
logical m_global_parameters::polytropic
 
logical m_global_parameters::polydisperse
 
logical m_global_parameters::adv_n
 
integer m_global_parameters::thermal
 1 = adiabatic, 2 = isotherm, 3 = transfer
 
real(wp) m_global_parameters::r_n
 
real(wp) m_global_parameters::r_v
 
real(wp) m_global_parameters::phi_vn
 
real(wp) m_global_parameters::phi_nv
 
real(wp) m_global_parameters::pe_c
 
real(wp) m_global_parameters::tw
 
real(wp) m_global_parameters::g
 
real(wp) m_global_parameters::pv
 
real(wp) m_global_parameters::m_n
 
real(wp) m_global_parameters::m_v
 
real(wp), dimension(:), allocatable m_global_parameters::k_n
 
real(wp), dimension(:), allocatable m_global_parameters::k_v
 
real(wp), dimension(:), allocatable m_global_parameters::pb0
 
real(wp), dimension(:), allocatable m_global_parameters::mass_n0
 
real(wp), dimension(:), allocatable m_global_parameters::mass_v0
 
real(wp), dimension(:), allocatable m_global_parameters::pe_t
 
real(wp), dimension(:), allocatable m_global_parameters::re_trans_t
 
real(wp), dimension(:), allocatable m_global_parameters::re_trans_c
 
real(wp), dimension(:), allocatable m_global_parameters::im_trans_t
 
real(wp), dimension(:), allocatable m_global_parameters::im_trans_c
 
real(wp), dimension(:), allocatable m_global_parameters::omegan
 
real(wp) m_global_parameters::mul0
 
real(wp) m_global_parameters::ss
 
real(wp) m_global_parameters::gamma_v
 
real(wp) m_global_parameters::mu_v
 
real(wp) m_global_parameters::gamma_m
 
real(wp) m_global_parameters::gamma_n
 
real(wp) m_global_parameters::mu_n
 
real(wp) m_global_parameters::poly_sigma
 
real(wp) m_global_parameters::sigr
 
integer m_global_parameters::nmom
 
surface tension coefficient
real(wp) m_global_parameters::sigma
 
logical m_global_parameters::surface_tension
 
Index variables used for m_variables_conversion

#}

integer m_global_parameters::momxb
 
integer m_global_parameters::momxe
 
integer m_global_parameters::advxb
 
integer m_global_parameters::advxe
 
integer m_global_parameters::contxb
 
integer m_global_parameters::contxe
 
integer m_global_parameters::intxb
 
integer m_global_parameters::intxe
 
integer m_global_parameters::bubxb
 
integer m_global_parameters::bubxe
 
integer m_global_parameters::strxb
 
integer m_global_parameters::strxe
 
integer m_global_parameters::xibeg
 
integer m_global_parameters::xiend
 
integer m_global_parameters::chemxb
 
integer m_global_parameters::chemxe
 
Lagrangian bubbles
logical m_global_parameters::bubbles_lagrange
 
logical m_global_parameters::rkck_adap_dt