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

Contains module m_body_forces. More...

Go to the source code of this file.

Modules

module  m_body_forces
 Computes gravitational and body force source terms for the momentum equations.

Functions/Subroutines

impure subroutine, public m_body_forces::s_initialize_body_forces_module
 Initialize the body forces module. When synthetic_turbulence is enabled, generates random wave vectors for each energy shell on rank 0, then broadcasts to all MPI ranks and copies to GPU.
impure subroutine m_body_forces::s_initialize_body_force_with_spatial_support
 Initialize a body force with spatial support presented in Wei & Freund (JFM, 2005).
subroutine m_body_forces::s_compute_acceleration (t)
 Compute the acceleration at time t.
subroutine m_body_forces::s_compute_body_force_with_spatial_support (t, bounds)
 Apply the body force of Wei & Freund (JFM, 2005).
subroutine m_body_forces::s_compute_mixture_density (q_cons_vf, bounds)
 Compute the mixture density at each cell center.
subroutine, public m_body_forces::s_compute_body_forces_rhs (q_prim_vf, q_cons_vf, rhs_vf, bounds)
 Compute the body force source terms for momentum and energy equations.
subroutine, public m_body_forces::s_compute_synthetic_forces_rhs (q_prim_vf, q_cons_vf, rhs_vf)
 Compute the synthetic turbulence RHS contribution.
impure subroutine, public m_body_forces::s_finalize_body_forces_module
 Finalize the body forces module.

Variables

integer, parameter m_body_forces::spbf_num_freq = 8
real(wpm_body_forces::spbf_amp
real(wpm_body_forces::spbf_xc
real(wpm_body_forces::spbf_yc
real(wpm_body_forces::spbf_conv_vel
real(wpm_body_forces::spbf_sigma
real(wp), dimension(:), allocatable m_body_forces::freq
real(wp), dimension(:), allocatable m_body_forces::phase
real(wp), dimension(:,:,:), allocatable m_body_forces::rhom
integer m_body_forces::num_synthetic_wave_numbers
real(wp), dimension(:), allocatable m_body_forces::synthetic_k_x
real(wp), dimension(:), allocatable m_body_forces::synthetic_k_y
real(wp), dimension(:), allocatable m_body_forces::synthetic_k_z
real(wp), dimension(:), allocatable m_body_forces::synthetic_phase
real(wp), dimension(:), allocatable m_body_forces::synthetic_amp
real(wp), dimension(:), allocatable m_body_forces::synthetic_ex
real(wp), dimension(:), allocatable m_body_forces::synthetic_ey
real(wp), dimension(:), allocatable m_body_forces::synthetic_ez

Detailed Description

Contains module m_body_forces.

Definition in file m_body_forces.fpp.f90.