secondMom_2D Function

public pure function secondMom_2D(cxcx, f, QQ) result(m)

Calculate second moments of some quantity where Q is number of discrete velocity.\n The output is 1 dimentional array which has 6 componenents.\n Specifically, This function is used by shear stress and strain rate. 1=xx, 2=yy, 3=xy

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: cxcx(6,QQ)
real(kind=rk), intent(in) :: f(QQ)

quantity to which second moment is applied

integer, intent(in) :: QQ

Return Value real(kind=rk), (3)


Called by

proc~~secondmom_2d~~CalledByGraph proc~secondmom_2d secondMom_2D proc~bgk_dualrelaxationtime_rr_d2q9 bgk_DualRelaxationTime_RR_d2q9 proc~bgk_dualrelaxationtime_rr_d2q9->proc~secondmom_2d proc~bgk_hybridrecursiveregularized_d2q9 bgk_HybridRecursiveRegularized_d2q9 proc~bgk_hybridrecursiveregularized_d2q9->proc~secondmom_2d proc~bgk_hybridrecursiveregularizedcorr_d2q9 bgk_HybridRecursiveRegularizedCorr_d2q9 proc~bgk_hybridrecursiveregularizedcorr_d2q9->proc~secondmom_2d proc~bgk_recursiveregularized_d2q9 bgk_RecursiveRegularized_d2q9 proc~bgk_recursiveregularized_d2q9->proc~secondmom_2d proc~bgk_regularized_d2q9 bgk_Regularized_d2q9 proc~bgk_regularized_d2q9->proc~secondmom_2d proc~mus_turbvisc_smagorinsky_fromprecolpdf_incomp_2d mus_turbVisc_Smagorinsky_fromPreColPDF_incomp_2D proc~mus_turbvisc_smagorinsky_fromprecolpdf_incomp_2d->proc~secondmom_2d