adjust tutorial fvSolution to use regular expressions and $variable

This commit is contained in:
Mark Olesen
2009-08-01 14:51:59 +02:00
parent 8d78978645
commit d749aac04d
77 changed files with 377 additions and 2511 deletions

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -19,44 +19,38 @@ solvers
{
p
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
};
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
}
U
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
cellDisplacement
{
solver GAMG;
tolerance 1e-8;
tolerance 1e-08;
relTol 0;
smoother GaussSeidel;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
};
cellMotionU
}
"(cellMotionU|cellMotionUz)"
{
solver PCG;
preconditioner DIC;
tolerance 1e-08;
relTol 0;
};
cellMotionUz
{
solver PCG;
preconditioner DIC;
tolerance 1e-08;
relTol 0;
};
$p;
tolerance 1e-08;
relTol 0;
}
}