From 4a766d28cb57678174cdbcb05834ce249590549d Mon Sep 17 00:00:00 2001 From: Henry Weller <http://cfd.direct> Date: Thu, 18 Aug 2016 08:23:54 +0100 Subject: [PATCH] epsilonWallFunction, omegaWallFunction: Removed unused variabl --- .../epsilonWallFunctionFvPatchScalarField.C | 3 --- .../omegaWallFunction/omegaWallFunctionFvPatchScalarField.C | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C b/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C index cda78252e61..5f19867486a 100644 --- a/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C +++ b/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C @@ -229,9 +229,6 @@ void Foam::epsilonWallFunctionFvPatchScalarField::calculate const scalarField magGradUw(mag(Uw.snGrad())); - typedef DimensionedField<scalar, volMesh> FieldType; - const FieldType& G = db().lookupObject<FieldType>(turbModel.GName()); - // Set epsilon and G forAll(nutw, facei) { diff --git a/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C b/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C index b8633f62bf9..5bed4060c5f 100644 --- a/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C +++ b/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C @@ -233,9 +233,6 @@ void omegaWallFunctionFvPatchScalarField::calculate const scalarField magGradUw(mag(Uw.snGrad())); - typedef DimensionedField<scalar, volMesh> FieldType; - const FieldType& G = db().lookupObject<FieldType>(turbModel.GName()); - // Set omega and G forAll(nutw, facei) { -- GitLab