mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Added momentum equation relaxation to allow forcing diagonal-dominance.
This commit is contained in:
@ -66,6 +66,9 @@ int main(int argc, char *argv[])
|
||||
+ sgsModel->divDevBeff(U)
|
||||
);
|
||||
|
||||
// Optionally ensure diagonal-dominance of the momentum matrix
|
||||
UEqn.relax();
|
||||
|
||||
if (momentumPredictor)
|
||||
{
|
||||
solve(UEqn == -fvc::grad(p));
|
||||
|
||||
Reference in New Issue
Block a user