mus_intp_scaleMoments2D Function

public pure function mus_intp_scaleMoments2D(momIn, pFac, vFac, nEqFac) result(momOut)

This function scales interpolated moments like density, momentum and shear stress to target level for 2D compressible model

Arguments

TypeIntentOptionalAttributesName
real(kind=rk), intent(in) :: momIn(6)

Interpolated moments, dens, m_1, m_2, SS_XX, SS_YY, SS_XY

real(kind=rk), intent(in) :: pFac

Scaling factor for Pressure

real(kind=rk), intent(in) :: vFac

Scaling factor for velocity

real(kind=rk), intent(in) :: nEqFac

Scaling factor for nonEq Shear stress moments

Return Value real(kind=rk)(6)

Scaled moments, dens, m_1, m_2, SS_XX, SS_YY, SS_XY


Contents


Variables

TypeVisibilityAttributesNameInitial
real(kind=rk), private :: tDens
real(kind=rk), private :: inv_tDens