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_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.
subroutine s_write_parallel_ib_state (t_step)
 Writes the IB state information out to file.
subroutine s_write_serial_ib_state (t_step)
 Write IB state data to a per-timestep serial (unformatted) file.
impure subroutine, public s_write_ib_state_file (time_step)
 Writes IB state records to restart_data/ib_state.dat. Must be called only on rank 0.
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_initialize_data_output_module
 Initialize the data output module.
impure subroutine, public s_finalize_data_output_module
 Module deallocation and/or disassociation procedures.

Variables

real(wp), dimension(:,:,:), allocatable icfl_sf
 ICFL stability criterion.
real(wp), dimension(:,:,:), allocatable vcfl_sf
 VCFL 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(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, and Rc stability criteria extrema over all the time-steps
real(wpicfl_max
 ICFL criterion maximum.
real(wpvcfl_max
 VCFL 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 2157 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 2168 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 2136 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 2342 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 2179 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 456 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 481 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 422 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 1507 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 404 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 1372 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 ( integer, intent(in) time_step)

Writes IB state records to restart_data/ib_state.dat. Must be called only on rank 0.

Definition at line 1494 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_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 1101 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 1325 of file m_data_output.fpp.f90.

Here is the caller graph for this function:

◆ s_write_parallel_ib_state()

subroutine m_data_output::s_write_parallel_ib_state ( integer, intent(in) t_step)
private

Writes the IB state information out to file.

Definition at line 1385 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_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 1540 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 512 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 733 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 1297 of file m_data_output.fpp.f90.

Here is the caller graph for this function:

◆ s_write_serial_ib_state()

subroutine m_data_output::s_write_serial_ib_state ( integer, intent(in) t_step)
private

Write IB state data to a per-timestep serial (unformatted) file.

Definition at line 1458 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

◆ c_mass

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

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

◆ icfl_max

real(wp) m_data_output::icfl_max
private

ICFL criterion maximum.

Definition at line 394 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 366 of file m_data_output.fpp.f90.

◆ icfl_max_loc

real(wp) m_data_output::icfl_max_loc
private

Definition at line 366 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 350 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 399 of file m_data_output.fpp.f90.

◆ rc_min

real(wp) m_data_output::rc_min
private

Rc criterion maximum.

Definition at line 396 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 368 of file m_data_output.fpp.f90.

◆ rc_min_loc

real(wp) m_data_output::rc_min_loc
private

Definition at line 368 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 352 of file m_data_output.fpp.f90.

◆ vcfl_max

real(wp) m_data_output::vcfl_max
private

VCFL criterion maximum.

Definition at line 395 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 367 of file m_data_output.fpp.f90.

◆ vcfl_max_loc

real(wp) m_data_output::vcfl_max_loc
private

Definition at line 367 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 351 of file m_data_output.fpp.f90.