openfoam/tutorials/multiphase/interIsoFoam/damBreakWithObstacle/system/fvSolution
Johan Roenby bab72d5139 ENH: multiple updates to interIsoFoam related code
- Updated tutorial headers
- Added copyright note to isoAdvector src
- Removed outcommented code lines in interIsoFoam solver
- Removed all LTS from interIsoFoam since this is not currently supported
- Confirmed that discInConstantFlow gives identical results with N subCylces and time step N*dt
- Confirmed that this also holds when nOuterCorrectors > 1.
2018-06-12 23:14:10 +02:00

90 lines
2.1 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: plus |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
"alpha.water.*"
{
isoFaceTol 1e-10;
surfCellTol 1e-6;
nAlphaBounds 3;
snapTol 1e-12;
clip true;
writeSurfCells false;
writeBoundedCells false;
writeIsoFaces false;
nAlphaCorr 1;
nAlphaSubCycles 1;
cAlpha 1;
}
p_rgh
{
solver GAMG;
tolerance 1e-08;
relTol 0.01;
smoother DIC;
cacheAgglomeration no;
}
p_rghFinal
{
$p_rgh;
relTol 0;
tolerance 1e-9;
}
"pcorr.*"
{
$p_rghFinal;
// tolerance 0.0001;
tolerance 1e-08;
}
U
{
solver smoothSolver;
smoother GaussSeidel;
tolerance 1e-07;
relTol 0;
nSweeps 1;
}
"(k|omega|B|nuTilda).*"
{
solver smoothSolver;
smoother symGaussSeidel;
tolerance 1e-08;
relTol 0;
}
}
PIMPLE
{
momentumPredictor no;
nCorrectors 3;
nNonOrthogonalCorrectors 1;
correctPhi yes;
pRefPoint (0.51 0.51 0.51);
pRefValue 0;
}
// ************************************************************************* //