diff --git a/src/dynamicMesh/motionSmoother/motionSmootherCheck.C b/src/dynamicMesh/motionSmoother/motionSmootherCheck.C index 77ce89ca71..3efb62a995 100644 --- a/src/dynamicMesh/motionSmoother/motionSmootherCheck.C +++ b/src/dynamicMesh/motionSmoother/motionSmootherCheck.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -239,6 +239,7 @@ bool Foam::motionSmoother::checkMesh maxIntSkew, maxBounSkew, mesh, + mesh.points(), mesh.cellCentres(), mesh.faceCentres(), mesh.faceAreas(), @@ -481,14 +482,14 @@ bool Foam::motionSmoother::checkMesh ( readScalar(dict.lookup("minArea", true)) ); - const scalar maxIntSkew - ( - readScalar(dict.lookup("maxInternalSkewness", true)) - ); - const scalar maxBounSkew - ( - readScalar(dict.lookup("maxBoundarySkewness", true)) - ); + //const scalar maxIntSkew + //( + // readScalar(dict.lookup("maxInternalSkewness", true)) + //); + //const scalar maxBounSkew + //( + // readScalar(dict.lookup("maxBoundarySkewness", true)) + //); const scalar minWeight ( readScalar(dict.lookup("minFaceWeight", true)) @@ -615,27 +616,30 @@ bool Foam::motionSmoother::checkMesh nWrongFaces = nNewWrongFaces; } - if (maxIntSkew > 0 || maxBounSkew > 0) - { - meshGeom.checkFaceSkewness - ( - report, - maxIntSkew, - maxBounSkew, - checkFaces, - baffles, - &wrongFaces - ); - label nNewWrongFaces = returnReduce(wrongFaces.size(), sumOp