MFC: Simulation
High-fidelity multiphase flow simulation
Loading...
Searching...
No Matches
m_start_up Module Reference

The purpose of the module is primarily to read in the files that contain the inputs, the initial condition data and the grid data that are provided by the user. The module is additionally tasked with verifying the consistency of the user inputs and completing the grid variablesThe purpose of the module is primarily to read in the files that contain the inputs, the initial condition data and the grid data that are provided by the user. The module is additionally tasked with verifying the consistency of the user inputs and completing the grid variables. This module also also allocating, initializing I/O, and deallocating the relevant variables on both cpus and gpus as well as setting up the time stepping, domain decomposition and I/O procedures. More...

Functions/Subroutines

impure subroutine, public s_read_data_files (q_cons_vf)
 Read data files. Dispatch subroutine that replaces procedure pointer.
 
impure subroutine, public s_read_input_file
 The purpose of this procedure is to first verify that an input file has been made available by the user. Provided that this is so, the input file is then read in.
 
impure subroutine, public s_check_input_file
 The goal of this procedure is to verify that each of the user provided inputs is valid and that their combination constitutes a meaningful configuration for the simulation.
 
impure subroutine, public s_read_serial_data_files (q_cons_vf)
 
impure subroutine, public s_read_parallel_data_files (q_cons_vf)
 
subroutine, public s_initialize_internal_energy_equations (v_vf)
 The purpose of this procedure is to initialize the values of the internal-energy equations of each phase from the mass of each phase, the mixture momentum and mixture-total-energy equations.
 
impure subroutine, public s_perform_time_step (t_step, time_avg)
 
impure subroutine, public s_save_performance_metrics (time_avg, time_final, io_time_avg, io_time_final, proc_time, io_proc_time, file_exists)
 
impure subroutine, public s_save_data (t_step, start, finish, io_time_avg, nt)
 
impure subroutine, public s_initialize_modules
 
impure subroutine, public s_initialize_mpi_domain
 
subroutine, public s_initialize_gpu_vars
 
impure subroutine, public s_finalize_modules
 

Variables

type(scalar_field), dimension(:), allocatable q_cons_temp
 
real(wpdt_init
 

Detailed Description

The purpose of the module is primarily to read in the files that contain the inputs, the initial condition data and the grid data that are provided by the user. The module is additionally tasked with verifying the consistency of the user inputs and completing the grid variablesThe purpose of the module is primarily to read in the files that contain the inputs, the initial condition data and the grid data that are provided by the user. The module is additionally tasked with verifying the consistency of the user inputs and completing the grid variables. This module also also allocating, initializing I/O, and deallocating the relevant variables on both cpus and gpus as well as setting up the time stepping, domain decomposition and I/O procedures.

Function/Subroutine Documentation

◆ s_check_input_file()

impure subroutine, public m_start_up::s_check_input_file

The goal of this procedure is to verify that each of the user provided inputs is valid and that their combination constitutes a meaningful configuration for the simulation.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_finalize_modules()

impure subroutine, public m_start_up::s_finalize_modules
Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_initialize_gpu_vars()

subroutine, public m_start_up::s_initialize_gpu_vars
Here is the caller graph for this function:

◆ s_initialize_internal_energy_equations()

subroutine, public m_start_up::s_initialize_internal_energy_equations ( type(scalar_field), dimension(sys_size), intent(inout) v_vf)

The purpose of this procedure is to initialize the values of the internal-energy equations of each phase from the mass of each phase, the mixture momentum and mixture-total-energy equations.

Parameters
v_vfconservative variables
Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_initialize_modules()

impure subroutine, public m_start_up::s_initialize_modules
Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_initialize_mpi_domain()

impure subroutine, public m_start_up::s_initialize_mpi_domain
Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_perform_time_step()

impure subroutine, public m_start_up::s_perform_time_step ( integer, intent(inout) t_step,
real(wp), intent(inout) time_avg )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_read_data_files()

impure subroutine, public m_start_up::s_read_data_files ( type(scalar_field), dimension(sys_size), intent(inout) q_cons_vf)

Read data files. Dispatch subroutine that replaces procedure pointer.

Parameters
q_cons_vfConservative variables
Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_read_input_file()

impure subroutine, public m_start_up::s_read_input_file

The purpose of this procedure is to first verify that an input file has been made available by the user. Provided that this is so, the input file is then read in.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_read_parallel_data_files()

impure subroutine, public m_start_up::s_read_parallel_data_files ( type(scalar_field), dimension(sys_size), intent(inout) q_cons_vf)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_read_serial_data_files()

impure subroutine, public m_start_up::s_read_serial_data_files ( type(scalar_field), dimension(sys_size), intent(inout) q_cons_vf)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_save_data()

impure subroutine, public m_start_up::s_save_data ( integer, intent(inout) t_step,
real(wp), intent(inout) start,
real(wp), intent(inout) finish,
real(wp), intent(inout) io_time_avg,
integer, intent(inout) nt )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_save_performance_metrics()

impure subroutine, public m_start_up::s_save_performance_metrics ( real(wp), intent(inout) time_avg,
real(wp), intent(inout) time_final,
real(wp), intent(inout) io_time_avg,
real(wp), intent(inout) io_time_final,
real(wp), dimension(:), intent(inout) proc_time,
real(wp), dimension(:), intent(inout) io_proc_time,
logical, intent(inout) file_exists )
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ dt_init

real(wp) m_start_up::dt_init

◆ q_cons_temp

type(scalar_field), dimension(:), allocatable m_start_up::q_cons_temp