mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
compressibleMultiphaseInterFoam: VoF and MULES controls are now in the alpha sub-dict of fvSolution
consistent with multiphaseInterFoam and other VoF solvers
This commit is contained in:
@ -705,12 +705,9 @@ void Foam::multiphaseMixtureThermo::solve()
|
|||||||
{
|
{
|
||||||
const Time& runTime = mesh_.time();
|
const Time& runTime = mesh_.time();
|
||||||
|
|
||||||
const dictionary& pimpleDict = mesh_.solutionDict().subDict("PIMPLE");
|
const dictionary& alphaControls = mesh_.solverDict("alpha");
|
||||||
|
label nAlphaSubCycles(readLabel(alphaControls.lookup("nAlphaSubCycles")));
|
||||||
label nAlphaSubCycles(readLabel(pimpleDict.lookup("nAlphaSubCycles")));
|
scalar cAlpha(readScalar(alphaControls.lookup("cAlpha")));
|
||||||
|
|
||||||
scalar cAlpha(readScalar(pimpleDict.lookup("cAlpha")));
|
|
||||||
|
|
||||||
|
|
||||||
volScalarField& alpha = phases_.first();
|
volScalarField& alpha = phases_.first();
|
||||||
|
|
||||||
|
|||||||
@ -17,6 +17,12 @@ FoamFile
|
|||||||
|
|
||||||
solvers
|
solvers
|
||||||
{
|
{
|
||||||
|
"alpha.*"
|
||||||
|
{
|
||||||
|
nAlphaSubCycles 4;
|
||||||
|
cAlpha 2;
|
||||||
|
}
|
||||||
|
|
||||||
pcorr
|
pcorr
|
||||||
{
|
{
|
||||||
solver PCG;
|
solver PCG;
|
||||||
@ -102,8 +108,6 @@ PIMPLE
|
|||||||
{
|
{
|
||||||
nCorrectors 2;
|
nCorrectors 2;
|
||||||
nNonOrthogonalCorrectors 0;
|
nNonOrthogonalCorrectors 0;
|
||||||
nAlphaSubCycles 4;
|
|
||||||
cAlpha 2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
|
|||||||
Reference in New Issue
Block a user