MFC
Exascale flow solver
Loading...
Searching...
No Matches
m_data_output.fpp.f90 File Reference

Contains module m_data_output. More...

Go to the source code of this file.

Modules

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

Functions/Subroutines

impure subroutine, public m_data_output::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 m_data_output::s_open_run_time_information_file
 Open the run-time information file and write the stability criteria table header.
impure subroutine, public m_data_output::s_open_probe_files
 Open flow probe data files for writing.
impure subroutine, public m_data_output::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 m_data_output::s_report_icfl_violation (q_prim_vf)
 Locate the grid cell responsible for an ICFL violation on this rank and report its state plus the nearest immersed-boundary particles, to aid debugging stability failures in particle-laden high-Mach cases.
impure subroutine, public m_data_output::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 m_data_output::s_write_parallel_data_files (q_cons_vf, t_step, bc_type, beta, q_t_sf)
 Write grid and conservative variable data files in parallel via MPI I/O.
subroutine m_data_output::s_write_serial_ib_data (time_step)
 Write immersed boundary marker data to a serial (per-processor) unformatted file.
subroutine m_data_output::s_write_parallel_ib_data (time_step)
 Write immersed boundary marker data in parallel using MPI I/O.
subroutine, public m_data_output::s_write_ib_data_file (time_step)
 Dispatch immersed boundary data output to the serial or parallel writer.
subroutine m_data_output::s_write_parallel_ib_state (t_step)
 Writes the IB state information out to file.
subroutine m_data_output::s_write_serial_ib_state (t_step)
 Write IB state data to a per-timestep serial (unformatted) file.
impure subroutine, public m_data_output::s_write_ib_force_history (t_step)
 Record every immersed body's force, torque and kinematics for this step.
impure subroutine m_data_output::s_open_ib_force_history
 Open the shared history file. Done once for the run.
impure subroutine, public m_data_output::s_close_ib_force_history
 Close the history file. Nothing is buffered, so there is nothing to flush first.
impure subroutine, public m_data_output::s_write_ib_state_file (time_step)
 Writes IB state records to restart_data/ib_state.dat. Called on every rank.
impure subroutine m_data_output::s_write_centroid_offsets (step)
 Write each global patch's centroid_offset to restart_data/ib_offset_<step>.dat, so a restart continues about the same centre of mass instead of re-measuring it from the body voxelised at the restart attitude. Collective.
impure subroutine, public m_data_output::s_write_probe_files (t_step, q_cons_vf, accel_mag)
 Write flow probe data at the current time step.
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.
impure subroutine, public m_data_output::s_close_probe_files
 Closes probe files.
impure subroutine, public m_data_output::s_initialize_data_output_module
 Initialize the data output module.
impure subroutine, public m_data_output::s_finalize_data_output_module
 Module deallocation and/or disassociation procedures.
logical function m_data_output::f_probe_owned (v, lo, hi, dir)
 Half-open ownership lo < v <= hi, so a probe on a rank face is sampled once, by the rank holding the cell the serial code samples (left of the face); the first rank in a direction also owns its lower face.

Variables

type(scalar_field), dimension(:), allocatable m_data_output::q_cons_temp_ds
character(len= *), parameter m_data_output::ib_rec_fmt = '(I10,19(1X,ES17.9E3))'
 One fixed-width text record per immersed body per recorded step, in D/ib_forces.dat.
integer, parameter m_data_output::ib_rec_body = 10 + 19*18
 characters the format emits
integer, parameter m_data_output::ib_rec_len = IB_REC_BODY + 1
 plus the newline
integer m_data_output::ib_hist_file = -1
 held open for the run; -1 until first write
ICFL, VCFL, CCFL, TCFL, and Rc stability criteria extrema over all the time-steps
real(wp) m_data_output::icfl_max
 ICFL criterion maximum.
real(wp) m_data_output::vcfl_max
 VCFL criterion maximum.
real(wp) m_data_output::ccfl_max
 CCFL criterion maximum.
real(wp) m_data_output::tcfl_max
 TCFL criterion maximum.
real(wp) m_data_output::rc_min
 Rc criterion maximum.

Detailed Description

Contains module m_data_output.

Definition in file m_data_output.fpp.f90.