This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/tutorials/solidMechanics/elasticThermalSolidFoam/hotCylinder/system/fvSolution
2018-06-01 18:11:37 +02:00

76 lines
2 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
T
{
solver GAMG;
tolerance 1e-10;
relTol 0.1;
minIter 0;
maxIter 1000;
smoother GaussSeidel;
cacheAgglomeration true;
nCellsInCoarsestLevel 20;
agglomerator faceAreaPair;
mergeLevels 1;
}
U
{
tolerance 1e-10;
relTol 0.1;
minIter 0;
maxIter 1000;
//solver PCG;
//preconditioner DIC;
solver GAMG;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
nFinestSweeps 2;
scaleCorrection true;
directSolveCoarsest false;
cacheAgglomeration true;
nCellsInCoarsestLevel 20;
agglomerator faceAreaPair;
mergeLevels 1;
}
}
solidMechanics
{
nCorrectors 10000;
U 1e-6;
infoFrequency 10;
divSigmaExp surface;
aitkenRelaxation yes;
}
relaxationFactors
{
//U 0.9;
T 0.9;
}
// ************************************************************************* //