Tutorial updates

This commit is contained in:
Hrvoje Jasak 2013-08-14 15:29:24 +01:00
parent 82ddb504b5
commit 594d0883de
16 changed files with 71 additions and 209 deletions

View file

@ -29,17 +29,17 @@ vertices
(0 0.114 0) (0 0.114 0)
(0 0.038 0) (0 0.038 0)
(0 0.001 0) (0 0.001 0)
(0.001 0 0.5) (0.001 0 0.01)
(0.038 0 0.5) (0.038 0 0.01)
(0.076 0 0.5) (0.076 0 0.01)
(0.076 0.02687 0.5) (0.076 0.02687 0.01)
(0.02687 0.02687 0.5) (0.02687 0.02687 0.01)
(0.0007071 0.0007071 0.5) (0.0007071 0.0007071 0.01)
(0.076 0.114 0.5) (0.076 0.114 0.01)
(0.02687 0.114 0.5) (0.02687 0.114 0.01)
(0 0.114 0.5) (0 0.114 0.01)
(0 0.038 0.5) (0 0.038 0.01)
(0 0.001 0.5) (0 0.001 0.01)
); );
blocks blocks
@ -57,10 +57,10 @@ edges
arc 5 10 (0.00038268 0.00092387 0) arc 5 10 (0.00038268 0.00092387 0)
arc 1 4 (0.0351074 0.0145419 0) arc 1 4 (0.0351074 0.0145419 0)
arc 4 9 (0.0145419 0.0351074 0) arc 4 9 (0.0145419 0.0351074 0)
arc 11 16 (0.00092387 0.00038268 0.5) arc 11 16 (0.00092387 0.00038268 0.01)
arc 16 21 (0.00038268 0.00092387 0.5) arc 16 21 (0.00038268 0.00092387 0.01)
arc 12 15 (0.0351074 0.0145419 0.5) arc 12 15 (0.0351074 0.0145419 0.01)
arc 15 20 (0.0145419 0.0351074 0.5) arc 15 20 (0.0145419 0.0351074 0.01)
); );
patches patches

View file

@ -1,6 +1,6 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM Extend Project: Open Source CFD | | \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.6-ext | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: www.extend-project.de | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
@ -10,6 +10,7 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class polyBoundaryMesh; class polyBoundaryMesh;
location "constant/polyMesh";
object boundary; object boundary;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View file

@ -18,7 +18,7 @@ twoDMotion yes;
dynamicFvMesh dynamicMotionSolverFvMesh; dynamicFvMesh dynamicMotionSolverFvMesh;
solver laplaceFaceDecomposition; solver laplace;
diffusivity file; diffusivity file;
// diffusivity uniform; // diffusivity uniform;

View file

@ -20,7 +20,7 @@ FoamFile
dynamicFvMesh dynamicMotionSolverFvMesh; dynamicFvMesh dynamicMotionSolverFvMesh;
solver mesquiteMotionSolver; solver mesquiteMotionSolver;
//solver laplaceFaceDecomposition; //solver laplace;
//diffusivity uniform 1.0; //diffusivity uniform 1.0;
//diffusivity quadratic; //diffusivity quadratic;
//distancePatches (topWall); //distancePatches (topWall);

View file

@ -20,7 +20,7 @@ dynamicFvMesh dynamicMotionSolverFvMesh;
twoDMotion yes; twoDMotion yes;
solver laplaceFaceDecomposition; solver laplace;
diffusivity quadratic; diffusivity quadratic;

View file

@ -1,6 +1,6 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM Extend Project: Open Source CFD | | \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.6-ext | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: www.extend-project.de | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
@ -62,4 +62,5 @@ boundaryField
} }
} }
// ************************************************************************* // // ************************************************************************* //

View file

@ -21,7 +21,7 @@ twoDMotion yes;
motionPlaneNormal (0 0 1); motionPlaneNormal (0 0 1);
solver laplaceFaceDecomposition; solver laplace;
diffusivity quadratic; diffusivity quadratic;

View file

@ -18,7 +18,7 @@ dynamicFvMesh dynamicMotionSolverFvMesh;
twoDMotion yes; twoDMotion yes;
solver laplaceFaceDecomposition; solver laplace;
diffusivity uniform 1.0; diffusivity uniform 1.0;

View file

@ -18,7 +18,7 @@ dynamicFvMesh dynamicMotionSolverFvMesh;
twoDMotion yes; twoDMotion yes;
solver laplaceFaceDecomposition; solver laplace;
diffusivity uniform 1.0; diffusivity uniform 1.0;

View file

@ -18,7 +18,7 @@ dynamicFvMesh dynamicMotionSolverFvMesh;
twoDMotion yes; twoDMotion yes;
solver laplaceFaceDecomposition; solver laplace;
diffusivity uniform 1.0; diffusivity uniform 1.0;

View file

@ -19,7 +19,7 @@ dynamicFvMesh dynamicMotionSolverFvMesh;
twoDMotion yes; twoDMotion yes;
solver laplaceFaceDecomposition; solver laplace;
diffusivity quadratic; diffusivity quadratic;

View file

@ -19,21 +19,8 @@ solvers
p p
{ {
solver PCG; solver CG;
preconditioner preconditioner Cholesky;
{
// preconditioner Cholesky;
preconditioner AMG;
cycle W-cycle;
policy AAMG;
nPreSweeps 0;
nPostSweeps 2;
groupSize 4;
minCoarseEqns 20;
nMaxLevels 100;
scale off;
smoother ILU;
}
tolerance 1e-07; tolerance 1e-07;
relTol 0; relTol 0;
@ -43,12 +30,8 @@ solvers
U U
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
@ -58,12 +41,8 @@ solvers
tau tau
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;

View file

@ -19,21 +19,8 @@ solvers
p p
{ {
solver PCG; solver CG;
preconditioner preconditioner Cholesky;
{
// preconditioner Cholesky;
preconditioner AMG;
cycle W-cycle;
policy AAMG;
nPreSweeps 0;
nPostSweeps 2;
groupSize 4;
minCoarseEqns 20;
nMaxLevels 100;
scale off;
smoother ILU;
}
tolerance 1e-07; tolerance 1e-07;
relTol 0; relTol 0;
@ -45,10 +32,7 @@ solvers
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
@ -59,10 +43,7 @@ solvers
taufirst taufirst
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
@ -73,10 +54,7 @@ solvers
tausecond tausecond
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
@ -87,10 +65,7 @@ solvers
tauthird tauthird
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
@ -101,10 +76,7 @@ solvers
taufourth taufourth
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;

View file

@ -20,20 +20,7 @@ solvers
p p
{ {
solver PCG; solver PCG;
preconditioner preconditioner Cholesky
{
// preconditioner Cholesky;
preconditioner AMG;
cycle W-cycle;
policy AAMG;
nPreSweeps 0;
nPostSweeps 2;
groupSize 4;
minCoarseEqns 20;
nMaxLevels 100;
scale off;
smoother ILU;
}
tolerance 1e-07; tolerance 1e-07;
relTol 0; relTol 0;
@ -43,12 +30,8 @@ solvers
U U
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
@ -60,10 +43,7 @@ solvers
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;

View file

@ -19,21 +19,8 @@ solvers
p p
{ {
solver PCG; solver CG;
preconditioner preconditioner Cholesky;
{
// preconditioner Cholesky;
preconditioner AMG;
cycle W-cycle;
policy AAMG;
nPreSweeps 0;
nPostSweeps 2;
groupSize 4;
minCoarseEqns 20;
nMaxLevels 100;
scale off;
smoother ILU;
}
tolerance 1e-07; tolerance 1e-07;
relTol 0; relTol 0;
@ -45,10 +32,7 @@ solvers
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
@ -59,10 +43,7 @@ solvers
tau tau
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;

View file

@ -20,20 +20,7 @@ solvers
p p
{ {
solver PCG; solver PCG;
preconditioner preconditioner DIC;
{
// preconditioner Cholesky;
preconditioner AMG;
cycle W-cycle;
policy AAMG;
nPreSweeps 0;
nPostSweeps 2;
groupSize 4;
minCoarseEqns 20;
nMaxLevels 100;
scale off;
smoother ILU;
}
tolerance 1e-07; tolerance 1e-07;
relTol 0; relTol 0;
@ -45,10 +32,7 @@ solvers
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
@ -58,11 +42,8 @@ solvers
Sfirst Sfirst
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
@ -72,11 +53,8 @@ solvers
Ssecond Ssecond
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
@ -86,11 +64,8 @@ solvers
Sthird Sthird
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
@ -100,11 +75,8 @@ solvers
Sfourth Sfourth
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
@ -114,11 +86,8 @@ solvers
Sfifth Sfifth
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
@ -128,11 +97,8 @@ solvers
Ssixth Ssixth
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
@ -142,11 +108,8 @@ solvers
Lambdafirst Lambdafirst
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
@ -156,11 +119,8 @@ solvers
Lambdasecond Lambdasecond
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
@ -170,11 +130,8 @@ solvers
Lambdathird Lambdathird
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
@ -184,11 +141,8 @@ solvers
Lambdafourth Lambdafourth
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
@ -198,11 +152,8 @@ solvers
Lambdafifth Lambdafifth
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
@ -212,11 +163,8 @@ solvers
Lambdasixth Lambdasixth
{ {
solver BiCGStab; solver BiCGStab;
preconditioner preconditioner ILU0;
{
preconditioner Cholesky;
}
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;