diff --git a/applications/utilities/mesh/manipulation/moveDynamicMesh/moveDynamicMesh.C b/applications/utilities/mesh/manipulation/moveDynamicMesh/moveDynamicMesh.C index b5bd06d9c..d19ed1c58 100644 --- a/applications/utilities/mesh/manipulation/moveDynamicMesh/moveDynamicMesh.C +++ b/applications/utilities/mesh/manipulation/moveDynamicMesh/moveDynamicMesh.C @@ -66,6 +66,22 @@ int main(int argc, char *argv[]) if (runTime.timeIndex() % checkFrequency == 0) { mesh.checkMesh(true); + + volScalarField magMeshCo + ( + "magMeshCo", + fvc::surfaceSum + ( + mag + ( + mesh.phi()* + mesh.surfaceInterpolation::deltaCoeffs()/ + mesh.magSf() + ) + ) + ); + + magMeshCo.write(); } runTime.write();