Commit 055fa134 authored by henry's avatar henry
Browse files

Correction to the application of rmsCorr

parent d8c9ea12
......@@ -181,11 +181,11 @@ void turbulentInletFvPatchField<Type>::updateCoeffs()
scalar rmsCorr = sqrt(12*(2*alpha_ - sqr(alpha_)))/alpha_;
patchField =
(rmsCorr*(1 - alpha_))*patchField
+ (rmsCorr*alpha_)*
(1 - alpha_)*patchField
+ alpha_*
(
referenceField_
+ cmptMultiply
+ rmsCorr*cmptMultiply
(
randomField - 0.5*pTraits<Type>::one,
fluctuationScale_
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment