Added momentum equation relaxation to allow forcing diagonal-dominance.

This commit is contained in:
henry
2008-10-07 10:07:43 +01:00
parent e9e2c1036f
commit 81f08283f4

View File

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