Correction to the application of rmsCorr

This commit is contained in:
henry
2008-05-06 22:41:09 +01:00
parent d8c9ea12f2
commit 055fa134da

View File

@ -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_