Skip to content
Snippets Groups Projects
Commit 58aa677a authored by Andrew Heather's avatar Andrew Heather
Browse files

bugfix: removed reference to tmp field

parent 69c7280f
Branches
Tags
No related merge requests found
...@@ -191,7 +191,7 @@ void alphaSgsJayatillekeWallFunctionFvPatchScalarField::evaluate ...@@ -191,7 +191,7 @@ void alphaSgsJayatillekeWallFunctionFvPatchScalarField::evaluate
const label patchI = patch().index(); const label patchI = patch().index();
const scalarField& muw = lesModel.mu().boundaryField()[patchI]; const scalarField& muw = lesModel.mu().boundaryField()[patchI];
const scalarField& muSgsw = lesModel.muSgs()().boundaryField()[patchI]; const scalarField muSgsw = lesModel.muSgs()().boundaryField()[patchI];
const scalarField& alphaw = lesModel.alpha().boundaryField()[patchI]; const scalarField& alphaw = lesModel.alpha().boundaryField()[patchI];
scalarField& alphaSgsw = *this; scalarField& alphaSgsw = *this;
......
...@@ -137,7 +137,7 @@ void alphaSgsWallFunctionFvPatchScalarField::evaluate ...@@ -137,7 +137,7 @@ void alphaSgsWallFunctionFvPatchScalarField::evaluate
const scalar Prt = lesModel.Prt().value(); const scalar Prt = lesModel.Prt().value();
// Get the turbulent viscosity at the wall // Get the turbulent viscosity at the wall
const scalarField& muSgsw = const scalarField muSgsw =
lesModel.muSgs()().boundaryField()[patch().index()]; lesModel.muSgs()().boundaryField()[patch().index()];
operator==(muSgsw/Prt); operator==(muSgsw/Prt);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment