interMixingFoam: updated tutorials

This commit is contained in:
Henry
2013-05-03 17:58:16 +01:00
parent 50c05c07ec
commit 7310d0911d
2 changed files with 8 additions and 5 deletions

View File

@ -174,8 +174,10 @@ Foam::threePhaseInterfaceProperties::threePhaseInterfaceProperties
( (
readScalar readScalar
( (
mixture.U().mesh().solutionDict().subDict("PIMPLE"). mixture.U().mesh().solverDict
lookup("cAlpha") (
mixture_.alpha1().name()
).lookup("cAlpha")
) )
), ),
sigma12_(mixture.lookup("sigma12")), sigma12_(mixture.lookup("sigma12")),

View File

@ -19,6 +19,10 @@ solvers
{ {
"alpha." "alpha."
{ {
nAlphaCorr 1;
nAlphaSubCycles 2;
cAlpha 1;
solver smoothSolver; solver smoothSolver;
smoother GaussSeidel; smoother GaussSeidel;
tolerance 1e-06; tolerance 1e-06;
@ -64,9 +68,6 @@ PIMPLE
momentumPredictor no; momentumPredictor no;
nCorrectors 3; nCorrectors 3;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
nAlphaCorr 1;
nAlphaSubCycles 2;
cAlpha 1;
} }