mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: pimpleFoam - added sources.correct(U) after momentum solve
This commit is contained in:
@ -18,4 +18,6 @@ volScalarField rAU(1.0/UEqn().A());
|
|||||||
if (pimple.momentumPredictor())
|
if (pimple.momentumPredictor())
|
||||||
{
|
{
|
||||||
solve(UEqn() == -fvc::grad(p));
|
solve(UEqn() == -fvc::grad(p));
|
||||||
|
|
||||||
|
sources.correct(U);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user