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 | |
\*---------------------------------------------------------------------------*/
@ -25,26 +25,17 @@ solvers
relTol 0;
}
U
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
B
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
pB
{
solver PCG;
preconditioner DIC;
$p;
tolerance 1e-05;
relTol 0;
}
"(U|B)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}