modules/twoPhaseSolver: Include divU into MULES corrector
This improves convergence in situations with substantial source-based divergence, such as injections and phase changes.
This commit is contained in:
@ -256,8 +256,8 @@ void Foam::solvers::twoPhaseSolver::alphaSolve
|
||||
alpha1,
|
||||
talphaPhi1Un(),
|
||||
talphaPhi1Corr.ref(),
|
||||
Sp(),
|
||||
(-Sp()*alpha1)(),
|
||||
(Sp() + divU())(),
|
||||
(-(Sp() + divU())*alpha1)(),
|
||||
oneField(),
|
||||
zeroField()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user