44 lines
1.3 KiB
C++
Executable file
44 lines
1.3 KiB
C++
Executable file
/*--------------------------------*- 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
|
|
{
|
|
|
|
psi
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-6;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
Picard
|
|
{
|
|
nIterPicard 10; //must be strictly higher than 5 ; 10 should be the best value//
|
|
nMaxCycle 10;
|
|
stabilisationThreshold 10;
|
|
precPicard 1e-4;
|
|
tFact 1.3; //1 means fixed time step ; should be lower than 1.5//
|
|
}
|
|
|
|
relaxationFactor
|
|
{
|
|
// psi 0.3;
|
|
};
|
|
|
|
// ************************************************************************* //
|