mus_intp_scaleMoments3D Function

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

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

Arguments

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

Interpolated moments, dens, m_1, m_2, m_3, SS_XX, SS_YY, S_ZZ, SS_XY, SS_YZ, SS_ZX

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 momIn

Return Value real(kind=rk)(10)

Scaled moments, dens, m_1, m_2, m_3, SS_XX, SS_YY, S_ZZ, SS_XY, SS_YZ, SS_ZX


Contents


Variables

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