diff --git a/src/finiteVolume/fields/fvPatchFields/derived/pressureDirectedInletVelocity/pressureDirectedInletVelocityFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/pressureDirectedInletVelocity/pressureDirectedInletVelocityFvPatchVectorField.H index 627a96a3d..8605479f4 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/pressureDirectedInletVelocity/pressureDirectedInletVelocityFvPatchVectorField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/pressureDirectedInletVelocity/pressureDirectedInletVelocityFvPatchVectorField.H @@ -48,7 +48,7 @@ namespace Foam { /*---------------------------------------------------------------------------*\ - Class pressureDirectedInletVelocityFvPatch Declaration + Class pressureDirectedInletVelocityFvPatchVectorField Declaration \*---------------------------------------------------------------------------*/ class pressureDirectedInletVelocityFvPatchVectorField @@ -57,8 +57,13 @@ class pressureDirectedInletVelocityFvPatchVectorField { // Private data + //- Name of flux field word phiName_; + + //- Name of density field word rhoName_; + + //- Inlet direction vectorField inletDir_; @@ -163,6 +168,18 @@ public: return phiName_; } + //- Return inlet direction + const vectorField& inletDir() const + { + return inletDir_; + } + + //- Return access to inlet direction + vectorField& inletDir() + { + return inletDir_; + } + // Mapping functions