ENH: Updated SIMPLE solvers to new simpleControl framework

This commit is contained in:
andy
2011-10-26 14:31:57 +01:00
parent 3f53a04f09
commit ca3ec6ebcb
14 changed files with 37 additions and 61 deletions

View File

@ -75,7 +75,7 @@ int main(int argc, char *argv[])
runTime++;
for (int nonOrth=0; nonOrth<=simple.nNonOrthCorr(); nonOrth++)
while (simple.correctNonOrthogonal())
{
solve(fvm::laplacian(murf, psi) + fvc::div(murf*Mrf));
}