From 7282c0575d0ad53c940508a97c4f5ae09413e82b Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Fri, 31 Jan 2020 23:48:09 +0000 Subject: [PATCH] tutorials/incompressible/pisoFoam/LES/pitzDailyMapped: Reverted blockMeshDict --- .../pisoFoam/LES/pitzDailyMapped/Allrun | 12 -- .../LES/pitzDailyMapped/system/blockMeshDict | 152 ++++++++++++++++++ 2 files changed, 152 insertions(+), 12 deletions(-) delete mode 100755 tutorials/incompressible/pisoFoam/LES/pitzDailyMapped/Allrun create mode 100644 tutorials/incompressible/pisoFoam/LES/pitzDailyMapped/system/blockMeshDict diff --git a/tutorials/incompressible/pisoFoam/LES/pitzDailyMapped/Allrun b/tutorials/incompressible/pisoFoam/LES/pitzDailyMapped/Allrun deleted file mode 100755 index 3e9b87adc3..0000000000 --- a/tutorials/incompressible/pisoFoam/LES/pitzDailyMapped/Allrun +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -cd ${0%/*} || exit 1 # Run from this directory - -# Source tutorial run functions -. $WM_PROJECT_DIR/bin/tools/RunFunctions - -application="$(getApplication)" - -runApplication blockMesh -dict $FOAM_TUTORIALS/resources/blockMesh/pitzDaily -runApplication $application - -#------------------------------------------------------------------------------ diff --git a/tutorials/incompressible/pisoFoam/LES/pitzDailyMapped/system/blockMeshDict b/tutorials/incompressible/pisoFoam/LES/pitzDailyMapped/system/blockMeshDict new file mode 100644 index 0000000000..bc3bf987f2 --- /dev/null +++ b/tutorials/incompressible/pisoFoam/LES/pitzDailyMapped/system/blockMeshDict @@ -0,0 +1,152 @@ +/*--------------------------------*- C++ -*----------------------------------*\ + ========= | + \\ / F ield | OpenFOAM: The Open Source CFD Toolbox + \\ / O peration | Website: https://openfoam.org + \\ / A nd | Version: dev + \\/ M anipulation | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object blockMeshDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +convertToMeters 0.001; + +vertices +( + (-70 0 -0.5) + (-70 25.4 -0.5) + (0 -25.4 -0.5) + (0 0 -0.5) + (0 25.4 -0.5) + (206 -25.4 -0.5) + (206 0 -0.5) + (206 25.4 -0.5) + (290 -16.6 -0.5) + (290 0 -0.5) + (290 16.6 -0.5) + + (-70 0 0.5) + (-70 25.4 0.5) + (0 -25.4 0.5) + (0 0 0.5) + (0 25.4 0.5) + (206 -25.4 0.5) + (206 0 0.5) + (206 25.4 0.5) + (290 -16.6 0.5) + (290 0 0.5) + (290 16.6 0.5) +); + +negY +( + (2 4 1) + (1 3 0.3) +); + +posY +( + (1 4 2) + (2 3 4) + (2 4 0.25) +); + +posYR +( + (2 1 1) + (1 1 0.25) +); + +blocks +( + hex (0 3 4 1 11 14 15 12) + (70 30 1) + simpleGrading (1 $posY 1) + + hex (2 5 6 3 13 16 17 14) + (180 27 1) + edgeGrading (4 4 4 4 $negY 1 1 $negY 1 1 1 1) + + hex (3 6 7 4 14 17 18 15) + (180 30 1) + edgeGrading (4 4 4 4 $posY $posYR $posYR $posY 1 1 1 1) + + hex (5 8 9 6 16 19 20 17) + (25 27 1) + simpleGrading (2.5 1 1) + + hex (6 9 10 7 17 20 21 18) + (25 30 1) + simpleGrading (2.5 $posYR 1) +); + +boundary +( + inlet + { + type mappedPatch; + offset (0.0495 0 0); + sampleRegion region0; + sampleMode nearestCell; + samplePatch none; + + faces + ( + (0 1 12 11) + ); + } + outlet + { + type patch; + faces + ( + (8 9 20 19) + (9 10 21 20) + ); + } + upperWall + { + type wall; + faces + ( + (1 4 15 12) + (4 7 18 15) + (7 10 21 18) + ); + } + lowerWall + { + type wall; + faces + ( + (0 3 14 11) + (3 2 13 14) + (2 5 16 13) + (5 8 19 16) + ); + } + frontAndBack + { + type empty; + faces + ( + (0 3 4 1) + (2 5 6 3) + (3 6 7 4) + (5 8 9 6) + (6 9 10 7) + (11 14 15 12) + (13 16 17 14) + (14 17 18 15) + (16 19 20 17) + (17 20 21 18) + ); + } +); + +// ************************************************************************* //