Commit 3bffa0e5 authored by andy's avatar andy
Browse files

ENH: (re-)added under-relaxation to pEqn in LTSReactingParcelFoam solver

parent ab95424f
......@@ -93,6 +93,11 @@ int main(int argc, char *argv[])
bool finalIter = oCorr == nOuterCorr-1;
#include "addFinalIter.H"
if (nOuterCorr != 1)
{
p.storePrevIter();
}
turbulence->correct();
#include "UEqn.H"
......
......@@ -59,7 +59,7 @@
}
}
Info<< "p min/max = " << min(p).value() << ", " << max(p).value() << endl;
p.relax();
// Second part of thermodynamic density update
thermo.rho() += psi*p;
......@@ -75,4 +75,6 @@
rho = min(rho, rhoMax);
#include "setPressureWork.H"
Info<< "p min/max = " << min(p).value() << ", " << max(p).value() << endl;
}
Supports Markdown
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