mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updated solvers to use simpleControl and pimpleControl
This commit is contained in:
@ -245,28 +245,15 @@ void Foam::multiphaseMixture::solve()
|
||||
|
||||
const Time& runTime = mesh_.time();
|
||||
|
||||
label nAlphaSubCycles
|
||||
(
|
||||
readLabel
|
||||
(
|
||||
mesh_.solutionDict().subDict("PISO").lookup("nAlphaSubCycles")
|
||||
)
|
||||
);
|
||||
const dictionary& pimpleDict = mesh_.solutionDict().subDict("PIMPLE");
|
||||
|
||||
label nAlphaCorr
|
||||
(
|
||||
readLabel(mesh_.solutionDict().subDict("PISO").lookup("nAlphaCorr"))
|
||||
);
|
||||
label nAlphaSubCycles(readLabel(pimpleDict.lookup("nAlphaSubCycles")));
|
||||
|
||||
bool cycleAlpha
|
||||
(
|
||||
Switch(mesh_.solutionDict().subDict("PISO").lookup("cycleAlpha"))
|
||||
);
|
||||
label nAlphaCorr(readLabel(pimpleDict.lookup("nAlphaCorr")));
|
||||
|
||||
scalar cAlpha
|
||||
(
|
||||
readScalar(mesh_.solutionDict().subDict("PISO").lookup("cAlpha"))
|
||||
);
|
||||
bool cycleAlpha(Switch(pimpleDict.lookup("cycleAlpha")));
|
||||
|
||||
scalar cAlpha(readScalar(pimpleDict.lookup("cAlpha")));
|
||||
|
||||
|
||||
volScalarField& alpha = phases_.first();
|
||||
|
||||
Reference in New Issue
Block a user