mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Correction to the application of rmsCorr
This commit is contained in:
@ -181,11 +181,11 @@ void turbulentInletFvPatchField<Type>::updateCoeffs()
|
|||||||
scalar rmsCorr = sqrt(12*(2*alpha_ - sqr(alpha_)))/alpha_;
|
scalar rmsCorr = sqrt(12*(2*alpha_ - sqr(alpha_)))/alpha_;
|
||||||
|
|
||||||
patchField =
|
patchField =
|
||||||
(rmsCorr*(1 - alpha_))*patchField
|
(1 - alpha_)*patchField
|
||||||
+ (rmsCorr*alpha_)*
|
+ alpha_*
|
||||||
(
|
(
|
||||||
referenceField_
|
referenceField_
|
||||||
+ cmptMultiply
|
+ rmsCorr*cmptMultiply
|
||||||
(
|
(
|
||||||
randomField - 0.5*pTraits<Type>::one,
|
randomField - 0.5*pTraits<Type>::one,
|
||||||
fluctuationScale_
|
fluctuationScale_
|
||||||
|
|||||||
Reference in New Issue
Block a user