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

Corrected and simplified solver selection for implicit MULES.

parent f686c8d5
Branches
Tags
No related merge requests found
......@@ -142,8 +142,7 @@ void Foam::MULES::implicitSolve
{
const fvMesh& mesh = psi.mesh();
const dictionary& MULEScontrols =
mesh.solverDict(psi.name()).subDict("MULESImplicit");
const dictionary& MULEScontrols = mesh.solverDict(psi.name());
label maxIter
(
......@@ -255,7 +254,7 @@ void Foam::MULES::implicitSolve
solve
(
psiConvectionDiffusion + fvc::div(lambda*phiCorr),
MULEScontrols.lookup("solver")
MULEScontrols
);
scalar maxPsiM1 = gMax(psi.internalField()) - 1.0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment