From f6f6ffe055304de9008720b71358ea17bfaff5a4 Mon Sep 17 00:00:00 2001 From: mattijs Date: Tue, 24 Dec 2024 08:39:39 +0000 Subject: [PATCH] ENH: mesh: added new tutorials --- tutorials/mesh/snappyHexMesh/Allclean | 2 + tutorials/mesh/snappyHexMesh/Allrun | 2 + .../rotated_block/system/blockMeshDict.block | 97 ------------------- 3 files changed, 4 insertions(+), 97 deletions(-) delete mode 100644 tutorials/mesh/snappyHexMesh/rotated_block/system/blockMeshDict.block diff --git a/tutorials/mesh/snappyHexMesh/Allclean b/tutorials/mesh/snappyHexMesh/Allclean index 6d42806c78..fa13c0523f 100755 --- a/tutorials/mesh/snappyHexMesh/Allclean +++ b/tutorials/mesh/snappyHexMesh/Allclean @@ -13,5 +13,7 @@ cd "${0%/*}" || exit # Run from this directory ( cd opposite_walls && ./Allclean ) ( cd airfoilWithLayers && ./Allclean ) ( cd sphere_gapClosure && ./Allclean ) +( cd rotated_block && ./Allclean ) +( cd sphere_multiRegion && ./Allclean ) #------------------------------------------------------------------------------ diff --git a/tutorials/mesh/snappyHexMesh/Allrun b/tutorials/mesh/snappyHexMesh/Allrun index 1d3d88749d..45309e400b 100755 --- a/tutorials/mesh/snappyHexMesh/Allrun +++ b/tutorials/mesh/snappyHexMesh/Allrun @@ -15,6 +15,8 @@ cd "${0%/*}" || exit # Run from this directory ( cd sphere_gapClosure && ./Allrun ) ( cd block_with_curvature && ./Allrun ) ( cd insidePoints && ./Allrun ) +( cd rotated_block && ./Allrun ) +( cd sphere_multiRegion && ./Allrun ) exit 0 diff --git a/tutorials/mesh/snappyHexMesh/rotated_block/system/blockMeshDict.block b/tutorials/mesh/snappyHexMesh/rotated_block/system/blockMeshDict.block deleted file mode 100644 index 20b44b2bf6..0000000000 --- a/tutorials/mesh/snappyHexMesh/rotated_block/system/blockMeshDict.block +++ /dev/null @@ -1,97 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1812 | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - object blockMeshDict; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -scale 1; - -vertices -( - (0 0 0) - (1 0 0) - (1 1 0) - (0 1 0) - (0 0 1) - (1 0 1) - (1 1 1) - (0 1 1) -); - -blocks -( - //hex (0 1 2 3 4 5 6 7) (20 20 10) simpleGrading (100 100 1) - hex (0 1 2 3 4 5 6 7) (1 1 1) simpleGrading (1 1 1) -); - -edges -( -); - -boundary -( - minX - { - type wall; - faces - ( - (0 4 7 3) - ); - } - maxX - { - type wall; - faces - ( - (2 6 5 1) - ); - } - - - minY - { - type wall; - faces - ( - (1 5 4 0) - ); - } - maxY - { - type wall; - faces - ( - (3 7 6 2) - ); - } - - - minZ - { - type wall; - faces - ( - (0 3 2 1) - ); - } - maxZ - { - type wall; - faces - ( - (4 5 6 7) - ); - } -); - -// ************************************************************************* //