MFC: Post-Process
High-fidelity multiphase flow simulation
|
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. More...
Functions/Subroutines | |
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 check of these parameters once they are read from the input file. | |
subroutine | s_initialize_global_parameters_module () |
Computation of parameters, allocation procedures, and/or any other tasks needed to properly setup the module. | |
subroutine | s_initialize_parallel_io () |
Subroutine to initialize parallel infrastructure. | |
subroutine | s_finalize_global_parameters_module () |
Deallocation procedures for the module. | |
Variables | |
integer | proc_rank |
Rank of the local processor. | |
integer(8) | nglobal |
integer | num_dims |
Number of spatial dimensions. | |
integer | 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 | t_step_start |
First time-step directory. | |
integer | t_step_stop |
Last time-step directory. | |
integer | t_step_save |
Interval between consecutive time-step directory. | |
logical | parallel_io |
Format of the data files. | |
logical | file_per_process |
output format | |
integer, dimension(:), allocatable | proc_coords |
Processor coordinates in MPI_CART_COMM. | |
integer, dimension(:), allocatable | start_idx |
Starting cell-center index of local processor in global grid. | |
type(mpi_io_var), public | mpi_io_data |
integer, private | ierr |
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. These include the stiffened gas equation of state parameters, the Reynolds numbers and the Weber numbers. | |
real(kind(0d0)), dimension(:), allocatable | adv |
Advection variables. | |
integer | format |
Format of the database file(s) | |
integer | precision |
Floating point precision of the database file(s) | |
real(kind(0d0)), dimension(num_fluids_max) | 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 | 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 | 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 | num_procs |
Number of processors. | |
character(len=path_len) | case_dir |
Case folder location. | |
Number of cells in the x-, y- and z-coordinate directions | |
integer | m |
integer | m_root |
integer | n |
integer | p |
Cylindrical coordinates (either axisymmetric or full 3D) | |
logical | cyl_coord |
integer | grid_geometry |
Global number of cells in each direction | |
integer | m_glb |
integer | n_glb |
integer | p_glb |
Cell-boundary locations in the x-, y- and z-coordinate directions | |
real(kind(0d0)), dimension(:), allocatable | x_cb |
real(kind(0d0)), dimension(:), allocatable | x_root_cb |
real(kind(0d0)), dimension(:), allocatable | y_cb |
real(kind(0d0)), dimension(:), allocatable | z_cb |
real(kind(0.0)), dimension(:), allocatable | x_cb_s |
real(kind(0.0)), dimension(:), allocatable | y_cb_s |
real(kind(0.0)), dimension(:), allocatable | z_cb_s |
Cell-center locations in the x-, y- and z-coordinate directions | |
real(kind(0d0)), dimension(:), allocatable | x_cc |
real(kind(0d0)), dimension(:), allocatable | x_root_cc |
real(kind(0d0)), dimension(:), allocatable | y_cc |
real(kind(0d0)), dimension(:), allocatable | z_cc |
real(kind(0d0)), dimension(:), allocatable | dx |
Cell-width distributions in the x-, y- and z-coordinate directions. | |
real(kind(0d0)), dimension(:), allocatable | dy |
real(kind(0d0)), dimension(:), allocatable | dz |
Simulation Algorithm Parameters | |
integer | model_eqns |
Multicomponent flow model. | |
integer | num_fluids |
Number of different fluids present in the flow. | |
logical | relax |
phase change | |
integer | relax_model |
Phase change relaxation model. | |
logical | adv_alphan |
Advection of the last volume fraction. | |
logical | mpp_lim |
Maximum volume fraction limiter. | |
integer | sys_size |
Number of unknowns in the system of equations. | |
integer | weno_order |
Order of accuracy for the WENO reconstruction. | |
logical | mixture_err |
Mixture error limiter. | |
logical | alt_soundspeed |
Alternate sound speed. | |
logical | hypoelasticity |
Turn hypoelasticity on. | |
Annotations of the structure, i.e. the organization, of the state vectors | |
type(int_bounds_info) | cont_idx |
Indexes of first & last continuity eqns. | |
type(int_bounds_info) | mom_idx |
Indexes of first & last momentum eqns. | |
integer | e_idx |
Index of energy equation. | |
type(int_bounds_info) | adv_idx |
Indexes of first & last advection eqns. | |
type(int_bounds_info) | internalenergies_idx |
Indexes of first & last internal energy eqns. | |
type(bub_bounds_info) | bub_idx |
Indexes of first & last bubble variable eqns. | |
integer | gamma_idx |
Index of specific heat ratio func. eqn. | |
integer | alf_idx |
Index of specific heat ratio func. eqn. | |
integer | pi_inf_idx |
Index of liquid stiffness func. eqn. | |
type(int_bounds_info) | stress_idx |
Indices of elastic stresses. | |
Boundary conditions in the x-, y- and z-coordinate directions | |
type(int_bounds_info) | bc_x |
type(int_bounds_info) | bc_y |
type(int_bounds_info) | bc_z |
MPI info for parallel IO with Lustre file systems | |
character(len=name_len) | mpiiofs |
integer | 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_info) | offset_x |
type(int_bounds_info) | offset_y |
type(int_bounds_info) | 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) | alpha_rho_wrt |
logical | rho_wrt |
logical, dimension(3) | mom_wrt |
logical, dimension(3) | vel_wrt |
integer | flux_lim |
logical, dimension(3) | flux_wrt |
logical | e_wrt |
logical | pres_wrt |
logical, dimension(num_fluids_max) | alpha_wrt |
logical | gamma_wrt |
logical | heat_ratio_wrt |
logical | pi_inf_wrt |
logical | pres_inf_wrt |
logical | prim_vars_wrt |
logical | cons_vars_wrt |
logical | c_wrt |
logical, dimension(3) | omega_wrt |
logical | qm_wrt |
logical | schlieren_wrt |
Reference parameters for Tait EOS | |
real(kind(0d0)) | rhoref |
real(kind(0d0)) | pref |
Bubble modeling variables and parameters | |
integer | nb |
real(kind(0d0)) | r0ref |
real(kind(0d0)) | ca |
real(kind(0d0)) | web |
real(kind(0d0)) | re_inv |
real(kind(0d0)), dimension(:), allocatable | weight |
real(kind(0d0)), dimension(:), allocatable | r0 |
real(kind(0d0)), dimension(:), allocatable | v0 |
logical | bubbles |
logical | qbmm |
logical | polytropic |
logical | polydisperse |
integer | thermal |
1 = adiabatic, 2 = isotherm, 3 = transfer | |
real(kind(0d0)) | r_n |
real(kind(0d0)) | r_v |
real(kind(0d0)) | phi_vn |
real(kind(0d0)) | phi_nv |
real(kind(0d0)) | pe_c |
real(kind(0d0)) | tw |
real(kind(0d0)) | g |
real(kind(0d0)) | pv |
real(kind(0d0)) | m_n |
real(kind(0d0)) | m_v |
real(kind(0d0)), dimension(:), allocatable | k_n |
real(kind(0d0)), dimension(:), allocatable | k_v |
real(kind(0d0)), dimension(:), allocatable | pb0 |
real(kind(0d0)), dimension(:), allocatable | mass_n0 |
real(kind(0d0)), dimension(:), allocatable | mass_v0 |
real(kind(0d0)), dimension(:), allocatable | pe_t |
real(kind(0d0)), dimension(:), allocatable | re_trans_t |
real(kind(0d0)), dimension(:), allocatable | re_trans_c |
real(kind(0d0)), dimension(:), allocatable | im_trans_t |
real(kind(0d0)), dimension(:), allocatable | im_trans_c |
real(kind(0d0)), dimension(:), allocatable | omegan |
real(kind(0d0)) | mul0 |
real(kind(0d0)) | ss |
real(kind(0d0)) | gamma_v |
real(kind(0d0)) | mu_v |
real(kind(0d0)) | gamma_m |
real(kind(0d0)) | gamma_n |
real(kind(0d0)) | mu_n |
real(kind(0d0)) | poly_sigma |
real(kind(0d0)) | sigr |
integer | nmom |
Index variables used for m_variables_conversion | |
integer | momxb |
integer | momxe |
integer | advxb |
integer | advxe |
integer | contxb |
integer | contxe |
integer | intxb |
integer | intxe |
integer | bubxb |
integer | bubxe |
integer | strxb |
integer | strxe |
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.
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_finalize_global_parameters_module |
Deallocation procedures for the module.
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.
real(kind(0d0)), dimension(:), allocatable m_global_parameters::adv |
Advection variables.
logical m_global_parameters::adv_alphan |
Advection of the last volume fraction.
type(int_bounds_info) m_global_parameters::adv_idx |
Indexes of first & last advection eqns.
integer m_global_parameters::advxb |
integer m_global_parameters::advxe |
integer m_global_parameters::alf_idx |
Index of specific heat ratio func. eqn.
logical, dimension(num_fluids_max) m_global_parameters::alpha_rho_wrt |
logical, dimension(num_fluids_max) m_global_parameters::alpha_wrt |
logical m_global_parameters::alt_soundspeed |
Alternate sound speed.
type(int_bounds_info) m_global_parameters::bc_x |
type(int_bounds_info) m_global_parameters::bc_y |
type(int_bounds_info) m_global_parameters::bc_z |
type(bub_bounds_info) m_global_parameters::bub_idx |
Indexes of first & last bubble variable eqns.
logical m_global_parameters::bubbles |
integer m_global_parameters::bubxb |
integer m_global_parameters::bubxe |
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.
logical m_global_parameters::c_wrt |
real(kind(0d0)) m_global_parameters::ca |
character(len=path_len) m_global_parameters::case_dir |
Case folder location.
logical m_global_parameters::cons_vars_wrt |
type(int_bounds_info) m_global_parameters::cont_idx |
Indexes of first & last continuity eqns.
integer m_global_parameters::contxb |
integer m_global_parameters::contxe |
logical m_global_parameters::cyl_coord |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::dx |
Cell-width distributions in the x-, y- and z-coordinate directions.
real(kind(0d0)), dimension(:), allocatable m_global_parameters::dy |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::dz |
integer m_global_parameters::e_idx |
Index of energy equation.
logical m_global_parameters::e_wrt |
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.
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).
logical m_global_parameters::file_per_process |
output format
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.
integer m_global_parameters::flux_lim |
logical, dimension(3) m_global_parameters::flux_wrt |
integer m_global_parameters::format |
Format of the database file(s)
real(kind(0d0)) m_global_parameters::g |
integer m_global_parameters::gamma_idx |
Index of specific heat ratio func. eqn.
real(kind(0d0)) m_global_parameters::gamma_m |
real(kind(0d0)) m_global_parameters::gamma_n |
real(kind(0d0)) m_global_parameters::gamma_v |
logical m_global_parameters::gamma_wrt |
integer m_global_parameters::grid_geometry |
logical m_global_parameters::heat_ratio_wrt |
logical m_global_parameters::hypoelasticity |
Turn hypoelasticity on.
|
private |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::im_trans_c |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::im_trans_t |
type(int_bounds_info) m_global_parameters::internalenergies_idx |
Indexes of first & last internal energy eqns.
integer m_global_parameters::intxb |
integer m_global_parameters::intxe |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::k_n |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::k_v |
integer m_global_parameters::m |
integer m_global_parameters::m_glb |
real(kind(0d0)) m_global_parameters::m_n |
integer m_global_parameters::m_root |
real(kind(0d0)) m_global_parameters::m_v |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::mass_n0 |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::mass_v0 |
logical m_global_parameters::mixture_err |
Mixture error limiter.
integer m_global_parameters::model_eqns |
Multicomponent flow model.
type(int_bounds_info) m_global_parameters::mom_idx |
Indexes of first & last momentum eqns.
logical, dimension(3) m_global_parameters::mom_wrt |
integer m_global_parameters::momxb |
integer m_global_parameters::momxe |
integer m_global_parameters::mpi_info_int |
type(mpi_io_var), public m_global_parameters::mpi_io_data |
character(len=name_len) m_global_parameters::mpiiofs |
logical m_global_parameters::mpp_lim |
Maximum volume fraction limiter.
real(kind(0d0)) m_global_parameters::mu_n |
real(kind(0d0)) m_global_parameters::mu_v |
real(kind(0d0)) m_global_parameters::mul0 |
integer m_global_parameters::n |
integer m_global_parameters::n_glb |
integer m_global_parameters::nb |
integer(8) m_global_parameters::nglobal |
integer m_global_parameters::nmom |
integer m_global_parameters::num_dims |
Number of spatial dimensions.
integer m_global_parameters::num_fluids |
Number of different fluids present in the flow.
integer m_global_parameters::num_procs |
Number of processors.
type(int_bounds_info) m_global_parameters::offset_x |
type(int_bounds_info) m_global_parameters::offset_y |
type(int_bounds_info) m_global_parameters::offset_z |
logical, dimension(3) m_global_parameters::omega_wrt |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::omegan |
integer m_global_parameters::p |
integer m_global_parameters::p_glb |
logical m_global_parameters::parallel_io |
Format of the data files.
real(kind(0d0)), dimension(:), allocatable m_global_parameters::pb0 |
real(kind(0d0)) m_global_parameters::pe_c |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::pe_t |
real(kind(0d0)) m_global_parameters::phi_nv |
real(kind(0d0)) m_global_parameters::phi_vn |
integer m_global_parameters::pi_inf_idx |
Index of liquid stiffness func. eqn.
logical m_global_parameters::pi_inf_wrt |
real(kind(0d0)) m_global_parameters::poly_sigma |
logical m_global_parameters::polydisperse |
logical m_global_parameters::polytropic |
integer m_global_parameters::precision |
Floating point precision of the database file(s)
real(kind(0d0)) m_global_parameters::pref |
logical m_global_parameters::pres_inf_wrt |
logical m_global_parameters::pres_wrt |
logical m_global_parameters::prim_vars_wrt |
integer, dimension(:), allocatable m_global_parameters::proc_coords |
Processor coordinates in MPI_CART_COMM.
integer m_global_parameters::proc_rank |
Rank of the local processor.
real(kind(0d0)) m_global_parameters::pv |
logical m_global_parameters::qbmm |
logical m_global_parameters::qm_wrt |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::r0 |
real(kind(0d0)) m_global_parameters::r0ref |
real(kind(0d0)) m_global_parameters::r_n |
real(kind(0d0)) m_global_parameters::r_v |
real(kind(0d0)) m_global_parameters::re_inv |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::re_trans_c |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::re_trans_t |
logical m_global_parameters::relax |
phase change
integer m_global_parameters::relax_model |
Phase change relaxation model.
logical m_global_parameters::rho_wrt |
real(kind(0d0)) m_global_parameters::rhoref |
real(kind(0d0)), 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.
logical m_global_parameters::schlieren_wrt |
real(kind(0d0)) m_global_parameters::sigr |
real(kind(0d0)) m_global_parameters::ss |
integer, dimension(:), allocatable m_global_parameters::start_idx |
Starting cell-center index of local processor in global grid.
type(int_bounds_info) m_global_parameters::stress_idx |
Indices of elastic stresses.
integer m_global_parameters::strxb |
integer m_global_parameters::strxe |
integer m_global_parameters::sys_size |
Number of unknowns in the system of equations.
integer m_global_parameters::t_step_save |
Interval between consecutive time-step directory.
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::thermal |
1 = adiabatic, 2 = isotherm, 3 = transfer
real(kind(0d0)) m_global_parameters::tw |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::v0 |
logical, dimension(3) m_global_parameters::vel_wrt |
real(kind(0d0)) m_global_parameters::web |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::weight |
integer m_global_parameters::weno_order |
Order of accuracy for the WENO reconstruction.
real(kind(0d0)), dimension(:), allocatable m_global_parameters::x_cb |
real(kind(0.0)), dimension(:), allocatable m_global_parameters::x_cb_s |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::x_cc |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::x_root_cb |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::x_root_cc |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::y_cb |
real(kind(0.0)), dimension(:), allocatable m_global_parameters::y_cb_s |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::y_cc |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::z_cb |
real(kind(0.0)), dimension(:), allocatable m_global_parameters::z_cb_s |
real(kind(0d0)), dimension(:), allocatable m_global_parameters::z_cc |