|
MFC
Exascale flow solver
|
Contains module m_data_output. More...
Go to the source code of this file.
Modules | |
| module | m_data_output |
| Writes post-processed grid and flow-variable data to Silo-HDF5 or binary database files. | |
Functions/Subroutines | |
| 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. | |
| 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. | |
| impure subroutine, public | m_data_output::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 | m_data_output::s_open_intf_data_file () |
| Open the interface data file for appending extracted interface coordinates. | |
| impure subroutine, public | m_data_output::s_open_energy_data_file () |
| Open the energy data file for appending volume-integrated energy budget quantities. | |
| impure subroutine, public | m_data_output::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 | m_data_output::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 | m_data_output::s_write_amr_to_formatted_database_file (t_step) |
| Overlay the AMR refined solution. Each owned fine block is written as an extra rectilinear quadmesh (Silo) or an appended block record (binary), carrying the primitive fields (mixture density, velocities, pressure, volume fractions) at true fine resolution. On rank 0 the Silo block meshes/vars are registered into the /root 'amr_blocks' multimesh and 'amr_' multivars so VisIt/ParaView overlays them on the coarse 'rectilinear_grid'. Guarded by amr at the caller; a no-op when no fine blocks are present. Binary layout per rank: an integer block count, then per block a header [lo(3), hi(3), m, n, p, nvars], the fine cell boundaries (x_cb, then y_cb/z_cb if active), then per variable a [name, field] record (same convention as the coarse binary variables). | |
| impure subroutine | s_put_amr_block_variable (nm) |
| Write the already-filled vbuf for the current block k as variable nm: a Silo quadvar on the block mesh, or a [name, field] binary record. Object names are unique per rank+block (<nm>_amr<rank>_<k>). | |
| impure subroutine, public | m_data_output::s_write_lag_bubbles_results_to_text (t_step) |
| Write the post-processed results in the folder 'lag_bubbles_data'. | |
| impure subroutine, public | m_data_output::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 | m_data_output::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 | m_data_output::s_write_ib_state_files () |
| Convert the binary immersed-boundary state file to per-body formatted text files. | |
| impure subroutine, public | m_data_output::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 | m_data_output::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 | m_data_output::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 | m_data_output::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 | m_data_output::s_close_formatted_database_file () |
| Close the formatted database slave file and, for the root process, the master file. | |
| impure subroutine | m_data_output::s_close_binary_database_file (unit) |
| Close a Binary database file and backfill the variable count into its header record (m, n, p, dbvars). | |
| impure subroutine, public | m_data_output::s_close_intf_data_file () |
| Close the interface data file. | |
| impure subroutine, public | m_data_output::s_close_energy_data_file () |
| Close the energy data file. | |
| impure subroutine, public | m_data_output::s_finalize_data_output_module () |
| Deallocate module arrays and release all data-output resources. | |
Variables | |
| integer, parameter | m_data_output::db_real = merge(DB_DOUBLE, DB_FLOAT, wp == dp) |
| Silo datatype of a real(wp) array (grid coordinates, point meshes and point variables). A –single build must not declare DB_DOUBLE for wp data: Silo then reads two floats per coordinate and the second half of every array from past its end (garbage, sometimes NaN). | |
| type(output_context), public | m_data_output::out |
| Output workspace: flow variable buffers, VisIt extents/offsets, directory paths, file handles, and variable count. | |
| integer, private | m_data_output::err |
| character(len=13), private | m_data_output::lag_name = 'lag_bubbles' |
| Name of the Lagrangian output files and Silo point mesh: lag_bubbles or lag_particles. | |
Contains module m_data_output.
Definition in file m_data_output.fpp.f90.
|
private |
Write the already-filled vbuf for the current block k as variable nm: a Silo quadvar on the block mesh, or a [name, field] binary record. Object names are unique per rank+block (<nm>_amr<rank>_<k>).
Definition at line 968 of file m_data_output.fpp.f90.