From 7310d0911db5f33593ce5d2192bc4f294c89f504 Mon Sep 17 00:00:00 2001 From: Henry Date: Fri, 3 May 2013 17:58:16 +0100 Subject: [PATCH] interMixingFoam: updated tutorials --- .../threePhaseInterfaceProperties.C | 6 ++++-- .../interMixingFoam/laminar/damBreak/system/fvSolution | 7 ++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/applications/solvers/multiphase/interFoam/interMixingFoam/threePhaseInterfaceProperties/threePhaseInterfaceProperties.C b/applications/solvers/multiphase/interFoam/interMixingFoam/threePhaseInterfaceProperties/threePhaseInterfaceProperties.C index e16f83bd2e..f7edec6415 100644 --- a/applications/solvers/multiphase/interFoam/interMixingFoam/threePhaseInterfaceProperties/threePhaseInterfaceProperties.C +++ b/applications/solvers/multiphase/interFoam/interMixingFoam/threePhaseInterfaceProperties/threePhaseInterfaceProperties.C @@ -174,8 +174,10 @@ Foam::threePhaseInterfaceProperties::threePhaseInterfaceProperties ( readScalar ( - mixture.U().mesh().solutionDict().subDict("PIMPLE"). - lookup("cAlpha") + mixture.U().mesh().solverDict + ( + mixture_.alpha1().name() + ).lookup("cAlpha") ) ), sigma12_(mixture.lookup("sigma12")), diff --git a/tutorials/multiphase/interMixingFoam/laminar/damBreak/system/fvSolution b/tutorials/multiphase/interMixingFoam/laminar/damBreak/system/fvSolution index d4ae062a47..235c7014d0 100644 --- a/tutorials/multiphase/interMixingFoam/laminar/damBreak/system/fvSolution +++ b/tutorials/multiphase/interMixingFoam/laminar/damBreak/system/fvSolution @@ -19,6 +19,10 @@ solvers { "alpha." { + nAlphaCorr 1; + nAlphaSubCycles 2; + cAlpha 1; + solver smoothSolver; smoother GaussSeidel; tolerance 1e-06; @@ -64,9 +68,6 @@ PIMPLE momentumPredictor no; nCorrectors 3; nNonOrthogonalCorrectors 0; - nAlphaCorr 1; - nAlphaSubCycles 2; - cAlpha 1; }