cavitatingFoam: Corrected correctUf call to use the absolute flux

Resolves bug-report https://bugs.openfoam.org/view.php?id=3825
This commit is contained in:
Henry Weller
2022-04-11 16:08:05 +01:00
parent 9297b3c679
commit 48e2ff1fec

View File

@ -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));
}