bc6ff7b9e3
* allRun modified to use cavitatingFoam instead of rasCavitatingFoam * turbulenceProperties file added, with simulationType entry * pFinal entry appended to fvSolution * fvSolution modified to new solver specification format * Modified k and omega fields to use the new wall functions * nut field added
97 lines
2.2 KiB
C++
97 lines
2.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 1.5 |
|
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
omega
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-08;
|
|
relTol 0;
|
|
};
|
|
|
|
k
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-08;
|
|
relTol 0;
|
|
};
|
|
|
|
rho
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-08;
|
|
relTol 0;
|
|
};
|
|
|
|
U
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-08;
|
|
relTol 0;
|
|
};
|
|
|
|
p
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-8;
|
|
relTol 0;
|
|
|
|
smoother GaussSeidel;
|
|
nPreSweeps 0;
|
|
nPostSweeps 2;
|
|
|
|
cacheAgglomeration true;
|
|
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
};
|
|
|
|
pFinal
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-8;
|
|
relTol 0;
|
|
|
|
smoother GaussSeidel;
|
|
nPreSweeps 0;
|
|
nPostSweeps 2;
|
|
|
|
cacheAgglomeration true;
|
|
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
};
|
|
}
|
|
|
|
PISO
|
|
{
|
|
nCorrectors 2;
|
|
nNonOrthogonalCorrectors 1;
|
|
|
|
// removeSwirl 2;
|
|
}
|
|
|
|
SIMPLE
|
|
{}
|
|
|
|
// ************************************************************************* //
|