Final iteration information now available in mesh::data (used to be mesh::fvData)

Relaxation and solution parameters for the final iteration in PIMPLE loops are
now selected according to the value of the "finalIteration" entry in the
mesh::data dictionary.

rhoPimpleFoam significantly updates and now replaces rhoPisoFoam.
This commit is contained in:
henry
2010-05-25 18:45:25 +01:00
parent 49ccf0ffaa
commit 361b153343
161 changed files with 685 additions and 859 deletions

View File

@ -6,7 +6,7 @@ cd ${0%/*} || exit 1 # run from this directory
application=`getApplication`
compileApplication ../../buoyantPisoFoam/hotRoom/setHotRoom
compileApplication ../../buoyantPimpleFoam/hotRoom/setHotRoom
runApplication blockMesh
runApplication setHotRoom
runApplication $application

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

View File

@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application buoyantBoussinesqPisoFoam;
application buoyantBoussinesqPimpleFoam;
startFrom startTime;
@ -23,13 +23,13 @@ startTime 0;
stopAt endTime;
endTime 1000;
endTime 2000;
deltaT 1;
deltaT 2;
writeControl timeStep;
writeInterval 100;
writeInterval 200;
purgeWrite 0;

View File

@ -21,14 +21,13 @@ solvers
{
solver PCG;
preconditioner DIC;
tolerance 1e-07;
tolerance 1e-8;
relTol 0.1;
}
pFinal
{
$p;
tolerance 1e-07;
relTol 0;
}
@ -36,19 +35,31 @@ solvers
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
tolerance 1e-6;
relTol 0.1;
}
"(U|T|k|epsilon|R)Final"
{
$U;
relTol 0;
}
}
PISO
PIMPLE
{
momentumPredictor yes;
momentumPredictor no;
nOuterCorrectors 1;
nCorrectors 2;
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 0;
}
relaxationFactors
{
"(U|T|k|epsilon|R)" 1;
"(U|T|k|epsilon|R)Final" 1;
}
// ************************************************************************* //

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

View File

@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application buoyantPisoFoam;
application buoyantPimpleFoam;
startFrom startTime;
@ -23,9 +23,9 @@ startTime 0;
stopAt endTime;
endTime 1000;
endTime 2000;
deltaT 1;
deltaT 2;
writeControl timeStep;

View File

@ -17,7 +17,7 @@ FoamFile
solvers
{
rho
"rho.*"
{
solver PCG;
preconditioner DIC;
@ -29,14 +29,13 @@ solvers
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
tolerance 1e-8;
relTol 0.1;
}
pFinal
{
$p;
tolerance 1e-06;
relTol 0;
}
@ -44,13 +43,21 @@ solvers
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
tolerance 1e-6;
relTol 0;
}
"(U|h|k|epsilon|R)Final"
{
$U;
relTol 0;
}
}
PISO
PIMPLE
{
momentumPredictor no;
nOuterCorrectors 1;
nCorrectors 2;
nNonOrthogonalCorrectors 0;
}