Commit 6bedf228 authored by mattijs's avatar mattijs
Browse files

ENH: mixerVesselAMI2D: set-up to use GAMG and optional parallel running

parent c1ac1848
......@@ -3,3 +3,4 @@ set -x
m4 < constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
blockMesh > log.blockMesh 2>&1
topoSet
......@@ -14,16 +14,12 @@ FoamFile
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
/*
preservePatches
(
AMI1
AMI2
);
*/
singleProcessorFaceSets ((AMI -1));
numberOfSubdomains 4;
method simple;
method scotch;
simpleCoeffs
{
......
......@@ -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;
......
/*--------------------------------*- 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.*";
}
}
);
// ************************************************************************* //
Markdown is supported
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