From c4187efc28e13f79c46076b55e6d1de522fc539b Mon Sep 17 00:00:00 2001 From: Will Bainbridge Date: Wed, 1 Sep 2021 10:56:47 +0100 Subject: [PATCH] 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. --- .../multiphase/interFoam/RAS/DTCHull/Allmesh | 2 + .../interFoam/RAS/DTCHullMoving/Allmesh | 2 + .../interFoam/RAS/DTCHullWave/Allmesh | 2 + .../RAS/DTCHullWave/system/blockMeshDict | 40 +++++++++---------- .../RAS/DTCHullWave/system/controlDict | 2 - .../RAS/DTCHullWave/system/topoSetDict | 10 ++--- 6 files changed, 31 insertions(+), 27 deletions(-) diff --git a/tutorials/multiphase/interFoam/RAS/DTCHull/Allmesh b/tutorials/multiphase/interFoam/RAS/DTCHull/Allmesh index 9803329175..dacf2cc0bf 100755 --- a/tutorials/multiphase/interFoam/RAS/DTCHull/Allmesh +++ b/tutorials/multiphase/interFoam/RAS/DTCHull/Allmesh @@ -20,6 +20,8 @@ do runApplication -a refineMesh -dict refineMeshDict -overwrite done +rm -rf constant/polyMesh/sets + runApplication snappyHexMesh -overwrite runApplication renumberMesh -noFields -overwrite diff --git a/tutorials/multiphase/interFoam/RAS/DTCHullMoving/Allmesh b/tutorials/multiphase/interFoam/RAS/DTCHullMoving/Allmesh index 9803329175..dacf2cc0bf 100755 --- a/tutorials/multiphase/interFoam/RAS/DTCHullMoving/Allmesh +++ b/tutorials/multiphase/interFoam/RAS/DTCHullMoving/Allmesh @@ -20,6 +20,8 @@ do runApplication -a refineMesh -dict refineMeshDict -overwrite done +rm -rf constant/polyMesh/sets + runApplication snappyHexMesh -overwrite runApplication renumberMesh -noFields -overwrite diff --git a/tutorials/multiphase/interFoam/RAS/DTCHullWave/Allmesh b/tutorials/multiphase/interFoam/RAS/DTCHullWave/Allmesh index 9803329175..dacf2cc0bf 100755 --- a/tutorials/multiphase/interFoam/RAS/DTCHullWave/Allmesh +++ b/tutorials/multiphase/interFoam/RAS/DTCHullWave/Allmesh @@ -20,6 +20,8 @@ do runApplication -a refineMesh -dict refineMeshDict -overwrite done +rm -rf constant/polyMesh/sets + runApplication snappyHexMesh -overwrite runApplication renumberMesh -noFields -overwrite diff --git a/tutorials/multiphase/interFoam/RAS/DTCHullWave/system/blockMeshDict b/tutorials/multiphase/interFoam/RAS/DTCHullWave/system/blockMeshDict index 6a04f4189e..832f3b00db 100644 --- a/tutorials/multiphase/interFoam/RAS/DTCHullWave/system/blockMeshDict +++ b/tutorials/multiphase/interFoam/RAS/DTCHullWave/system/blockMeshDict @@ -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 diff --git a/tutorials/multiphase/interFoam/RAS/DTCHullWave/system/controlDict b/tutorials/multiphase/interFoam/RAS/DTCHullWave/system/controlDict index 5f65ac6dda..2b5ae11538 100644 --- a/tutorials/multiphase/interFoam/RAS/DTCHullWave/system/controlDict +++ b/tutorials/multiphase/interFoam/RAS/DTCHullWave/system/controlDict @@ -62,8 +62,6 @@ functions writeControl adjustableRunTime; writeInterval 0.01; - startTime 10; - surfaceFormat vtk; writeFormat binary; fields (p_rgh U); diff --git a/tutorials/multiphase/interFoam/RAS/DTCHullWave/system/topoSetDict b/tutorials/multiphase/interFoam/RAS/DTCHullWave/system/topoSetDict index eaf16bf087..d1162d72d5 100644 --- a/tutorials/multiphase/interFoam/RAS/DTCHullWave/system/topoSetDict +++ b/tutorials/multiphase/interFoam/RAS/DTCHullWave/system/topoSetDict @@ -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;