From 2dc2206525bcf82d08e2d3900bcc00462310d43c Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Sat, 30 Dec 2017 09:32:57 +0000 Subject: [PATCH] Bugfix: flux required for pd --- .../solvers/multiphase/interPhaseChangeFoam/createFields.H | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/createFields.H b/applications/solvers/multiphase/interPhaseChangeFoam/createFields.H index 011e879f7..94d7bf2a7 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/createFields.H +++ b/applications/solvers/multiphase/interPhaseChangeFoam/createFields.H @@ -104,7 +104,6 @@ label pdRefCell = 0; scalar pdRefValue = 0.0; setRefCell(pd, pimple.dict(), pdRefCell, pdRefValue); - mesh.schemesDict().setFluxRequired(pd.name()); scalar pRefValue = 0.0; @@ -128,3 +127,6 @@ ( incompressible::turbulenceModel::New(U, phi, twoPhaseProperties()) ); + + mesh.schemesDict().setFluxRequired(pd.name()); + mesh.schemesDict().setFluxRequired(alpha1.name());