tutorials: DTCHullWave: Increase upstream mesh density

The mesh in the upstream region of this case has been refined back to
its original density. This restores the wave propagation behaviour
through this region.
This commit is contained in:
Will Bainbridge
2021-09-01 10:56:47 +01:00
parent 559fe8ca7e
commit c4187efc28
6 changed files with 31 additions and 27 deletions

View File

@ -20,6 +20,8 @@ do
runApplication -a refineMesh -dict refineMeshDict -overwrite
done
rm -rf constant/polyMesh/sets
runApplication snappyHexMesh -overwrite
runApplication renumberMesh -noFields -overwrite

View File

@ -20,6 +20,8 @@ do
runApplication -a refineMesh -dict refineMeshDict -overwrite
done
rm -rf constant/polyMesh/sets
runApplication snappyHexMesh -overwrite
runApplication renumberMesh -noFields -overwrite

View File

@ -20,6 +20,8 @@ do
runApplication -a refineMesh -dict refineMeshDict -overwrite
done
rm -rf constant/polyMesh/sets
runApplication snappyHexMesh -overwrite
runApplication renumberMesh -noFields -overwrite

View File

@ -18,49 +18,49 @@ convertToMeters 1;
vertices
(
(-26 -19 -16)
(16 -19 -16)
(16 0 -16)
(10 -19 -16)
(10 0 -16)
(-26 0 -16)
(-26 -19 -1)
(16 -19 -1)
(16 0 -1)
(10 -19 -1)
(10 0 -1)
(-26 0 -1)
(-26 -19 0.188)
(16 -19 0.188)
(16 0 0.188)
(10 -19 0.188)
(10 0 0.188)
(-26 0 0.188)
(-26 -19 0.244)
(16 -19 0.244)
(16 0 0.244)
(10 -19 0.244)
(10 0 0.244)
(-26 0 0.244)
(-26 -19 0.3)
(16 -19 0.3)
(16 0 0.3)
(10 -19 0.3)
(10 0 0.3)
(-26 0 0.3)
(-26 -19 1.6)
(16 -19 1.6)
(16 0 1.6)
(10 -19 1.6)
(10 0 1.6)
(-26 0 1.6)
(-26 -19 4)
(16 -19 4)
(16 0 4)
(10 -19 4)
(10 0 4)
(-26 0 4)
);
blocks
(
hex (0 1 2 3 4 5 6 7) (42 19 50) simpleGrading (1 1 0.05)
hex (4 5 6 7 8 9 10 11) (42 19 50) simpleGrading (1 1 1)
hex (8 9 10 11 12 13 14 15) (42 19 4) simpleGrading (1 1 1)
hex (12 13 14 15 16 17 18 19) (42 19 4) simpleGrading (1 1 1)
hex (16 17 18 19 20 21 22 23) (42 19 40) simpleGrading (1 1 1)
hex (20 21 22 23 24 25 26 27) (42 19 20) simpleGrading (1 1 5)
hex (0 1 2 3 4 5 6 7) (36 19 50) simpleGrading (1 1 0.05)
hex (4 5 6 7 8 9 10 11) (36 19 50) simpleGrading (1 1 1)
hex (8 9 10 11 12 13 14 15) (36 19 4) simpleGrading (1 1 1)
hex (12 13 14 15 16 17 18 19) (36 19 4) simpleGrading (1 1 1)
hex (16 17 18 19 20 21 22 23) (36 19 40) simpleGrading (1 1 1)
hex (20 21 22 23 24 25 26 27) (36 19 20) simpleGrading (1 1 5)
);
edges

View File

@ -62,8 +62,6 @@ functions
writeControl adjustableRunTime;
writeInterval 0.01;
startTime 10;
surfaceFormat vtk;
writeFormat binary;
fields (p_rgh U);

View File

@ -21,35 +21,35 @@ actions
type cellSet;
action new;
source boxToCell;
box (-10 -6 -3) (16 0 3);
box (-10 -6 -3) (10 0 3);
}
{
name c2;
type cellSet;
action new;
source boxToCell;
box (-5 -3 -2.5) (16 0 2);
box (-5 -3 -2.5) (10 0 2);
}
{
name c3;
type cellSet;
action new;
source boxToCell;
box (-3 -1.5 -1) (16 0 1.5);
box (-3 -1.5 -1) (10 0 1.5);
}
{
name c4;
type cellSet;
action new;
source boxToCell;
box (-2 -1 -0.6) (16 0 1);
box (-2 -1 -0.6) (10 0 1);
}
{
name c5;
type cellSet;
action new;
source boxToCell;
box (-1 -0.6 -0.3) (6.5 0 0.8);
box (-1 -0.6 -0.3) (10 0 0.8);
}
{
name c6;