mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Corrected and simplified solver selection for implicit MULES.
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user