Clean-up immersedBoundary

This commit is contained in:
Hrvoje Jasak 2017-11-16 15:24:55 +00:00
parent ef6ddbf9d7
commit d37f72cc86
4 changed files with 20 additions and 36 deletions

View file

@ -16,9 +16,15 @@ FoamFile
libs
(
"libimmersedBoundary.so"
"liblduSolvers.so"
)
DebugSwitches
{
immersedBoundary 1;
}
application icoDyMFoam;
startFrom startTime;
@ -32,10 +38,7 @@ endTime 50;
deltaT 0.002;
writeControl runTime;
writeInterval 0.2;
// writeControl timeStep;
// writeInterval 1;
writeInterval 0.1;
purgeWrite 0;

View file

@ -17,32 +17,23 @@ FoamFile
ddtSchemes
{
default Euler;
ddt(U) backward;
}
gradSchemes
{
default Gauss linear;
grad(p) Gauss linear;
}
divSchemes
{
default none;
// div(phi,U) Gauss upwind;
div(phi,U) Gauss linear;
// div(phi,U) Gauss linearUpwind Gauss linear;
// div(phi,U) Gauss vanLeer;
// div(phi,U) Gauss GammaV 0.2;
div(phi,U) Gauss linearUpwind Gauss linear;
}
laplacianSchemes
{
default none;
laplacian(nu,U) Gauss linear corrected;
laplacian((1|A(U)),p) Gauss linear corrected;
laplacian(1,p) Gauss linear corrected;
default Gauss linear corrected;
}
interpolationSchemes

View file

@ -19,7 +19,7 @@ solvers
p
{
solver amgSolver;
cycle W-cycle;
cycle V-cycle;
policy cluster;
nPreSweeps 2;
nPostSweeps 2;
@ -27,7 +27,7 @@ solvers
minCoarseEqns 4;
nMaxLevels 100;
scale on;
smoother symGaussSeidel;
smoother ILUC0;
minIter 1;
maxIter 100;
@ -38,7 +38,7 @@ solvers
pFinal
{
solver amgSolver;
cycle W-cycle;
cycle V-cycle;
policy cluster;
nPreSweeps 2;
nPostSweeps 2;
@ -46,12 +46,12 @@ solvers
minCoarseEqns 4;
nMaxLevels 100;
scale on;
smoother symGaussSeidel;
smoother ILUC0;
minIter 1;
maxIter 100;
tolerance 1e-7;
relTol 0.0;
relTol 0.01;
}
U
@ -60,8 +60,8 @@ solvers
preconditioner ILU0;
minIter 1;
maxIter 1000;
tolerance 1e-08;
maxIter 100;
tolerance 1e-07;
relTol 0;
}
}

View file

@ -14,9 +14,11 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 2;
// numberOfSubdomains 2;
// method simple;
method manual;
numberOfSubdomains 7;
method scotch;
simpleCoeffs
{
@ -24,18 +26,6 @@ simpleCoeffs
delta 0.001;
}
hierarchicalCoeffs
{
n (1 1 1);
delta 0.001;
order xyz;
}
metisCoeffs
{
processorWeights 4(1 1 1 1);
}
manualCoeffs
{
dataFile "cellDecomposition";