Update tutorial to better initial conditions
This commit is contained in:
parent
39fac12c97
commit
84227f7290
4 changed files with 9 additions and 9 deletions
|
@ -23,7 +23,7 @@ boundaryField
|
||||||
movingWall
|
movingWall
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform (1 0 0);
|
value uniform (0 0 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
farFieldMoving
|
farFieldMoving
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | foam-extend: Open Source CFD |
|
| \\ / F ield | foam-extend: Open Source CFD |
|
||||||
| \\ / O peration | Version: 3.0 |
|
| \\ / O peration | Version: 3.0 |
|
||||||
| \\ / A nd | Web: http://www.extend-project.de |
|
| \\ / A nd | Web: http://www.extend-project.de |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
|
@ -14,7 +14,7 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
application icoDyMFoam;
|
application icoDyMFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ deltaT 2e-05;
|
||||||
|
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
|
|
||||||
writeInterval 10;
|
writeInterval 1;
|
||||||
|
|
||||||
purgeWrite 0;
|
purgeWrite 0;
|
||||||
|
|
||||||
|
|
|
@ -18,14 +18,14 @@ solvers
|
||||||
{
|
{
|
||||||
motionU
|
motionU
|
||||||
{
|
{
|
||||||
solver PCG;
|
solver CG;
|
||||||
preconditioner DIC;
|
preconditioner Cholesky;
|
||||||
|
|
||||||
minIter 0;
|
minIter 0;
|
||||||
maxIter 1000;
|
maxIter 1000;
|
||||||
tolerance 1e-6;
|
tolerance 1e-6;
|
||||||
relTol 0.01;
|
relTol 0.0;
|
||||||
};
|
}
|
||||||
// motionU
|
// motionU
|
||||||
// {
|
// {
|
||||||
// solver amgSolver;
|
// solver amgSolver;
|
||||||
|
@ -43,7 +43,7 @@ solvers
|
||||||
// maxIter 500;
|
// maxIter 500;
|
||||||
// tolerance 1e-8;
|
// tolerance 1e-8;
|
||||||
// relTol 0.0;
|
// relTol 0.0;
|
||||||
// };
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|
Reference in a new issue