6-DoF solid body motion: Support PIMPLE iteration and acceleration relaxation

This commit is contained in:
Henry
2013-10-31 10:22:26 +00:00
parent 30db0da817
commit 6df8f705ae
12 changed files with 212 additions and 143 deletions

View File

@ -17,7 +17,7 @@ FoamFile
application interDyMFoam;
startFrom latestTime;
startFrom startTime;
startTime 0;
@ -29,7 +29,7 @@ deltaT 0.01;
writeControl adjustableRunTime;
writeInterval 0.1;
writeInterval 0.2;
purgeWrite 0;
@ -47,9 +47,9 @@ runTimeModifiable yes;
adjustTimeStep yes;
maxCo 0.5;
maxAlphaCo 0.5;
maxDeltaT 0.01;
maxCo 5;
maxAlphaCo 5;
maxDeltaT 1;
libs
(

View File

@ -27,7 +27,7 @@ gradSchemes
divSchemes
{
div(rho*phi,U) Gauss vanLeerV;
div(rhoPhi,U) Gauss vanLeerV;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss interfaceCompression;
div(phi,k) Gauss upwind;
@ -55,7 +55,7 @@ fluxRequired
default no;
p_rgh;
pcorr;
alpha;
alpha.water;
}

View File

@ -17,7 +17,7 @@ FoamFile
solvers
{
cellDisplacement
"cellDisplacement.*"
{
solver GAMG;
tolerance 1e-5;
@ -29,14 +29,24 @@ solvers
mergeLevels 1;
}
alpha.water
"alpha.water.*"
{
nAlphaCorr 1;
nAlphaSubCycles 3;
nAlphaSubCycles 1;
cAlpha 1;
alphaOuterCorrectors yes;
MULESCorr yes;
nLimiterIter 5;
solver PBiCG;
preconditioner DILU;
tolerance 1e-8;
relTol 0;
}
pcorr
"pcorr.*"
{
solver PCG;
preconditioner
@ -120,9 +130,11 @@ solvers
PIMPLE
{
momentumPredictor no;
nCorrectors 2;
nOuterCorrectors 6;
nCorrectors 1;
nNonOrthogonalCorrectors 0;
correctPhi yes;
moveMeshOuterCorrectors yes;
}
relaxationFactors
@ -132,7 +144,7 @@ relaxationFactors
}
equations
{
"(U|k|epsilon|omega|R|nuTilda).*" 1;
".*" 1;
}
}