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

Contains module m_derived_variables. More...

Go to the source code of this file.

Modules

module  m_derived_variables
 Derives diagnostic flow quantities (vorticity, speed of sound, numerical Schlieren, etc.) from conservative and primitive variables.

Functions/Subroutines

impure subroutine, public m_derived_variables::s_initialize_derived_variables_module
 Computation of parameters, allocation procedures, and/or any other tasks needed to properly setup the module.
impure subroutine, public m_derived_variables::s_initialize_derived_variables
 Allocate and open derived variables. Computing FD coefficients.
subroutine, public m_derived_variables::s_compute_derived_variables (t_step, q_cons_vf, q_prim_ts1, q_prim_ts2)
 Writes coherent body information, communication files, and probes.
subroutine m_derived_variables::s_derive_acceleration_component (i, q_prim_vf0, q_prim_vf1, q_prim_vf2, q_prim_vf3, q_sf)
 This subroutine receives as inputs the indicator of the component of the acceleration that should be outputted and the primitive variables. From those inputs, it proceeds to calculate values of the desired acceleration component, which are subsequently stored in derived flow quantity storage variable, q_sf.
impure subroutine m_derived_variables::s_derive_center_of_mass (q_vf, c_m)
 This subroutine is used together with the volume fraction model and when called upon, it computes the location of of the center of mass for each fluid from the inputted primitive variables, q_prim_vf. The computed location is then written to a formatted data file by the root process.
impure subroutine, public m_derived_variables::s_finalize_derived_variables_module
 Deallocation procedures for the module.

Variables

Finite-difference coefficients

Finite-difference (fd) coefficients in x-, y- and z-coordinate directions. Note that because sufficient boundary information is available for all the active coordinate directions, the centered family of the finite-difference schemes is used.

real(wp), dimension(:, :), allocatable, public m_derived_variables::fd_coeff_x
real(wp), dimension(:, :), allocatable, public m_derived_variables::fd_coeff_y
real(wp), dimension(:, :), allocatable, public m_derived_variables::fd_coeff_z
real(wp), dimension(:, :, :), allocatable, public m_derived_variables::accel_mag
real(wp), dimension(:, :, :), allocatable, public m_derived_variables::x_accel
real(wp), dimension(:, :, :), allocatable, public m_derived_variables::y_accel
real(wp), dimension(:, :, :), allocatable, public m_derived_variables::z_accel

Detailed Description

Contains module m_derived_variables.

Definition in file m_derived_variables.fpp.f90.