From 2cda84cf2a2a1b263f27ddccea579a9f67fe0d14 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Sat, 11 Aug 2012 18:38:38 +0100 Subject: [PATCH] Moved constructor from dictionary --- .../nutWallFunctionFvPatchScalarField.C | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutWallFunction/nutWallFunctionFvPatchScalarField.C b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutWallFunction/nutWallFunctionFvPatchScalarField.C index d4679f27e..5ad71c169 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutWallFunction/nutWallFunctionFvPatchScalarField.C +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutWallFunction/nutWallFunctionFvPatchScalarField.C @@ -129,6 +129,23 @@ nutWallFunctionFvPatchScalarField::nutWallFunctionFvPatchScalarField } +nutWallFunctionFvPatchScalarField::nutWallFunctionFvPatchScalarField +( + const fvPatch& p, + const DimensionedField& iF, + const dictionary& dict +) +: + fixedValueFvPatchScalarField(p, iF, dict), + Cmu_(dict.lookupOrDefault("Cmu", 0.09)), + kappa_(dict.lookupOrDefault("kappa", 0.41)), + E_(dict.lookupOrDefault("E", 9.8)), + yPlusLam_(calcYPlusLam(kappa_, E_)) +{ + checkType(); +} + + nutWallFunctionFvPatchScalarField::nutWallFunctionFvPatchScalarField ( const nutWallFunctionFvPatchScalarField& ptf, @@ -147,23 +164,6 @@ nutWallFunctionFvPatchScalarField::nutWallFunctionFvPatchScalarField } -nutWallFunctionFvPatchScalarField::nutWallFunctionFvPatchScalarField -( - const fvPatch& p, - const DimensionedField& iF, - const dictionary& dict -) -: - fixedValueFvPatchScalarField(p, iF, dict), - Cmu_(dict.lookupOrDefault("Cmu", 0.09)), - kappa_(dict.lookupOrDefault("kappa", 0.41)), - E_(dict.lookupOrDefault("E", 9.8)), - yPlusLam_(calcYPlusLam(kappa_, E_)) -{ - checkType(); -} - - nutWallFunctionFvPatchScalarField::nutWallFunctionFvPatchScalarField ( const nutWallFunctionFvPatchScalarField& wfpsf