This module features subroutines that allow for the derivation of numerous flow variables from the conservative and primitive ones. Currently, the available derived variables include the unadvected volume fraction, specific heat ratio, liquid stiffness, speed of sound, vorticity and the numerical Schlieren function.
More...
|
subroutine, public | s_initialize_derived_variables_module () |
| Computation of parameters, allocation procedures, and/or any other tasks needed to properly setup the module.
|
|
subroutine, public | s_initialize_derived_variables () |
| Allocate and open derived variables. Computing FD coefficients.
|
|
subroutine, public | s_compute_derived_variables (t_step) |
| 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) |
| 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.
|
|
subroutine, public | s_finalize_derived_variables_module () |
| Deallocation procedures for the module.
|
|
|
|
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(kind(0d0)), dimension(:, :), allocatable, public | fd_coeff_x |
|
real(kind(0d0)), dimension(:, :), allocatable, public | fd_coeff_y |
|
real(kind(0d0)), dimension(:, :), allocatable, public | fd_coeff_z |
|
|
real(kind(0d0)), dimension(:, :, :), allocatable, public | accel_mag |
|
real(kind(0d0)), dimension(:, :, :), allocatable, public | x_accel |
|
real(kind(0d0)), dimension(:, :, :), allocatable, public | y_accel |
|
real(kind(0d0)), dimension(:, :, :), allocatable, public | z_accel |
|
This module features subroutines that allow for the derivation of numerous flow variables from the conservative and primitive ones. Currently, the available derived variables include the unadvected volume fraction, specific heat ratio, liquid stiffness, speed of sound, vorticity and the numerical Schlieren function.
◆ s_compute_derived_variables()
subroutine, public m_derived_variables::s_compute_derived_variables |
( |
integer, intent(in) | t_step | ) |
|
Writes coherent body information, communication files, and probes.
- Parameters
-
◆ 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(kind(0d0)), dimension(0:m, 0:n, 0:p), intent(out) | 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.
- Parameters
-
i | Acceleration component indicator |
q_prim_vf0 | Primitive variables |
q_prim_vf1 | Primitive variables |
q_prim_vf2 | Primitive variables |
q_prim_vf3 | Primitive variables |
q_sf | Acceleration component |
◆ s_finalize_derived_variables_module()
subroutine, public m_derived_variables::s_finalize_derived_variables_module |
Deallocation procedures for the module.
◆ s_initialize_derived_variables()
subroutine, public m_derived_variables::s_initialize_derived_variables |
Allocate and open derived variables. Computing FD coefficients.
◆ s_initialize_derived_variables_module()
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.
◆ accel_mag
real(kind(0d0)), dimension(:, :, :), allocatable, public m_derived_variables::accel_mag |
◆ fd_coeff_x
real(kind(0d0)), dimension(:, :), allocatable, public m_derived_variables::fd_coeff_x |
◆ fd_coeff_y
real(kind(0d0)), dimension(:, :), allocatable, public m_derived_variables::fd_coeff_y |
◆ fd_coeff_z
real(kind(0d0)), dimension(:, :), allocatable, public m_derived_variables::fd_coeff_z |
◆ x_accel
real(kind(0d0)), dimension(:, :, :), allocatable, public m_derived_variables::x_accel |
◆ y_accel
real(kind(0d0)), dimension(:, :, :), allocatable, public m_derived_variables::y_accel |
◆ z_accel
real(kind(0d0)), dimension(:, :, :), allocatable, public m_derived_variables::z_accel |