diff --git a/tutorials/incompressible/pimpleDyMFoam/mixerVesselAMI2D/makeMesh b/tutorials/incompressible/pimpleDyMFoam/mixerVesselAMI2D/makeMesh index 937900177c..edcd0dadfe 100755 --- a/tutorials/incompressible/pimpleDyMFoam/mixerVesselAMI2D/makeMesh +++ b/tutorials/incompressible/pimpleDyMFoam/mixerVesselAMI2D/makeMesh @@ -3,3 +3,4 @@ set -x m4 < constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict blockMesh > log.blockMesh 2>&1 +topoSet diff --git a/tutorials/incompressible/pimpleDyMFoam/mixerVesselAMI2D/system/decomposeParDict b/tutorials/incompressible/pimpleDyMFoam/mixerVesselAMI2D/system/decomposeParDict index c19a5c12d4..4f2007f7e3 100644 --- a/tutorials/incompressible/pimpleDyMFoam/mixerVesselAMI2D/system/decomposeParDict +++ b/tutorials/incompressible/pimpleDyMFoam/mixerVesselAMI2D/system/decomposeParDict @@ -14,16 +14,12 @@ FoamFile object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -/* -preservePatches -( - AMI1 - AMI2 -); -*/ + +singleProcessorFaceSets ((AMI -1)); + numberOfSubdomains 4; -method simple; +method scotch; simpleCoeffs { diff --git a/tutorials/incompressible/pimpleDyMFoam/mixerVesselAMI2D/system/fvSolution b/tutorials/incompressible/pimpleDyMFoam/mixerVesselAMI2D/system/fvSolution index a9ea80ae36..03c95627ee 100644 --- a/tutorials/incompressible/pimpleDyMFoam/mixerVesselAMI2D/system/fvSolution +++ b/tutorials/incompressible/pimpleDyMFoam/mixerVesselAMI2D/system/fvSolution @@ -19,16 +19,22 @@ solvers { pcorr { - solver PCG; - preconditioner DIC; + solver GAMG; + smoother GaussSeidel; + nPreSweeps 0; + nPostSweeps 2; + cacheAgglomeration off; + agglomerator faceAreaPair; + nCellsInCoarsestLevel 10; + mergeLevels 1; + tolerance 0.02; relTol 0; } p { - solver PCG; - preconditioner DIC; + $pcorr; tolerance 1e-06; relTol 0.01; } @@ -66,8 +72,8 @@ solvers PIMPLE { - correctPhi yes; - nOuterCorrectors 3; + correctPhi no; + nOuterCorrectors 2; nCorrectors 1; nNonOrthogonalCorrectors 0; diff --git a/tutorials/incompressible/pimpleDyMFoam/mixerVesselAMI2D/system/topoSetDict b/tutorials/incompressible/pimpleDyMFoam/mixerVesselAMI2D/system/topoSetDict new file mode 100644 index 0000000000..de7ca6af92 --- /dev/null +++ b/tutorials/incompressible/pimpleDyMFoam/mixerVesselAMI2D/system/topoSetDict @@ -0,0 +1,35 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object topoSetDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +actions +( + // Get both sides of ami + // ~~~~~~~~~~~~~~~~~~~~~ + + // Get all faces in cellSet + { + name AMI; + type faceSet; + action new; + source patchToFace; + sourceInfo + { + name "AMI.*"; + } + } +); + +// ************************************************************************* //