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

Writes solution data, run-time stability diagnostics (ICFL, VCFL, CCFL, Rc), and probe/center-of-mass files. More...

Functions/Subroutines

impure subroutine, public s_write_data_files (q_cons_vf, q_t_sf, q_prim_vf, t_step, bc_type, beta)
 Write data files. Dispatch subroutine that replaces procedure pointer.
impure subroutine, public s_open_run_time_information_file
 Open the run-time information file and write the stability criteria table header.
impure subroutine, public s_open_com_files ()
 Open center-of-mass data files for writing.
impure subroutine, public s_open_probe_files
 Open flow probe data files for writing.
impure subroutine, public s_open_ib_state_file
 Open the immersed boundary state file for binary output.
impure subroutine, public s_write_run_time_information (q_prim_vf, t_step)
 Write stability criteria extrema to the run-time information file at the given time step.
impure subroutine, public s_write_serial_data_files (q_cons_vf, q_t_sf, q_prim_vf, t_step, bc_type, beta)
 Write grid and conservative variable data files in serial format.
impure subroutine, public s_write_parallel_data_files (q_cons_vf, t_step, bc_type, beta)
 Write grid and conservative variable data files in parallel via MPI I/O.
subroutine s_write_serial_ib_data (time_step)
 Write immersed boundary marker data to a serial (per-processor) unformatted file.
subroutine s_write_parallel_ib_data (time_step)
 Write immersed boundary marker data in parallel using MPI I/O.
subroutine, public s_write_ib_data_file (time_step)
 Dispatch immersed boundary data output to the serial or parallel writer.
impure subroutine, public s_write_ib_state_file ()
 Write IB state records to D/ib_state.dat (rank 0 only).
impure subroutine, public s_write_com_files (t_step, c_mass_in)
 Write center-of-mass data at the current time step.
impure subroutine, public s_write_probe_files (t_step, q_cons_vf, accel_mag)
 Write flow probe data at the current time step.
impure subroutine, public s_close_run_time_information_file
 Write footer with stability criteria extrema and run-time to the information file, then close it.
impure subroutine, public s_close_com_files ()
 Closes communication files.
impure subroutine, public s_close_probe_files
 Closes probe files.
impure subroutine, public s_close_ib_state_file
 Close the immersed boundary state file.
impure subroutine, public s_initialize_data_output_module
 Initialize the data output module.
impure subroutine, public s_finalize_data_output_module
 Module deallocation and/or disassociation procedures.

Variables

integer ib_state_unit = -1
 I/O unit for IB state binary file.
real(wp), dimension(:,:,:), allocatable icfl_sf
 ICFL stability criterion.
real(wp), dimension(:,:,:), allocatable vcfl_sf
 VCFL stability criterion.
real(wp), dimension(:,:,:), allocatable ccfl_sf
 CCFL stability criterion.
real(wp), dimension(:,:,:), allocatable rc_sf
 Rc stability criterion.
real(wp), dimension(:,:), allocatable, public c_mass
real(wpicfl_max_loc
real(wpicfl_max_glb
 ICFL stability extrema on local and global grids.
real(wpvcfl_max_loc
real(wpvcfl_max_glb
 VCFL stability extrema on local and global grids.
real(wpccfl_max_loc
real(wpccfl_max_glb
 CCFL stability extrema on local and global grids.
real(wprc_min_loc
real(wprc_min_glb
 Rc stability extrema on local and global grids.
type(scalar_field), dimension(:), allocatable q_cons_temp_ds
ICFL, VCFL, CCFL and Rc stability criteria extrema over all the time-steps
real(wpicfl_max
 ICFL criterion maximum.
real(wpvcfl_max
 VCFL criterion maximum.
real(wpccfl_max
 CCFL criterion maximum.
real(wprc_min
 Rc criterion maximum.

Detailed Description

Writes solution data, run-time stability diagnostics (ICFL, VCFL, CCFL, Rc), and probe/center-of-mass files.

Function/Subroutine Documentation

◆ s_close_com_files()

impure subroutine, public m_data_output::s_close_com_files

Closes communication files.

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

◆ s_close_ib_state_file()

impure subroutine, public m_data_output::s_close_ib_state_file

Close the immersed boundary state file.

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

◆ s_close_probe_files()

impure subroutine, public m_data_output::s_close_probe_files

Closes probe files.

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

◆ s_close_run_time_information_file()

impure subroutine, public m_data_output::s_close_run_time_information_file

Write footer with stability criteria extrema and run-time to the information file, then close it.

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

◆ s_finalize_data_output_module()

impure subroutine, public m_data_output::s_finalize_data_output_module

Module deallocation and/or disassociation procedures.

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

Here is the caller graph for this function:

◆ s_initialize_data_output_module()

impure subroutine, public m_data_output::s_initialize_data_output_module

Initialize the data output module.

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

Here is the caller graph for this function:

◆ s_open_com_files()

impure subroutine, public m_data_output::s_open_com_files

Open center-of-mass data files for writing.

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

◆ s_open_ib_state_file()

impure subroutine, public m_data_output::s_open_ib_state_file

Open the immersed boundary state file for binary output.

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

◆ s_open_probe_files()

impure subroutine, public m_data_output::s_open_probe_files

Open flow probe data files for writing.

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

◆ s_open_run_time_information_file()

impure subroutine, public m_data_output::s_open_run_time_information_file

Open the run-time information file and write the stability criteria table header.

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

◆ s_write_com_files()

impure subroutine, public m_data_output::s_write_com_files ( integer, intent(in) t_step,
real(wp), dimension(num_fluids, 5), intent(in) c_mass_in )

Write center-of-mass data at the current time step.

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

◆ s_write_data_files()

impure subroutine, public m_data_output::s_write_data_files ( type(scalar_field), dimension(sys_size), intent(inout) q_cons_vf,
type(scalar_field), intent(inout) q_t_sf,
type(scalar_field), dimension(sys_size), intent(inout) q_prim_vf,
integer, intent(in) t_step,
type(integer_field), dimension(1:num_dims,-1:1), intent(in) bc_type,
type(scalar_field), intent(inout), optional beta )

Write data files. Dispatch subroutine that replaces procedure pointer.

Definition at line 409 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_data_file()

subroutine, public m_data_output::s_write_ib_data_file ( integer, intent(in) time_step)

Dispatch immersed boundary data output to the serial or parallel writer.

Definition at line 1388 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_file()

impure subroutine, public m_data_output::s_write_ib_state_file

Write IB state records to D/ib_state.dat (rank 0 only).

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

◆ s_write_parallel_data_files()

impure subroutine, public m_data_output::s_write_parallel_data_files ( type(scalar_field), dimension(sys_size), intent(inout) q_cons_vf,
integer, intent(in) t_step,
type(integer_field), dimension(1:num_dims,-1:1), intent(in) bc_type,
type(scalar_field), intent(inout), optional beta )

Write grid and conservative variable data files in parallel via MPI I/O.

Definition at line 1117 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_parallel_ib_data()

subroutine m_data_output::s_write_parallel_ib_data ( integer, intent(in) time_step)
private

Write immersed boundary marker data in parallel using MPI I/O.

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

Here is the caller graph for this function:

◆ s_write_probe_files()

impure subroutine, public m_data_output::s_write_probe_files ( integer, intent(in) t_step,
type(scalar_field), dimension(sys_size), intent(in) q_cons_vf,
real(wp), dimension(0:m,0:n,0:p), intent(in) accel_mag )

Write flow probe data at the current time step.

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

Here is the call graph for this function:

◆ s_write_run_time_information()

impure subroutine, public m_data_output::s_write_run_time_information ( type(scalar_field), dimension(sys_size), intent(in) q_prim_vf,
integer, intent(in) t_step )

Write stability criteria extrema to the run-time information file at the given time step.

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

Here is the call graph for this function:

◆ s_write_serial_data_files()

impure subroutine, public m_data_output::s_write_serial_data_files ( type(scalar_field), dimension(sys_size), intent(inout) q_cons_vf,
type(scalar_field), intent(inout) q_t_sf,
type(scalar_field), dimension(sys_size), intent(inout) q_prim_vf,
integer, intent(in) t_step,
type(integer_field), dimension(1:num_dims,-1:1), intent(in) bc_type,
type(scalar_field), intent(inout), optional beta )

Write grid and conservative variable data files in serial format.

Definition at line 751 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_serial_ib_data()

subroutine m_data_output::s_write_serial_ib_data ( integer, intent(in) time_step)
private

Write immersed boundary marker data to a serial (per-processor) unformatted file.

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

Here is the caller graph for this function:

Variable Documentation

◆ c_mass

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

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

◆ ccfl_max

real(wp) m_data_output::ccfl_max
private

CCFL criterion maximum.

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

◆ ccfl_max_glb

real(wp) m_data_output::ccfl_max_glb
private

CCFL stability extrema on local and global grids.

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

◆ ccfl_max_loc

real(wp) m_data_output::ccfl_max_loc
private

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

◆ ccfl_sf

real(wp), dimension(:,:,:), allocatable m_data_output::ccfl_sf
private

CCFL stability criterion.

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

◆ ib_state_unit

integer m_data_output::ib_state_unit = -1
private

I/O unit for IB state binary file.

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

◆ icfl_max

real(wp) m_data_output::icfl_max
private

ICFL criterion maximum.

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

◆ icfl_max_glb

real(wp) m_data_output::icfl_max_glb
private

ICFL stability extrema on local and global grids.

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

◆ icfl_max_loc

real(wp) m_data_output::icfl_max_loc
private

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

◆ icfl_sf

real(wp), dimension(:,:,:), allocatable m_data_output::icfl_sf
private

ICFL stability criterion.

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

◆ q_cons_temp_ds

type(scalar_field), dimension(:), allocatable m_data_output::q_cons_temp_ds
private

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

◆ rc_min

real(wp) m_data_output::rc_min
private

Rc criterion maximum.

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

◆ rc_min_glb

real(wp) m_data_output::rc_min_glb
private

Rc stability extrema on local and global grids.

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

◆ rc_min_loc

real(wp) m_data_output::rc_min_loc
private

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

◆ rc_sf

real(wp), dimension(:,:,:), allocatable m_data_output::rc_sf
private

Rc stability criterion.

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

◆ vcfl_max

real(wp) m_data_output::vcfl_max
private

VCFL criterion maximum.

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

◆ vcfl_max_glb

real(wp) m_data_output::vcfl_max_glb
private

VCFL stability extrema on local and global grids.

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

◆ vcfl_max_loc

real(wp) m_data_output::vcfl_max_loc
private

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

◆ vcfl_sf

real(wp), dimension(:,:,:), allocatable m_data_output::vcfl_sf
private

VCFL stability criterion.

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