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

Computes gravitational and user-defined body force source terms for the momentum equations. More...

Functions/Subroutines

impure subroutine, public s_initialize_body_forces_module
 Initialize the body forces module.
subroutine s_compute_acceleration (t)
 Compute the acceleration at time t.
subroutine s_compute_mixture_density (q_cons_vf)
 Compute the mixture density at each cell center.
subroutine, public s_compute_body_forces_rhs (q_prim_vf, q_cons_vf, rhs_vf)
 Compute the body force source terms for momentum and energy equations.
impure subroutine, public s_finalize_body_forces_module
 Finalize the body forces module.

Variables

real(wp), dimension(:,:,:), allocatable rhom

Detailed Description

Computes gravitational and user-defined body force source terms for the momentum equations.

Function/Subroutine Documentation

◆ s_compute_acceleration()

subroutine m_body_forces::s_compute_acceleration ( real(wp), intent(in) t)
private

Compute the acceleration at time t.

Definition at line 458 of file m_body_forces.fpp.f90.

Here is the caller graph for this function:

◆ s_compute_body_forces_rhs()

subroutine, public m_body_forces::s_compute_body_forces_rhs ( type(scalar_field), dimension(sys_size), intent(in) q_prim_vf,
type(scalar_field), dimension(sys_size), intent(in) q_cons_vf,
type(scalar_field), dimension(sys_size), intent(inout) rhs_vf )

Compute the body force source terms for momentum and energy equations.

Definition at line 542 of file m_body_forces.fpp.f90.

Here is the call graph for this function:

◆ s_compute_mixture_density()

subroutine m_body_forces::s_compute_mixture_density ( type(scalar_field), dimension(sys_size), intent(in) q_cons_vf)
private

Compute the mixture density at each cell center.

Definition at line 491 of file m_body_forces.fpp.f90.

Here is the caller graph for this function:

◆ s_finalize_body_forces_module()

impure subroutine, public m_body_forces::s_finalize_body_forces_module

Finalize the body forces module.

Definition at line 729 of file m_body_forces.fpp.f90.

Here is the caller graph for this function:

◆ s_initialize_body_forces_module()

impure subroutine, public m_body_forces::s_initialize_body_forces_module

Initialize the body forces module.

Definition at line 347 of file m_body_forces.fpp.f90.

Here is the caller graph for this function:

Variable Documentation

◆ rhom

real(wp), dimension(:,:,:), allocatable m_body_forces::rhom
private

Definition at line 331 of file m_body_forces.fpp.f90.