|
MFC
Exascale flow solver
|
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) |
| 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 | 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 | 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 | fd_coeff_x |
| real(wp), dimension(:, :), allocatable, public | fd_coeff_y |
| real(wp), dimension(:, :), allocatable, public | fd_coeff_z |
| 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 |
Derives diagnostic flow quantities (vorticity, speed of sound, numerical Schlieren, etc.) from conservative and primitive 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.
| t_step | Current time-step |
| q_cons_vf | Conservative variables |
| q_prim_ts1 | Primitive variables at time-stage 1 |
| q_prim_ts2 | Primitive variables at time-stage 2 |
Definition at line 680 of file m_derived_variables.fpp.f90.
| 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 ) |
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.
| 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 |
Definition at line 798 of file m_derived_variables.fpp.f90.
| 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 ) |
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.
| q_vf | Primitive variables |
| c_m | Mass,x-location,y-location,z-location |
Definition at line 1488 of file m_derived_variables.fpp.f90.
| impure subroutine, public m_derived_variables::s_finalize_derived_variables_module |
Deallocation procedures for the module.
Definition at line 1931 of file m_derived_variables.fpp.f90.
| impure subroutine, public m_derived_variables::s_initialize_derived_variables |
Allocate and open derived variables. Computing FD coefficients.
Definition at line 618 of file m_derived_variables.fpp.f90.
| 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 361 of file m_derived_variables.fpp.f90.
| real(wp), dimension(:, :, :), allocatable, public m_derived_variables::accel_mag |
Definition at line 342 of file m_derived_variables.fpp.f90.
| real(wp), dimension(:, :), allocatable, public m_derived_variables::fd_coeff_x |
Definition at line 323 of file m_derived_variables.fpp.f90.
| real(wp), dimension(:, :), allocatable, public m_derived_variables::fd_coeff_y |
Definition at line 324 of file m_derived_variables.fpp.f90.
| real(wp), dimension(:, :), allocatable, public m_derived_variables::fd_coeff_z |
Definition at line 325 of file m_derived_variables.fpp.f90.
| real(wp), dimension(:, :, :), allocatable, public m_derived_variables::x_accel |
Definition at line 343 of file m_derived_variables.fpp.f90.
| real(wp), dimension(:, :, :), allocatable, public m_derived_variables::y_accel |
Definition at line 343 of file m_derived_variables.fpp.f90.
| real(wp), dimension(:, :, :), allocatable, public m_derived_variables::z_accel |
Definition at line 343 of file m_derived_variables.fpp.f90.