Skip to content
Snippets Groups Projects
Commit 00ce68ee authored by Henry's avatar Henry
Browse files

compressibleMultiphaseInterFoam: VoF and MULES controls are now in the alpha sub-dict of fvSolution

consistent with multiphaseInterFoam and other VoF solvers
parent b5b67912
Branches
Tags
No related merge requests found
......@@ -705,12 +705,9 @@ void Foam::multiphaseMixtureThermo::solve()
{
const Time& runTime = mesh_.time();
const dictionary& pimpleDict = mesh_.solutionDict().subDict("PIMPLE");
label nAlphaSubCycles(readLabel(pimpleDict.lookup("nAlphaSubCycles")));
scalar cAlpha(readScalar(pimpleDict.lookup("cAlpha")));
const dictionary& alphaControls = mesh_.solverDict("alpha");
label nAlphaSubCycles(readLabel(alphaControls.lookup("nAlphaSubCycles")));
scalar cAlpha(readScalar(alphaControls.lookup("cAlpha")));
volScalarField& alpha = phases_.first();
......
......@@ -17,6 +17,12 @@ FoamFile
solvers
{
"alpha.*"
{
nAlphaSubCycles 4;
cAlpha 2;
}
pcorr
{
solver PCG;
......@@ -102,8 +108,6 @@ PIMPLE
{
nCorrectors 2;
nNonOrthogonalCorrectors 0;
nAlphaSubCycles 4;
cAlpha 2;
}
relaxationFactors
......
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