From 5aeb7d036b80ed9d7a914314e64501d49b914135 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Thu, 6 Sep 2018 18:34:14 +0100 Subject: [PATCH] Bugfix: Fix writing of gamma before boundary was set --- .../utilities/immersedBoundary/writeIbMasks/writeIbMasks.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/utilities/immersedBoundary/writeIbMasks/writeIbMasks.C b/applications/utilities/immersedBoundary/writeIbMasks/writeIbMasks.C index cbdda8447..186e8575f 100644 --- a/applications/utilities/immersedBoundary/writeIbMasks/writeIbMasks.C +++ b/applications/utilities/immersedBoundary/writeIbMasks/writeIbMasks.C @@ -53,7 +53,6 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh) dimensionedScalar("one", dimless, 1) ); gamma.internalField() = mesh.V()/mesh.cellVolumes(); - gamma.write(); // Report minimal live cell volume scalar minLiveGamma = GREAT; @@ -123,6 +122,7 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh) } sGamma.write(); + gamma.write(); // Check consistency of face area vectors