Skip to content
Snippets Groups Projects
Commit 81f08283 authored by henry's avatar henry
Browse files

Added momentum equation relaxation to allow forcing diagonal-dominance.

parent e9e2c103
No related merge requests found
......@@ -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));
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment