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:
@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user