diff --git a/src/finiteArea/faMesh/faPatches/faPatch/faPatch.C b/src/finiteArea/faMesh/faPatches/faPatch/faPatch.C index b0f16927219587bb426f02770ff673b47283587c..199c2bfc5ced9109299fb09d10ee3cbff1275a00 100644 --- a/src/finiteArea/faMesh/faPatches/faPatch/faPatch.C +++ b/src/finiteArea/faMesh/faPatches/faPatch/faPatch.C @@ -20,7 +20,7 @@ License FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License +// You should have received a copy of the GNU General Public License along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. \*---------------------------------------------------------------------------*/ @@ -424,7 +424,8 @@ Foam::tmp<Foam::vectorField> Foam::faPatch::edgeFaceCentres() const Foam::tmp<Foam::vectorField> Foam::faPatch::delta() const { - return edgeCentres() - edgeFaceCentres(); + return edgeNormals()*(edgeNormals() & (edgeCentres() - edgeFaceCentres())); + //return edgeCentres() - edgeFaceCentres(); }