Updated tutorial settings to match paper

This commit is contained in:
Hrvoje Jasak 2019-01-25 16:29:16 +00:00
parent f45048dd04
commit 781a70f6c2
5 changed files with 21 additions and 24 deletions

View file

@ -45,11 +45,11 @@ vertices
blocks blocks
( (
hex (5 4 9 10 16 15 20 21) (10 10 1) simpleGrading (1 1 1) hex (5 4 9 10 16 15 20 21) (15 15 1) simpleGrading (1 1 1)
hex (0 1 4 5 11 12 15 16) (10 10 1) simpleGrading (1 1 1) hex (0 1 4 5 11 12 15 16) (15 15 1) simpleGrading (1 1 1)
hex (1 2 3 4 12 13 14 15) (20 10 1) simpleGrading (1 1 1) hex (1 2 3 4 12 13 14 15) (20 15 1) simpleGrading (1 1 1)
hex (4 3 6 7 15 14 17 18) (20 20 1) simpleGrading (1 1 1) hex (4 3 6 7 15 14 17 18) (20 20 1) simpleGrading (1 1 1)
hex (9 4 7 8 20 15 18 19) (10 20 1) simpleGrading (1 1 1) hex (9 4 7 8 20 15 18 19) (15 20 1) simpleGrading (1 1 1)
); );
edges edges

View file

@ -21,43 +21,43 @@ FoamFile
{ {
type symmetryPlane; type symmetryPlane;
physicalType symmetryPlane; physicalType symmetryPlane;
nFaces 30; nFaces 35;
startFace 1930; startFace 2815;
} }
right right
{ {
type patch; type patch;
physicalType tractionAdiabatic; physicalType tractionAdiabatic;
nFaces 30; nFaces 35;
startFace 1960; startFace 2850;
} }
down down
{ {
type symmetryPlane; type symmetryPlane;
physicalType symmetryPlane; physicalType symmetryPlane;
nFaces 30; nFaces 35;
startFace 1990; startFace 2885;
} }
up up
{ {
type patch; type patch;
physicalType tractionAdiabatic; physicalType tractionAdiabatic;
nFaces 30; nFaces 35;
startFace 2020; startFace 2920;
} }
hole hole
{ {
type patch; type patch;
physicalType tractionAdiabatic; physicalType tractionAdiabatic;
nFaces 20; nFaces 30;
startFace 2050; startFace 2955;
} }
frontAndBack frontAndBack
{ {
type empty; type empty;
physicalType empty; physicalType empty;
nFaces 2000; nFaces 2900;
startFace 2070; startFace 2985;
} }
) )

View file

@ -23,7 +23,7 @@ startTime 0;
stopAt endTime; stopAt endTime;
endTime 100; endTime 200;
deltaT 1; deltaT 1;

View file

@ -22,9 +22,7 @@ d2dt2Schemes
gradSchemes gradSchemes
{ {
default Gauss linear; default leastSquares;
grad(U) leastSquares;
grad(T) leastSquares;
} }
divSchemes divSchemes

View file

@ -21,10 +21,9 @@ solvers
{ {
solver PCG; solver PCG;
preconditioner DIC; preconditioner DIC;
tolerance 1e-06; tolerance 1e-9;
relTol 0.01; relTol 0.001;
} }
T T
{ {
solver PCG; solver PCG;
@ -37,7 +36,7 @@ solvers
stressedFoam stressedFoam
{ {
nCorrectors 1; nCorrectors 1;
U 1e-06; U 1e-07;
} }