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)
 Write 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_ib_state_files ()
 Convert the binary immersed-boundary state file to per-body formatted text 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_write_ib_bodies_to_formatted_database_file (t_step)
 Read IB state and write a Silo point mesh with per-body scalar fields.
subroutine s_write_ib_variable (varname, t_step, data, nbodies)
 Write a single IB point-variable to the Silo database slave and master files.
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

type(output_context), public out
 Output workspace: flow variable buffers, VisIt extents/offsets, directory paths, file handles, and variable count.
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 1629 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 1607 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 1622 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 280 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 1636 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 39 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 442 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 365 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 430 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 1367 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 454 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_ib_bodies_to_formatted_database_file()

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

Read IB state and write a Silo point mesh with per-body scalar fields.

Definition at line 1459 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_ib_state_files()

impure subroutine, public m_data_output::s_write_ib_state_files

Convert the binary immersed-boundary state file to per-body formatted text files.

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

◆ s_write_ib_variable()

subroutine m_data_output::s_write_ib_variable ( character(len=*), intent(in) varname,
integer, intent(in) t_step,
real(wp), dimension(:), intent(in) data,
integer, intent(in) nbodies )

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

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

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 1281 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)

Write the post-processed results in the folder 'lag_bubbles_data'.

Definition at line 746 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 899 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 1183 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 593 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

◆ err

integer, private m_data_output::err
private

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

◆ out

type(output_context), public m_data_output::out

Output workspace: flow variable buffers, VisIt extents/offsets, directory paths, file handles, and variable count.

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