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 | |
\*---------------------------------------------------------------------------*/
@ -32,7 +32,7 @@ solvers
mergeLevels 1;
}
Ua
"(Ua|Ub|Theta|k|epsilon)"
{
solver PBiCG;
preconditioner DILU;
@ -40,53 +40,13 @@ solvers
relTol 0;
}
Ub
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
alpha
"(alpha|beta)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-10;
relTol 0;
}
beta
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-10;
relTol 0;
}
Theta
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
k
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
epsilon
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
}
PISO