From 71f45e1259c1430980f6e816463f0812d9622128 Mon Sep 17 00:00:00 2001 From: Sergio Ferraris Date: Thu, 24 Nov 2011 17:48:43 +0000 Subject: [PATCH] BUG: Changing zGround readind --- .../atmBoundaryLayerInletVelocityFvPatchVectorField.C | 2 +- .../atmBoundaryLayerInletVelocityFvPatchVectorField.H | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.C b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.C index 94eefec0f6..d2c3dfde62 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.C +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.C @@ -95,7 +95,7 @@ atmBoundaryLayerInletVelocityFvPatchVectorField kappa_(dict.lookupOrDefault("kappa", 0.41)), Uref_(readScalar(dict.lookup("Uref"))), Href_(readScalar(dict.lookup("Href"))), - zGround_(readScalar(dict.lookup("zGround"))) + zGround_("zGround", dict, p.size()) { if (mag(n_) < SMALL || mag(z_) < SMALL || mag(z0_) < SMALL) { diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.H b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.H index aa383742b0..a3a87ab9d2 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.H +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.H @@ -113,7 +113,7 @@ class atmBoundaryLayerInletVelocityFvPatchVectorField const scalar Href_; //- Minimum corrdinate value in z direction - const scalarField zGround_; + scalarField zGround_; public: