ENH: pitzDailyDirectMapped updated to new blockMeshDict format

This commit is contained in:
mattijs
2010-10-13 13:48:54 +01:00
parent 84ddfa8391
commit cede24588b
4 changed files with 82 additions and 172 deletions

View File

@ -1,14 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name
application=`getApplication`
runApplication blockMesh
runApplication changeDictionary
runApplication $application
# ----------------------------------------------------------------- end-of-file

View File

@ -85,37 +85,61 @@ edges
( (
); );
patches boundary
( (
patch inlet inlet
{
type directMappedPatch;
offset ( 0.0495 0 0 );
sampleRegion region0;
sampleMode nearestCell;
samplePatch none;
faces
( (
(0 22 23 1) (0 22 23 1)
(1 23 24 2) (1 23 24 2)
(2 24 25 3) (2 24 25 3)
) );
patch outlet }
outlet
{
type patch;
faces
( (
(16 17 39 38) (16 17 39 38)
(17 18 40 39) (17 18 40 39)
(18 19 41 40) (18 19 41 40)
(19 20 42 41) (19 20 42 41)
(20 21 43 42) (20 21 43 42)
) );
wall upperWall }
upperWall
{
type wall;
faces
( (
(3 25 31 9) (3 25 31 9)
(9 31 37 15) (9 31 37 15)
(15 37 43 21) (15 37 43 21)
) );
wall lowerWall }
lowerWall
{
type wall;
faces
( (
(0 6 28 22) (0 6 28 22)
(6 5 27 28) (6 5 27 28)
(5 4 26 27) (5 4 26 27)
(4 10 32 26) (4 10 32 26)
(10 16 38 32) (10 16 38 32)
) );
empty frontAndBack }
frontAndBack
{
type empty;
faces
( (
(22 28 29 23) (22 28 29 23)
(23 29 30 24) (23 29 30 24)
@ -143,11 +167,8 @@ patches
(12 13 19 18) (12 13 19 18)
(13 14 20 19) (13 14 20 19)
(14 15 21 20) (14 15 21 20)
)
); );
}
mergePatchPairs
(
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,63 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
5
(
inlet
{
type directMappedPatch;
nFaces 30;
startFace 27238;
sampleMode nearestCell;
sampleRegion region0;
samplePatch none;
offset ( 0.0495 0 0 );
}
outlet
{
type patch;
nFaces 57;
startFace 27268;
}
upperWall
{
type wall;
nFaces 275;
startFace 27325;
}
lowerWall
{
type wall;
nFaces 302;
startFace 27600;
}
frontAndBack
{
type empty;
nFaces 27570;
startFace 27902;
}
)
// ************************************************************************* //

View File

@ -1,34 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object changeDictionaryDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement
{
boundary
{
inlet
{
type directMappedPatch;
offset ( 0.0495 0 0 );
sampleRegion region0;
sampleMode nearestCell;
samplePatch none;
}
}
}
// ************************************************************************* //