ENH: Added new vortexShed tutorial to show vortex shedding and use of the Curle function object

This commit is contained in:
Andrew Heather
2017-06-29 14:18:19 +01:00
parent 7dbb3b657d
commit a900153f57
15 changed files with 957 additions and 0 deletions

View File

@ -0,0 +1,74 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: plus |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
p
{
solver GAMG;
smoother DICGaussSeidel;
// solver PCG;
// preconditioner DIC;
tolerance 1e-20;
relTol 0.05;
}
pFinal
{
$p;
tolerance 1e-6;
relTol 0;
};
"(U|nuTilda)"
{
// solver PBiCGStab;
// preconditioner DILU;
solver smoothSolver;
smoother symGaussSeidel;
tolerance 0;
relTol 0.1;
}
"(U|nuTilda)Final"
{
$U;
tolerance 1e-6;
relTol 0;
}
}
PIMPLE
{
nOuterCorrectors 5;
nCorrectors 2;
nNonOrthogonalCorrectors 0;
transonic no;
consistent no;
}
relaxationFactors
{
nuTilda 0.95;
U 0.95;
p 0.95;
".*Final" 1.0;
}
// ************************************************************************* //