From f75b75df7b2b207fbba75f962c566546853e33bc Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Fri, 22 Mar 2019 13:25:48 +0000 Subject: [PATCH] Make nf function virtual: better accuract for immersed boundary --- src/finiteVolume/fvMesh/fvPatches/fvPatch/fvPatch.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/finiteVolume/fvMesh/fvPatches/fvPatch/fvPatch.H b/src/finiteVolume/fvMesh/fvPatches/fvPatch/fvPatch.H index 2535ae94c..9bb8c5909 100644 --- a/src/finiteVolume/fvMesh/fvPatches/fvPatch/fvPatch.H +++ b/src/finiteVolume/fvMesh/fvPatches/fvPatch/fvPatch.H @@ -277,7 +277,7 @@ public: const scalarField& magSf() const; //- Return face normals - tmp nf() const; + virtual tmp nf() const; //- Return cell-centre to face-centre vector // except for coupled patches for which the cell-centre