MFC:Pre_process  v1.0
m_global_parameters.f90 File Reference

Contains module m_global_parameters. More...

Go to the source code of this file.

Modules

module  m_global_parameters
 This module contains all of the parameters characterizing the computational domain, simulation algorithm, initial condition and the stiffened equation of state.
 

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. More...
 
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. More...
 
subroutine m_global_parameters::s_initialize_nonpoly
 Initializes and computes bubble properties for non-polytropic processes. More...
 
subroutine m_global_parameters::s_transcoeff (omega, peclet, Re_trans, Im_trans)
 Computes the transfer coefficient for the non-polytropic bubble compression process. More...
 
subroutine m_global_parameters::s_initialize_parallel_io ()
 
subroutine m_global_parameters::s_finalize_global_parameters_module ()
 
subroutine m_global_parameters::s_comp_n_from_cons (vftmp, nRtmp, ntmp)
 Computes the bubble number density n from the conservative variables. More...
 
subroutine m_global_parameters::s_comp_n_from_prim (vftmp, Rtmp, ntmp)
 Computes the bubble number density n from the primitive variables. More...
 
subroutine m_global_parameters::s_quad (func, mom)
 Computes the quadrature for polydisperse bubble populations. More...
 
subroutine m_global_parameters::s_simpson (Npt)
 Computes the Simpson weights for quadrature. More...
 

Variables

integer m_global_parameters::num_procs
 Number of processors. More...
 
integer, parameter m_global_parameters::num_stcls_min = 5
 Mininum # of stencils. More...
 
integer, parameter m_global_parameters::path_len = 400
 Maximum path length. More...
 
integer, parameter m_global_parameters::name_len = 50
 Maximum name length. More...
 
real(kind(0d0)), parameter m_global_parameters::dflt_real = -1d6
 Default real value. More...
 
integer, parameter m_global_parameters::dflt_int = -100
 Default integer value. More...
 
character(len=path_len) m_global_parameters::case_dir
 Case folder location. More...
 
logical m_global_parameters::old_grid
 Use existing grid data. More...
 
logical m_global_parameters::old_ic
 Use existing IC data. More...
 
integer m_global_parameters::t_step_old
 Existing IC/grid folder. More...
 
integer m_global_parameters::proc_rank
 Rank of the local processor. More...
 
integer m_global_parameters::m
 
integer m_global_parameters::n
 
integer m_global_parameters::p
 Number of cells in the x-, y- and z-coordinate directions. More...
 
integer m_global_parameters::m_glb
 
integer m_global_parameters::n_glb
 
integer m_global_parameters::p_glb
 Global number of cells in each direction. More...
 
integer m_global_parameters::num_dims
 Number of spatial dimensions. More...
 
logical m_global_parameters::cyl_coord
 
integer m_global_parameters::grid_geometry
 Cylindrical coordinates (either axisymmetric or full 3D) More...
 
real(kind(0d0)), dimension(:), allocatable m_global_parameters::x_cc
 
real(kind(0d0)), dimension(:), allocatable m_global_parameters::y_cc
 
real(kind(0d0)), dimension(:), allocatable m_global_parameters::z_cc
 Locations of cell-centers (cc) in x-, y- and z-directions, respectively. More...
 
real(kind(0d0)), dimension(:), allocatable m_global_parameters::x_cb
 
real(kind(0d0)), dimension(:), allocatable m_global_parameters::y_cb
 
real(kind(0d0)), dimension(:), allocatable m_global_parameters::z_cb
 Locations of cell-boundaries (cb) in x-, y- and z-directions, respectively. More...
 
real(kind(0d0)) m_global_parameters::dx
 
real(kind(0d0)) m_global_parameters::dy
 
real(kind(0d0)) m_global_parameters::dz
 Minimum cell-widths in the x-, y- and z-coordinate directions. More...
 
type(bounds_info) m_global_parameters::x_domain
 
type(bounds_info) m_global_parameters::y_domain
 
type(bounds_info) m_global_parameters::z_domain
 Locations of the domain bounds in the x-, y- and z-coordinate directions. More...
 
logical m_global_parameters::stretch_x
 
logical m_global_parameters::stretch_y
 
logical m_global_parameters::stretch_z
 Grid stretching flags for the x-, y- and z-coordinate directions. More...
 
real(kind(0d0)) m_global_parameters::a_x
 
real(kind(0d0)) m_global_parameters::a_y
 
real(kind(0d0)) m_global_parameters::a_z
 
integer m_global_parameters::loops_x
 
integer m_global_parameters::loops_y
 
integer m_global_parameters::loops_z
 
real(kind(0d0)) m_global_parameters::x_a
 
real(kind(0d0)) m_global_parameters::y_a
 
real(kind(0d0)) m_global_parameters::z_a
 
real(kind(0d0)) m_global_parameters::x_b
 
real(kind(0d0)) m_global_parameters::y_b
 
real(kind(0d0)) m_global_parameters::z_b
 
integer m_global_parameters::model_eqns
 Multicomponent flow model. More...
 
integer m_global_parameters::num_fluids
 Number of different fluids present in the flow. More...
 
logical m_global_parameters::adv_alphan
 Advection of the last volume fraction. More...
 
logical m_global_parameters::mpp_lim
 Alpha limiter. More...
 
integer m_global_parameters::sys_size
 Number of unknowns in the system of equations. More...
 
integer m_global_parameters::weno_order
 Order of accuracy for the WENO reconstruction. More...
 
type(int_bounds_info) m_global_parameters::cont_idx
 Indexes of first & last continuity eqns. More...
 
type(int_bounds_info) m_global_parameters::mom_idx
 Indexes of first & last momentum eqns. More...
 
integer m_global_parameters::e_idx
 Index of total energy equation. More...
 
integer m_global_parameters::alf_idx
 Index of void fraction. More...
 
type(int_bounds_info) m_global_parameters::adv_idx
 Indexes of first & last advection eqns. More...
 
type(int_bounds_info) m_global_parameters::internalenergies_idx
 Indexes of first & last internal energy eqns. More...
 
type(bub_bounds_info) m_global_parameters::bub_idx
 Indexes of first & last bubble variable eqns. More...
 
integer m_global_parameters::gamma_idx
 Index of specific heat ratio func. eqn. More...
 
integer m_global_parameters::pi_inf_idx
 Index of liquid stiffness func. eqn. More...
 
type(bounds_info) m_global_parameters::bc_x
 
type(bounds_info) m_global_parameters::bc_y
 
type(bounds_info) m_global_parameters::bc_z
 Boundary conditions in the x-, y- and z-coordinate directions. More...
 
logical m_global_parameters::parallel_io
 Format of the data files. More...
 
integer m_global_parameters::precision
 Precision of output files. More...
 
logical m_global_parameters::perturb_flow
 
integer m_global_parameters::perturb_flow_fluid
 Fluid to be perturbed with perturb_flow flag. More...
 
logical m_global_parameters::perturb_sph
 
integer m_global_parameters::perturb_sph_fluid
 Fluid to be perturbed with perturb_sph flag. More...
 
real(kind(0d0)), dimension(num_fluids_max) m_global_parameters::fluid_rho
 
integer, dimension(:), allocatable m_global_parameters::proc_coords
 Processor coordinates in MPI_CART_COMM. More...
 
integer, dimension(:), allocatable m_global_parameters::start_idx
 Starting cell-center index of local processor in global grid. More...
 
type(mpi_io_var), public m_global_parameters::mpi_io_data
 
character(len=name_len) m_global_parameters::mpiiofs
 
integer m_global_parameters::mpi_info_int
 MPI info for parallel IO with Lustre file systems. More...
 
integer, private m_global_parameters::ierr
 
integer m_global_parameters::num_patches
 Number of patches composing initial condition. More...
 
type(ic_patch_parameters), dimension(num_patches_max) m_global_parameters::patch_icpp
 Database of the initial condition patch parameters (icpp) for each of the patches employed in the configuration of the initial condition. Note that the maximum allowable number of patches, num_patches_max, may be changed in the module m_derived_types.f90. More...
 
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. More...
 
real(kind(0d0)) m_global_parameters::rhoref
 
real(kind(0d0)) m_global_parameters::pref
 Reference parameters for Tait EOS. More...
 
integer, dimension(:,:,:), allocatable m_global_parameters::logic_grid
 
real(kind(0d0)), parameter m_global_parameters::pi = 3.141592653589793d0
 
Bubble modeling
integer m_global_parameters::nb
 
real(kind(0d0)) m_global_parameters::r0ref
 
real(kind(0d0)) m_global_parameters::ca
 
real(kind(0d0)) m_global_parameters::web
 
real(kind(0d0)) m_global_parameters::re_inv
 
real(kind(0d0)), dimension(:), allocatable m_global_parameters::weight
 
real(kind(0d0)), dimension(:), allocatable m_global_parameters::r0
 
real(kind(0d0)), dimension(:), allocatable m_global_parameters::v0
 
logical m_global_parameters::bubbles
 
Non-polytropic bubble gas compression
logical m_global_parameters::polytropic
 
logical m_global_parameters::polydisperse
 
integer m_global_parameters::thermal
 
real(kind(0d0)) m_global_parameters::r_n
 
real(kind(0d0)) m_global_parameters::r_v
 
real(kind(0d0)) m_global_parameters::phi_vn
 
real(kind(0d0)) m_global_parameters::phi_nv
 
real(kind(0d0)) m_global_parameters::pe_c
 
real(kind(0d0)) m_global_parameters::tw
 
real(kind(0d0)), dimension(:), allocatable m_global_parameters::k_n
 
real(kind(0d0)), dimension(:), allocatable m_global_parameters::k_v
 
real(kind(0d0)), dimension(:), allocatable m_global_parameters::pb0
 
real(kind(0d0)), dimension(:), allocatable m_global_parameters::mass_n0
 
real(kind(0d0)), dimension(:), allocatable m_global_parameters::mass_v0
 
real(kind(0d0)), dimension(:), allocatable m_global_parameters::pe_t
 
real(kind(0d0)), dimension(:), allocatable m_global_parameters::re_trans_t
 
real(kind(0d0)), dimension(:), allocatable m_global_parameters::re_trans_c
 
real(kind(0d0)), dimension(:), allocatable m_global_parameters::im_trans_t
 
real(kind(0d0)), dimension(:), allocatable m_global_parameters::im_trans_c
 
real(kind(0d0)), dimension(:), allocatable m_global_parameters::omegan
 
real(kind(0d0)) m_global_parameters::poly_sigma
 

Detailed Description

Contains module m_global_parameters.

Author
S. Bryngelson, K. Schimdmayer, V. Coralic, J. Meng, K. Maeda, T. Colonius
Version
1.0
Date
JUNE 06 2019

Definition in file m_global_parameters.f90.