With the addition of mesh-motion to XiFoam and the new engine fvMeshMover the XiEngineFoam kivaTest simple IC engine example now runs in XiFoam and XiEngineFoam has been removed. This simplifies maintenance provides greater extensibility.
74 lines
1.5 KiB
C++
74 lines
1.5 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
p
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-06;
|
|
relTol 0.1;
|
|
}
|
|
|
|
pFinal
|
|
{
|
|
$p;
|
|
tolerance 1e-06;
|
|
relTol 0;
|
|
}
|
|
|
|
rho
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-05;
|
|
relTol 0.1;
|
|
}
|
|
|
|
rhoFinal
|
|
{
|
|
$rho;
|
|
tolerance 1e-05;
|
|
relTol 0;
|
|
}
|
|
|
|
"(U|Xi|hau|eau|ft|b|ha|ea|k|epsilon)"
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-05;
|
|
relTol 0.1;
|
|
}
|
|
"(U|ft|Xi|hau|eau|b|ha|ea|k|epsilon)Final"
|
|
{
|
|
$U;
|
|
tolerance 1e-05;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
nCorrectors 2;
|
|
nNonOrthogonalCorrectors 1;
|
|
momentumPredictor yes;
|
|
correctPhi no;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|