MFC
Exascale flow solver
Loading...
Searching...
No Matches
m_data_output Module Reference

Writes post-processed grid and flow-variable data to Silo-HDF5 or binary database files. More...

Functions/Subroutines

impure subroutine, public s_initialize_data_output_module ()
 Allocate storage arrays, configure output directories, and count flow variables for formatted database output.
impure subroutine, public s_define_output_region
 Compute the cell-index bounds for the user-specified partial output domain in each coordinate direction.
impure subroutine, public s_open_formatted_database_file (t_step)
 Open (or create) the Silo-HDF5 or Binary formatted database slave and master files for a given time step.
impure subroutine, public s_open_intf_data_file ()
 Open the interface data file for appending extracted interface coordinates.
impure subroutine, public s_open_energy_data_file ()
 Open the energy data file for appending volume-integrated energy budget quantities.
impure subroutine, public s_write_grid_to_formatted_database_file (t_step)
 Write the computational grid (cell-boundary coordinates) to the formatted database slave and master files.
impure subroutine, public s_write_variable_to_formatted_database_file (varname, t_step)
 Write a single flow variable field to the formatted database slave and master files for a given time step.
impure subroutine, public s_write_lag_bubbles_results_to_text (t_step)
 Subroutine that writes the post processed results in the folder 'lag_bubbles_data'.
impure subroutine, public s_write_lag_bubbles_to_formatted_database_file (t_step)
 Read Lagrangian bubble restart data and write bubble positions and scalar fields to the Silo database.
subroutine s_write_lag_variable_to_formatted_database_file (varname, t_step, data, nbubs)
 Write a single Lagrangian bubble point-variable to the Silo database slave and master files.
impure subroutine, public s_write_intf_data_file (q_prim_vf)
 Extract the volume-fraction interface contour from primitive fields and write the coordinates to the interface data file.
impure subroutine, public s_write_energy_data_file (q_prim_vf, q_cons_vf)
 Compute volume-integrated kinetic, potential, and internal energies and write the energy budget to the energy data file.
impure subroutine, public s_close_formatted_database_file ()
 Close the formatted database slave file and, for the root process, the master file.
impure subroutine, public s_close_intf_data_file ()
 Close the interface data file.
impure subroutine, public s_close_energy_data_file ()
 Close the energy data file.
impure subroutine, public s_finalize_data_output_module ()
 Deallocate module arrays and release all data-output resources.

Variables

real(wp), dimension(:, :, :), allocatable, public q_sf
real(wp), dimension(:, :, :), allocatable q_root_sf
real(wp), dimension(:, :, :), allocatable cyl_q_sf
real(sp), dimension(:, :, :), allocatable, public q_sf_s
real(sp), dimension(:, :, :), allocatable q_root_sf_s
real(sp), dimension(:, :, :), allocatable cyl_q_sf_s
real(wp), dimension(:, :), allocatable spatial_extents
real(wp), dimension(:, :), allocatable data_extents
integer, dimension(:), allocatable lo_offset
integer, dimension(:), allocatable hi_offset
integer, dimension(:), allocatable dims
character(len=path_len+name_lendbdir
character(len=path_len+2 *name_lenproc_rank_dir
character(len=path_len+2 *name_lenrootdir
integer dbroot
integer dbfile
integer optlist
integer dbvars
integer, private err

Detailed Description

Writes post-processed grid and flow-variable data to Silo-HDF5 or binary database files.

Function/Subroutine Documentation

◆ s_close_energy_data_file()

impure subroutine, public m_data_output::s_close_energy_data_file

Close the energy data file.

Definition at line 1897 of file m_data_output.fpp.f90.

Here is the caller graph for this function:

◆ s_close_formatted_database_file()

impure subroutine, public m_data_output::s_close_formatted_database_file

Close the formatted database slave file and, for the root process, the master file.

Definition at line 1860 of file m_data_output.fpp.f90.

Here is the caller graph for this function:

◆ s_close_intf_data_file()

impure subroutine, public m_data_output::s_close_intf_data_file

Close the interface data file.

Definition at line 1890 of file m_data_output.fpp.f90.

Here is the caller graph for this function:

◆ s_define_output_region()

impure subroutine, public m_data_output::s_define_output_region

Compute the cell-index bounds for the user-specified partial output domain in each coordinate direction.

Definition at line 442 of file m_data_output.fpp.f90.

Here is the caller graph for this function:

◆ s_finalize_data_output_module()

impure subroutine, public m_data_output::s_finalize_data_output_module

Deallocate module arrays and release all data-output resources.

Definition at line 1904 of file m_data_output.fpp.f90.

◆ s_initialize_data_output_module()

impure subroutine, public m_data_output::s_initialize_data_output_module

Allocate storage arrays, configure output directories, and count flow variables for formatted database output.

Definition at line 113 of file m_data_output.fpp.f90.

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

◆ s_open_energy_data_file()

impure subroutine, public m_data_output::s_open_energy_data_file

Open the energy data file for appending volume-integrated energy budget quantities.

Definition at line 679 of file m_data_output.fpp.f90.

Here is the caller graph for this function:

◆ s_open_formatted_database_file()

impure subroutine, public m_data_output::s_open_formatted_database_file ( integer, intent(in) t_step)

Open (or create) the Silo-HDF5 or Binary formatted database slave and master files for a given time step.

Definition at line 533 of file m_data_output.fpp.f90.

Here is the caller graph for this function:

◆ s_open_intf_data_file()

impure subroutine, public m_data_output::s_open_intf_data_file

Open the interface data file for appending extracted interface coordinates.

Definition at line 662 of file m_data_output.fpp.f90.

Here is the caller graph for this function:

◆ s_write_energy_data_file()

impure subroutine, public m_data_output::s_write_energy_data_file ( type(scalar_field), dimension(sys_size), intent(in) q_prim_vf,
type(scalar_field), dimension(sys_size), intent(in) q_cons_vf )

Compute volume-integrated kinetic, potential, and internal energies and write the energy budget to the energy data file.

Definition at line 1759 of file m_data_output.fpp.f90.

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

◆ s_write_grid_to_formatted_database_file()

impure subroutine, public m_data_output::s_write_grid_to_formatted_database_file ( integer, intent(in) t_step)

Write the computational grid (cell-boundary coordinates) to the formatted database slave and master files.

Definition at line 696 of file m_data_output.fpp.f90.

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

◆ s_write_intf_data_file()

impure subroutine, public m_data_output::s_write_intf_data_file ( type(scalar_field), dimension(sys_size), intent(in) q_prim_vf)

Extract the volume-fraction interface contour from primitive fields and write the coordinates to the interface data file.

Definition at line 1668 of file m_data_output.fpp.f90.

Here is the caller graph for this function:

◆ s_write_lag_bubbles_results_to_text()

impure subroutine, public m_data_output::s_write_lag_bubbles_results_to_text ( integer, intent(in) t_step)

Subroutine that writes the post processed results in the folder 'lag_bubbles_data'.

Parameters
t_stepCurrent time step

Definition at line 1139 of file m_data_output.fpp.f90.

Here is the caller graph for this function:

◆ s_write_lag_bubbles_to_formatted_database_file()

impure subroutine, public m_data_output::s_write_lag_bubbles_to_formatted_database_file ( integer, intent(in) t_step)

Read Lagrangian bubble restart data and write bubble positions and scalar fields to the Silo database.

Definition at line 1299 of file m_data_output.fpp.f90.

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

◆ s_write_lag_variable_to_formatted_database_file()

subroutine m_data_output::s_write_lag_variable_to_formatted_database_file ( character(len=*), intent(in) varname,
integer, intent(in) t_step,
real(wp), dimension(1:), intent(in), optional data,
integer, intent(in), optional nbubs )

Write a single Lagrangian bubble point-variable to the Silo database slave and master files.

Definition at line 1613 of file m_data_output.fpp.f90.

Here is the caller graph for this function:

◆ s_write_variable_to_formatted_database_file()

impure subroutine, public m_data_output::s_write_variable_to_formatted_database_file ( character(len=*), intent(in) varname,
integer, intent(in) t_step )

Write a single flow variable field to the formatted database slave and master files for a given time step.

Definition at line 904 of file m_data_output.fpp.f90.

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

Variable Documentation

◆ cyl_q_sf

real(wp), dimension(:, :, :), allocatable m_data_output::cyl_q_sf

Definition at line 52 of file m_data_output.fpp.f90.

◆ cyl_q_sf_s

real(sp), dimension(:, :, :), allocatable m_data_output::cyl_q_sf_s

Definition at line 57 of file m_data_output.fpp.f90.

◆ data_extents

real(wp), dimension(:, :), allocatable m_data_output::data_extents

Definition at line 64 of file m_data_output.fpp.f90.

◆ dbdir

character(len=path_len + name_len) m_data_output::dbdir

Definition at line 89 of file m_data_output.fpp.f90.

◆ dbfile

integer m_data_output::dbfile

Definition at line 99 of file m_data_output.fpp.f90.

◆ dbroot

integer m_data_output::dbroot

Definition at line 98 of file m_data_output.fpp.f90.

◆ dbvars

integer m_data_output::dbvars

Definition at line 104 of file m_data_output.fpp.f90.

◆ dims

integer, dimension(:), allocatable m_data_output::dims

Definition at line 76 of file m_data_output.fpp.f90.

◆ err

integer, private m_data_output::err
private

Definition at line 108 of file m_data_output.fpp.f90.

◆ hi_offset

integer, dimension(:), allocatable m_data_output::hi_offset

Definition at line 71 of file m_data_output.fpp.f90.

◆ lo_offset

integer, dimension(:), allocatable m_data_output::lo_offset

Definition at line 70 of file m_data_output.fpp.f90.

◆ optlist

integer m_data_output::optlist

Definition at line 100 of file m_data_output.fpp.f90.

◆ proc_rank_dir

character(len=path_len + 2*name_len) m_data_output::proc_rank_dir

Definition at line 90 of file m_data_output.fpp.f90.

◆ q_root_sf

real(wp), dimension(:, :, :), allocatable m_data_output::q_root_sf

Definition at line 51 of file m_data_output.fpp.f90.

◆ q_root_sf_s

real(sp), dimension(:, :, :), allocatable m_data_output::q_root_sf_s

Definition at line 56 of file m_data_output.fpp.f90.

◆ q_sf

real(wp), dimension(:, :, :), allocatable, public m_data_output::q_sf

Definition at line 50 of file m_data_output.fpp.f90.

◆ q_sf_s

real(sp), dimension(:, :, :), allocatable, public m_data_output::q_sf_s

Definition at line 55 of file m_data_output.fpp.f90.

◆ rootdir

character(len=path_len + 2*name_len) m_data_output::rootdir

Definition at line 91 of file m_data_output.fpp.f90.

◆ spatial_extents

real(wp), dimension(:, :), allocatable m_data_output::spatial_extents

Definition at line 63 of file m_data_output.fpp.f90.