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
(
hex (5 4 9 10 16 15 20 21) (10 10 1) simpleGrading (1 1 1)
hex (0 1 4 5 11 12 15 16) (10 10 1) simpleGrading (1 1 1)
hex (1 2 3 4 12 13 14 15) (20 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) (15 15 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 (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

View file

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

View file

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

View file

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

View file

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