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

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

Functions/Subroutines

impure subroutine, public s_initialize_derived_variables_module
 Computation of parameters, allocation procedures, and/or any other tasks needed to properly setup the module.
impure subroutine, public s_initialize_derived_variables
 Allocate and open derived variables. Computing FD coefficients.
subroutine, public s_compute_derived_variables (t_step, q_cons_vf, q_prim_ts1, q_prim_ts2)
 Writes coherent body information, communication files, and probes.
subroutine s_derive_acceleration_component (i, q_prim_vf0, q_prim_vf1, q_prim_vf2, q_prim_vf3, q_sf)
 Compute a component of the acceleration field from the primitive variables.
impure subroutine s_derive_center_of_mass (q_vf, c_m)
 Compute the center of mass for each fluid from the primitive variables.
impure subroutine, public s_finalize_derived_variables_module
 Deallocation procedures for the module.

Variables

real(wp), dimension(:,:,:), allocatable, public accel_mag
real(wp), dimension(:,:,:), allocatable, public x_accel
real(wp), dimension(:,:,:), allocatable, public y_accel
real(wp), dimension(:,:,:), allocatable, public z_accel

Detailed Description

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

Function/Subroutine Documentation

◆ s_compute_derived_variables()

subroutine, public m_derived_variables::s_compute_derived_variables ( integer, intent(in) t_step,
type(scalar_field), dimension(:), intent(inout) q_cons_vf,
type(vector_field), dimension(:), intent(inout) q_prim_ts1,
type(vector_field), dimension(:), intent(inout) q_prim_ts2 )

Writes coherent body information, communication files, and probes.

Definition at line 668 of file m_derived_variables.fpp.f90.

Here is the call graph for this function:

◆ s_derive_acceleration_component()

subroutine m_derived_variables::s_derive_acceleration_component ( integer, intent(in) i,
type(scalar_field), dimension(sys_size), intent(in) q_prim_vf0,
type(scalar_field), dimension(sys_size), intent(in) q_prim_vf1,
type(scalar_field), dimension(sys_size), intent(in) q_prim_vf2,
type(scalar_field), dimension(sys_size), intent(in) q_prim_vf3,
real(wp), dimension(0:m,0:n,0:p), intent(out) q_sf )

Compute a component of the acceleration field from the primitive variables.

Definition at line 754 of file m_derived_variables.fpp.f90.

Here is the caller graph for this function:

◆ s_derive_center_of_mass()

impure subroutine m_derived_variables::s_derive_center_of_mass ( type(scalar_field), dimension(sys_size), intent(in) q_vf,
real(wp), dimension(1:num_fluids,1:5), intent(inout) c_m )

Compute the center of mass for each fluid from the primitive variables.

Definition at line 1319 of file m_derived_variables.fpp.f90.

Here is the caller graph for this function:

◆ s_finalize_derived_variables_module()

impure subroutine, public m_derived_variables::s_finalize_derived_variables_module

Deallocation procedures for the module.

Definition at line 1738 of file m_derived_variables.fpp.f90.

◆ s_initialize_derived_variables()

impure subroutine, public m_derived_variables::s_initialize_derived_variables

Allocate and open derived variables. Computing FD coefficients.

Definition at line 613 of file m_derived_variables.fpp.f90.

Here is the caller graph for this function:

◆ s_initialize_derived_variables_module()

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.

Definition at line 359 of file m_derived_variables.fpp.f90.

Here is the caller graph for this function:

Variable Documentation

◆ accel_mag

real(wp), dimension(:,:,:), allocatable, public m_derived_variables::accel_mag

Definition at line 341 of file m_derived_variables.fpp.f90.

◆ x_accel

real(wp), dimension(:,:,:), allocatable, public m_derived_variables::x_accel

Definition at line 342 of file m_derived_variables.fpp.f90.

◆ y_accel

real(wp), dimension(:,:,:), allocatable, public m_derived_variables::y_accel

Definition at line 342 of file m_derived_variables.fpp.f90.

◆ z_accel

real(wp), dimension(:,:,:), allocatable, public m_derived_variables::z_accel

Definition at line 342 of file m_derived_variables.fpp.f90.