Skip to content
Snippets Groups Projects
Commit 3e0d063e authored by andy's avatar andy
Browse files

ENH: Named calculated fields to avoid db clash on check-in

parent d4121ea4
Branches
Tags
No related merge requests found
......@@ -53,7 +53,7 @@ void SpalartAllmaras::updateSubGridScaleFields()
tmp<volScalarField> SpalartAllmaras::fv1() const
{
const volScalarField chi3(pow3(nuTilda_/nu()));
const volScalarField chi3("chi3", pow3(nuTilda_/nu()));
return chi3/(chi3 + pow3(Cv1_));
}
......@@ -66,8 +66,8 @@ tmp<volScalarField> SpalartAllmaras::fv2() const
tmp<volScalarField> SpalartAllmaras::fv3() const
{
const volScalarField chi(nuTilda_/nu());
const volScalarField chiByCv2((1/Cv2_)*chi);
const volScalarField chi("chi", nuTilda_/nu());
const volScalarField chiByCv2(chi/Cv2_);
return
(scalar(1) + chi*fv1())
......
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