diff --git a/applications/solvers/multiphase/compressibleTwoPhaseEulerFoam/interfacialModels/Make/options b/applications/solvers/multiphase/compressibleTwoPhaseEulerFoam/interfacialModels/Make/options index 42c2cb54c90ca034ab79c760543ec4f3a2192f45..92fe0b0d74ab657d08fb917834ecd7b4afa9783d 100644 --- a/applications/solvers/multiphase/compressibleTwoPhaseEulerFoam/interfacialModels/Make/options +++ b/applications/solvers/multiphase/compressibleTwoPhaseEulerFoam/interfacialModels/Make/options @@ -3,4 +3,5 @@ EXE_INC = \ -I../phaseModel/lnInclude LIB_LIBS = \ - -lphaseModel + -lcompressiblePhaseModel + diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.C b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.C index 94eefec0f673c647ada1e3391b19aebede30280e..d2c3dfde62d47a8570b63b1ed07482463a381e92 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<scalar>("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 aa383742b05372ca025a49e7d7a05783fd7dff40..a3a87ab9d2931cea7413a3df5bda2793e67466ce 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: