|
MFC: Post-Process
High-fidelity multiphase flow simulation
|
This module features procedures, which for a specific time-step, read in the raw simulation data for the grid and the conservative variables and fill out their buffer regions. More...
Data Types | |
| interface | s_read_abstract_data_files |
| Subroutine for reading data files. More... | |
Functions/Subroutines | |
| impure subroutine | s_read_grid_data_direction (t_step_dir, direction, cb_array, d_array, cc_array, size_dim) |
| Helper subroutine to read grid data files for a given direction. | |
| impure subroutine | s_setup_mpi_io_params (data_size, m_mok, n_mok, p_mok, wp_mok, mok, str_mok, nvars_mok) |
| Helper subroutine to setup MPI data I/O parameters. | |
| impure subroutine | s_read_ib_data_files (file_loc_base, t_step) |
| Helper subroutine to read IB data files. | |
| impure subroutine | s_allocate_field_arrays (local_start_idx, end_x, end_y, end_z) |
| Helper subroutine to allocate field arrays for given dimensionality. | |
| impure subroutine, public | s_read_serial_data_files (t_step) |
| This subroutine is called at each time-step that has to be post-processed in order to read the raw data files present in the corresponding time-step directory and to populate the associated grid and conservative variables. | |
| impure subroutine, public | s_read_parallel_data_files (t_step) |
| This subroutine is called at each time-step that has to be post-processed in order to parallel-read the raw data files present in the corresponding time-step directory and to populate the associated grid and conservative variables. | |
| impure subroutine | s_read_parallel_conservative_data (t_step, m_mok, n_mok, p_mok, wp_mok, mok, str_mok, nvars_mok) |
| Helper subroutine to read parallel conservative variable data. | |
| impure subroutine, public | s_initialize_data_input_module |
| Computation of parameters, allocation procedures, and/or any other tasks needed to properly setup the module. | |
| impure subroutine, public | s_finalize_data_input_module |
| Deallocation procedures for the module. | |
Variables | |
| type(scalar_field), dimension(:), allocatable, public | q_cons_vf |
| Conservative variables. | |
| type(scalar_field), dimension(:), allocatable, public | q_cons_temp |
| type(scalar_field), dimension(:), allocatable, public | q_prim_vf |
| Primitive variables. | |
| type(integer_field), dimension(:, :), allocatable, public | bc_type |
| Boundary condition identifiers. | |
| type(scalar_field), public | q_t_sf |
| Temperature field. | |
| type(integer_field), public | ib_markers |
| procedure(s_read_abstract_data_files), pointer, public | s_read_data_files => null() |
This module features procedures, which for a specific time-step, read in the raw simulation data for the grid and the conservative variables and fill out their buffer regions.
| impure subroutine m_data_input::s_allocate_field_arrays | ( | integer, intent(in) | local_start_idx, |
| integer, intent(in) | end_x, | ||
| integer, intent(in) | end_y, | ||
| integer, intent(in) | end_z ) |
Helper subroutine to allocate field arrays for given dimensionality.
| start_idx | Starting index for allocation |
| end_x,end_y,end_z | End indices for each dimension |
| impure subroutine, public m_data_input::s_finalize_data_input_module |
Deallocation procedures for the module.
| impure subroutine, public m_data_input::s_initialize_data_input_module |
Computation of parameters, allocation procedures, and/or any other tasks needed to properly setup the module.
| impure subroutine m_data_input::s_read_grid_data_direction | ( | character(len=*), intent(in) | t_step_dir, |
| character(len=1), intent(in) | direction, | ||
| real(wp), dimension(-1:), intent(out) | cb_array, | ||
| real(wp), dimension(0:), intent(out) | d_array, | ||
| real(wp), dimension(0:), intent(out) | cc_array, | ||
| integer, intent(in) | size_dim ) |
Helper subroutine to read grid data files for a given direction.
| t_step_dir | Directory containing the time-step data |
| direction | Direction name ('x', 'y', 'z') |
| cb_array | Cell boundary array to populate |
| d_array | Cell width array to populate |
| cc_array | Cell center array to populate |
| size_dim | Size of the dimension |
| impure subroutine m_data_input::s_read_ib_data_files | ( | character(len=*), intent(in) | file_loc_base, |
| integer, intent(in), optional | t_step ) |
Helper subroutine to read IB data files.
| file_loc_base | Base file location for IB data |
| impure subroutine m_data_input::s_read_parallel_conservative_data | ( | integer, intent(in) | t_step, |
| integer(kind=mpi_offset_kind), intent(inout) | m_mok, | ||
| integer(kind=mpi_offset_kind), intent(inout) | n_mok, | ||
| integer(kind=mpi_offset_kind), intent(inout) | p_mok, | ||
| integer(kind=mpi_offset_kind), intent(inout) | wp_mok, | ||
| integer(kind=mpi_offset_kind), intent(inout) | mok, | ||
| integer(kind=mpi_offset_kind), intent(inout) | str_mok, | ||
| integer(kind=mpi_offset_kind), intent(inout) | nvars_mok ) |
Helper subroutine to read parallel conservative variable data.
| t_step | Current time-step |
| m_MOK,n_MOK,p_MOK | MPI offset kinds for dimensions |
| WP_MOK,MOK,str_MOK,NVARS_MOK | Other MPI offset kinds |
| impure subroutine, public m_data_input::s_read_parallel_data_files | ( | integer, intent(in) | t_step | ) |
This subroutine is called at each time-step that has to be post-processed in order to parallel-read the raw data files present in the corresponding time-step directory and to populate the associated grid and conservative variables.
| t_step | Current time-step |
| impure subroutine, public m_data_input::s_read_serial_data_files | ( | integer, intent(in) | t_step | ) |
This subroutine is called at each time-step that has to be post-processed in order to read the raw data files present in the corresponding time-step directory and to populate the associated grid and conservative variables.
| t_step | Current time-step |
| impure subroutine m_data_input::s_setup_mpi_io_params | ( | integer, intent(out) | data_size, |
| integer(kind=mpi_offset_kind), intent(out) | m_mok, | ||
| integer(kind=mpi_offset_kind), intent(out) | n_mok, | ||
| integer(kind=mpi_offset_kind), intent(out) | p_mok, | ||
| integer(kind=mpi_offset_kind), intent(out) | wp_mok, | ||
| integer(kind=mpi_offset_kind), intent(out) | mok, | ||
| integer(kind=mpi_offset_kind), intent(out) | str_mok, | ||
| integer(kind=mpi_offset_kind), intent(out) | nvars_mok ) |
Helper subroutine to setup MPI data I/O parameters.
| data_size | Local array size (output) |
| m_MOK,n_MOK,p_MOK | MPI offset kinds for dimensions (output) |
| WP_MOK,MOK,str_MOK,NVARS_MOK | Other MPI offset kinds (output) |
| type(integer_field), dimension(:, :), allocatable, public m_data_input::bc_type |
Boundary condition identifiers.
| type(integer_field), public m_data_input::ib_markers |
| type(scalar_field), dimension(:), allocatable, public m_data_input::q_cons_temp |
| type(scalar_field), dimension(:), allocatable, public m_data_input::q_cons_vf |
Conservative variables.
| type(scalar_field), dimension(:), allocatable, public m_data_input::q_prim_vf |
Primitive variables.
| type(scalar_field), public m_data_input::q_t_sf |
Temperature field.
| procedure(s_read_abstract_data_files), pointer, public m_data_input::s_read_data_files => null() |