diff --git a/src/finiteVolume/fields/fvPatchFields/derived/pressureDirectedInletOutletVelocity/pressureDirectedInletOutletVelocityFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/pressureDirectedInletOutletVelocity/pressureDirectedInletOutletVelocityFvPatchVectorField.H index 423b0fc6c..b24c6c00b 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/pressureDirectedInletOutletVelocity/pressureDirectedInletOutletVelocityFvPatchVectorField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/pressureDirectedInletOutletVelocity/pressureDirectedInletOutletVelocityFvPatchVectorField.H @@ -47,7 +47,7 @@ namespace Foam { /*---------------------------------------------------------------------------*\ - Class pressureDirectedInletOutletVelocityFvPatch Declaration + Class pressureDirectedInletOutletVelocityFvPatchVectorField Declaration \*---------------------------------------------------------------------------*/ class pressureDirectedInletOutletVelocityFvPatchVectorField @@ -170,6 +170,18 @@ public: return phiName_; } + //- Return inlet direction + const vectorField& inletDir() const + { + return inletDir_; + } + + //- Return access to inlet direction + vectorField& inletDir() + { + return inletDir_; + } + // Mapping functions