Skip to content
Snippets Groups Projects
Commit 055fa134 authored by henry's avatar henry
Browse files

Correction to the application of rmsCorr

parent d8c9ea12
No related branches found
No related tags found
No related merge requests found
...@@ -181,11 +181,11 @@ void turbulentInletFvPatchField<Type>::updateCoeffs() ...@@ -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_
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment