From 48e2ff1fecc05b19fa3f421b2bbec6b2be3f735d Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Mon, 11 Apr 2022 16:08:05 +0100 Subject: [PATCH] cavitatingFoam: Corrected correctUf call to use the absolute flux Resolves bug-report https://bugs.openfoam.org/view.php?id=3825 --- applications/solvers/multiphase/cavitatingFoam/pEqn.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/solvers/multiphase/cavitatingFoam/pEqn.H b/applications/solvers/multiphase/cavitatingFoam/pEqn.H index d0789e2198..a426f5a64d 100644 --- a/applications/solvers/multiphase/cavitatingFoam/pEqn.H +++ b/applications/solvers/multiphase/cavitatingFoam/pEqn.H @@ -80,5 +80,5 @@ Info<< "max(U) " << max(mag(U)).value() << endl; // Correct Uf if the mesh is moving - fvc::correctUf(Uf, U, phi); + fvc::correctUf(Uf, U, fvc::absolute(phi, U)); }