bugfix: removed reference to tmp field
This commit is contained in:
parent
69c7280f50
commit
58aa677a74
@ -191,7 +191,7 @@ void alphaSgsJayatillekeWallFunctionFvPatchScalarField::evaluate
|
||||
const label patchI = patch().index();
|
||||
|
||||
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];
|
||||
scalarField& alphaSgsw = *this;
|
||||
|
@ -137,7 +137,7 @@ void alphaSgsWallFunctionFvPatchScalarField::evaluate
|
||||
const scalar Prt = lesModel.Prt().value();
|
||||
|
||||
// Get the turbulent viscosity at the wall
|
||||
const scalarField& muSgsw =
|
||||
const scalarField muSgsw =
|
||||
lesModel.muSgs()().boundaryField()[patch().index()];
|
||||
|
||||
operator==(muSgsw/Prt);
|
||||
|
Loading…
Reference in New Issue
Block a user