mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
This commit is contained in:
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
convertToMeters 1;
|
||||
|
||||
vertices
|
||||
vertices
|
||||
(
|
||||
(0 0 0)
|
||||
(1 0 0)
|
||||
@ -28,32 +28,71 @@ vertices
|
||||
(0 1 1)
|
||||
);
|
||||
|
||||
blocks
|
||||
blocks
|
||||
(
|
||||
hex (0 1 2 3 4 5 6 7) (16 16 16) simpleGrading (1 1 1)
|
||||
);
|
||||
|
||||
edges
|
||||
edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
cyclic patch0
|
||||
(
|
||||
(0 3 2 1)
|
||||
(4 5 6 7)
|
||||
)
|
||||
cyclic patch1
|
||||
(
|
||||
(0 4 7 3)
|
||||
(2 6 5 1)
|
||||
)
|
||||
cyclic patch2
|
||||
(
|
||||
(3 7 6 2)
|
||||
(1 5 4 0)
|
||||
)
|
||||
patch0_half0
|
||||
{
|
||||
type cyclic;
|
||||
neighbourPatch patch0_half1;
|
||||
faces
|
||||
(
|
||||
(0 3 2 1)
|
||||
);
|
||||
}
|
||||
patch0_half1
|
||||
{
|
||||
type cyclic;
|
||||
neighbourPatch patch0_half0;
|
||||
faces
|
||||
(
|
||||
(4 5 6 7)
|
||||
);
|
||||
}
|
||||
patch1_half0
|
||||
{
|
||||
type cyclic;
|
||||
neighbourPatch patch1_half1;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
patch1_half1
|
||||
{
|
||||
type cyclic;
|
||||
neighbourPatch patch1_half0;
|
||||
faces
|
||||
(
|
||||
(2 6 5 1)
|
||||
);
|
||||
}
|
||||
patch2_half0
|
||||
{
|
||||
type cyclic;
|
||||
neighbourPatch patch2_half1;
|
||||
faces
|
||||
(
|
||||
(3 7 6 2)
|
||||
);
|
||||
}
|
||||
patch2_half1
|
||||
{
|
||||
type cyclic;
|
||||
neighbourPatch patch2_half0;
|
||||
faces
|
||||
(
|
||||
(1 5 4 0)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -22,6 +22,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 256;
|
||||
startFace 11520;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch patch0_half1;
|
||||
}
|
||||
patch0_half1
|
||||
@ -29,6 +30,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 256;
|
||||
startFace 11776;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch patch0_half0;
|
||||
}
|
||||
patch1_half0
|
||||
@ -36,6 +38,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 256;
|
||||
startFace 12032;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch patch1_half1;
|
||||
}
|
||||
patch1_half1
|
||||
@ -43,6 +46,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 256;
|
||||
startFace 12288;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch patch1_half0;
|
||||
}
|
||||
patch2_half0
|
||||
@ -50,6 +54,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 256;
|
||||
startFace 12544;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch patch2_half1;
|
||||
}
|
||||
patch2_half1
|
||||
@ -57,6 +62,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 256;
|
||||
startFace 12800;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch patch2_half0;
|
||||
}
|
||||
)
|
||||
|
||||
11
tutorials/basic/potentialFoam/cylinder/Allclean
Executable file
11
tutorials/basic/potentialFoam/cylinder/Allclean
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
@ -6,10 +6,9 @@ cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
application=`getApplication`
|
||||
|
||||
cp -r 0.org 0 > /dev/null 2>&1
|
||||
runApplication blockMesh
|
||||
runApplication $application
|
||||
compileApplication analyticalCylinder
|
||||
runApplication analyticalCylinder
|
||||
runApplication streamFunction
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
|
||||
@ -1,3 +0,0 @@
|
||||
analyticalCylinder.C
|
||||
|
||||
EXE = $(FOAM_USER_APPBIN)/analyticalCylinder
|
||||
@ -1,5 +0,0 @@
|
||||
EXE_INC = \
|
||||
-I$(LIB_SRC)/finiteVolume/lnInclude
|
||||
|
||||
EXE_LIBS = \
|
||||
-lfiniteVolume
|
||||
@ -1,70 +0,0 @@
|
||||
/*---------------------------------------------------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd.
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
|
||||
OpenFOAM is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Application
|
||||
analyticalCylinder
|
||||
|
||||
Description
|
||||
Generates an analytical solution for potential flow around a cylinder.
|
||||
Can be compared with the solution from the potentialFlow/cylinder example.
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "fvCFD.H"
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
||||
# include "setRootCase.H"
|
||||
|
||||
# include "createTime.H"
|
||||
# include "createMesh.H"
|
||||
# include "createFields.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
Info<< "\nEvaluating analytical solution" << endl;
|
||||
|
||||
volVectorField centres = UA.mesh().C();
|
||||
volScalarField magCentres = mag(centres);
|
||||
volScalarField theta = acos((centres & vector(1,0,0))/magCentres);
|
||||
|
||||
volVectorField cs2theta =
|
||||
cos(2*theta)*vector(1,0,0)
|
||||
+ sin(2*theta)*vector(0,1,0);
|
||||
|
||||
UA = uInfX*(dimensionedVector(vector(1,0,0))
|
||||
- pow((radius/magCentres),2)*cs2theta);
|
||||
|
||||
// Force writing of UA (since time has not changed)
|
||||
UA.write();
|
||||
|
||||
Info<< "end" << endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,45 +0,0 @@
|
||||
Info<< "Reading field U\n" << endl;
|
||||
volVectorField U
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
"U",
|
||||
runTime.timeName(),
|
||||
mesh,
|
||||
IOobject::MUST_READ,
|
||||
IOobject::NO_WRITE
|
||||
),
|
||||
mesh
|
||||
);
|
||||
|
||||
Info<< "Reading inlet velocity uInfX\n" << endl;
|
||||
|
||||
dimensionedScalar uInfX
|
||||
(
|
||||
"uInfx",
|
||||
dimensionSet(0, 1, -1, 0, 0),
|
||||
U.boundaryField()[3][0].x()
|
||||
);
|
||||
Info << "U at inlet = " << uInfX.value() << " m/s" << endl;
|
||||
|
||||
dimensionedScalar radius
|
||||
(
|
||||
"radius",
|
||||
dimensionSet(0, 1, 0, 0, 0),
|
||||
mag(U.mesh().boundary()[4].Cf()[0])
|
||||
);
|
||||
|
||||
Info << "Cylinder radius = " << radius.value() << " m" << endl;
|
||||
|
||||
volVectorField UA
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
"UA",
|
||||
runTime.timeName(),
|
||||
mesh,
|
||||
IOobject::NO_READ,
|
||||
IOobject::AUTO_WRITE
|
||||
),
|
||||
U
|
||||
);
|
||||
@ -92,39 +92,59 @@ edges
|
||||
arc 34 28 (-0.34202 0.939693 0.5)
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
symmetryPlane down
|
||||
(
|
||||
(0 1 20 19)
|
||||
(1 2 21 20)
|
||||
(12 11 30 31)
|
||||
(13 12 31 32)
|
||||
)
|
||||
patch right
|
||||
(
|
||||
(2 3 22 21)
|
||||
(3 6 25 22)
|
||||
)
|
||||
symmetryPlane up
|
||||
(
|
||||
(7 8 27 26)
|
||||
(6 7 26 25)
|
||||
(8 18 37 27)
|
||||
(18 17 36 37)
|
||||
)
|
||||
patch left
|
||||
(
|
||||
(14 13 32 33)
|
||||
(17 14 33 36)
|
||||
)
|
||||
symmetryPlane cylinder
|
||||
(
|
||||
(10 5 24 29)
|
||||
(5 0 19 24)
|
||||
(16 10 29 35)
|
||||
(11 16 35 30)
|
||||
)
|
||||
down
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(0 1 20 19)
|
||||
(1 2 21 20)
|
||||
(12 11 30 31)
|
||||
(13 12 31 32)
|
||||
);
|
||||
}
|
||||
right
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(2 3 22 21)
|
||||
(3 6 25 22)
|
||||
);
|
||||
}
|
||||
up
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(7 8 27 26)
|
||||
(6 7 26 25)
|
||||
(8 18 37 27)
|
||||
(18 17 36 37)
|
||||
);
|
||||
}
|
||||
left
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(14 13 32 33)
|
||||
(17 14 33 36)
|
||||
);
|
||||
}
|
||||
cylinder
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(10 5 24 29)
|
||||
(5 0 19 24)
|
||||
(16 10 29 35)
|
||||
(11 16 35 30)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -45,5 +45,74 @@ timePrecision 6;
|
||||
|
||||
runTimeModifiable true;
|
||||
|
||||
functions
|
||||
{
|
||||
difference
|
||||
{
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
type coded;
|
||||
redirectType error;
|
||||
code
|
||||
#{
|
||||
// Lookup U
|
||||
Info<< "Looking up field U\n" << endl;
|
||||
const volVectorField& U = mesh().lookupObject<volVectorField>("U");
|
||||
|
||||
Info<< "Reading inlet velocity uInfX\n" << endl;
|
||||
|
||||
dimensionedScalar uInfX
|
||||
(
|
||||
"uInfx",
|
||||
dimensionSet(0, 1, -1, 0, 0),
|
||||
U.boundaryField()[3][0].x()
|
||||
);
|
||||
Info << "U at inlet = " << uInfX.value() << " m/s" << endl;
|
||||
|
||||
dimensionedScalar radius
|
||||
(
|
||||
"radius",
|
||||
dimensionSet(0, 1, 0, 0, 0),
|
||||
mag(U.mesh().boundary()[4].Cf()[0])
|
||||
);
|
||||
|
||||
Info << "Cylinder radius = " << radius.value() << " m" << endl;
|
||||
|
||||
volVectorField UA
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
"UA",
|
||||
mesh().time().timeName(),
|
||||
U.mesh(),
|
||||
IOobject::NO_READ,
|
||||
IOobject::AUTO_WRITE
|
||||
),
|
||||
U
|
||||
);
|
||||
|
||||
Info<< "\nEvaluating analytical solution" << endl;
|
||||
|
||||
volVectorField centres = UA.mesh().C();
|
||||
volScalarField magCentres = mag(centres);
|
||||
volScalarField theta = acos((centres & vector(1,0,0))/magCentres);
|
||||
|
||||
volVectorField cs2theta =
|
||||
cos(2*theta)*vector(1,0,0)
|
||||
+ sin(2*theta)*vector(0,1,0);
|
||||
|
||||
UA = uInfX*(dimensionedVector(vector(1,0,0))
|
||||
- pow((radius/magCentres),2)*cs2theta);
|
||||
|
||||
// Force writing of UA (since time has not changed)
|
||||
UA.write();
|
||||
|
||||
volScalarField error("error", mag(U-UA)/mag(UA));
|
||||
Info<<"Writing relative error in U to " << error.objectPath()
|
||||
<< endl;
|
||||
error.write();
|
||||
#};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -85,65 +85,85 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch inlet
|
||||
(
|
||||
(0 22 23 1)
|
||||
(1 23 24 2)
|
||||
(2 24 25 3)
|
||||
)
|
||||
patch outlet
|
||||
(
|
||||
(16 17 39 38)
|
||||
(17 18 40 39)
|
||||
(18 19 41 40)
|
||||
(19 20 42 41)
|
||||
(20 21 43 42)
|
||||
)
|
||||
wall upperWall
|
||||
(
|
||||
(3 25 31 9)
|
||||
(9 31 37 15)
|
||||
(15 37 43 21)
|
||||
)
|
||||
wall lowerWall
|
||||
(
|
||||
(0 6 28 22)
|
||||
(6 5 27 28)
|
||||
(5 4 26 27)
|
||||
(4 10 32 26)
|
||||
(10 16 38 32)
|
||||
)
|
||||
empty frontAndBack
|
||||
(
|
||||
(22 28 29 23)
|
||||
(23 29 30 24)
|
||||
(24 30 31 25)
|
||||
(26 32 33 27)
|
||||
(27 33 34 28)
|
||||
(28 34 35 29)
|
||||
(29 35 36 30)
|
||||
(30 36 37 31)
|
||||
(32 38 39 33)
|
||||
(33 39 40 34)
|
||||
(34 40 41 35)
|
||||
(35 41 42 36)
|
||||
(36 42 43 37)
|
||||
(0 1 7 6)
|
||||
(1 2 8 7)
|
||||
(2 3 9 8)
|
||||
(4 5 11 10)
|
||||
(5 6 12 11)
|
||||
(6 7 13 12)
|
||||
(7 8 14 13)
|
||||
(8 9 15 14)
|
||||
(10 11 17 16)
|
||||
(11 12 18 17)
|
||||
(12 13 19 18)
|
||||
(13 14 20 19)
|
||||
(14 15 21 20)
|
||||
)
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 22 23 1)
|
||||
(1 23 24 2)
|
||||
(2 24 25 3)
|
||||
);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(16 17 39 38)
|
||||
(17 18 40 39)
|
||||
(18 19 41 40)
|
||||
(19 20 42 41)
|
||||
(20 21 43 42)
|
||||
);
|
||||
}
|
||||
upperWall
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(3 25 31 9)
|
||||
(9 31 37 15)
|
||||
(15 37 43 21)
|
||||
);
|
||||
}
|
||||
lowerWall
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 6 28 22)
|
||||
(6 5 27 28)
|
||||
(5 4 26 27)
|
||||
(4 10 32 26)
|
||||
(10 16 38 32)
|
||||
);
|
||||
}
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(22 28 29 23)
|
||||
(23 29 30 24)
|
||||
(24 30 31 25)
|
||||
(26 32 33 27)
|
||||
(27 33 34 28)
|
||||
(28 34 35 29)
|
||||
(29 35 36 30)
|
||||
(30 36 37 31)
|
||||
(32 38 39 33)
|
||||
(33 39 40 34)
|
||||
(34 40 41 35)
|
||||
(35 41 42 36)
|
||||
(36 42 43 37)
|
||||
(0 1 7 6)
|
||||
(1 2 8 7)
|
||||
(2 3 9 8)
|
||||
(4 5 11 10)
|
||||
(5 6 12 11)
|
||||
(6 7 13 12)
|
||||
(7 8 14 13)
|
||||
(8 9 15 14)
|
||||
(10 11 17 16)
|
||||
(11 12 18 17)
|
||||
(12 13 19 18)
|
||||
(13 14 20 19)
|
||||
(14 15 21 20)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -85,65 +85,85 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch inlet
|
||||
(
|
||||
(0 22 23 1)
|
||||
(1 23 24 2)
|
||||
(2 24 25 3)
|
||||
)
|
||||
patch outlet
|
||||
(
|
||||
(16 17 39 38)
|
||||
(17 18 40 39)
|
||||
(18 19 41 40)
|
||||
(19 20 42 41)
|
||||
(20 21 43 42)
|
||||
)
|
||||
wall upperWall
|
||||
(
|
||||
(3 25 31 9)
|
||||
(9 31 37 15)
|
||||
(15 37 43 21)
|
||||
)
|
||||
wall lowerWall
|
||||
(
|
||||
(0 6 28 22)
|
||||
(6 5 27 28)
|
||||
(5 4 26 27)
|
||||
(4 10 32 26)
|
||||
(10 16 38 32)
|
||||
)
|
||||
empty frontAndBack
|
||||
(
|
||||
(22 28 29 23)
|
||||
(23 29 30 24)
|
||||
(24 30 31 25)
|
||||
(26 32 33 27)
|
||||
(27 33 34 28)
|
||||
(28 34 35 29)
|
||||
(29 35 36 30)
|
||||
(30 36 37 31)
|
||||
(32 38 39 33)
|
||||
(33 39 40 34)
|
||||
(34 40 41 35)
|
||||
(35 41 42 36)
|
||||
(36 42 43 37)
|
||||
(0 1 7 6)
|
||||
(1 2 8 7)
|
||||
(2 3 9 8)
|
||||
(4 5 11 10)
|
||||
(5 6 12 11)
|
||||
(6 7 13 12)
|
||||
(7 8 14 13)
|
||||
(8 9 15 14)
|
||||
(10 11 17 16)
|
||||
(11 12 18 17)
|
||||
(12 13 19 18)
|
||||
(13 14 20 19)
|
||||
(14 15 21 20)
|
||||
)
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 22 23 1)
|
||||
(1 23 24 2)
|
||||
(2 24 25 3)
|
||||
);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(16 17 39 38)
|
||||
(17 18 40 39)
|
||||
(18 19 41 40)
|
||||
(19 20 42 41)
|
||||
(20 21 43 42)
|
||||
);
|
||||
}
|
||||
upperWall
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(3 25 31 9)
|
||||
(9 31 37 15)
|
||||
(15 37 43 21)
|
||||
);
|
||||
}
|
||||
lowerWall
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 6 28 22)
|
||||
(6 5 27 28)
|
||||
(5 4 26 27)
|
||||
(4 10 32 26)
|
||||
(10 16 38 32)
|
||||
);
|
||||
}
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(22 28 29 23)
|
||||
(23 29 30 24)
|
||||
(24 30 31 25)
|
||||
(26 32 33 27)
|
||||
(27 33 34 28)
|
||||
(28 34 35 29)
|
||||
(29 35 36 30)
|
||||
(30 36 37 31)
|
||||
(32 38 39 33)
|
||||
(33 39 40 34)
|
||||
(34 40 41 35)
|
||||
(35 41 42 36)
|
||||
(36 42 43 37)
|
||||
(0 1 7 6)
|
||||
(1 2 8 7)
|
||||
(2 3 9 8)
|
||||
(4 5 11 10)
|
||||
(5 6 12 11)
|
||||
(6 7 13 12)
|
||||
(7 8 14 13)
|
||||
(8 9 15 14)
|
||||
(10 11 17 16)
|
||||
(11 12 18 17)
|
||||
(12 13 19 18)
|
||||
(13 14 20 19)
|
||||
(14 15 21 20)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -46,6 +46,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 0;
|
||||
startFace 24810;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch baffleCyclic_half1;
|
||||
}
|
||||
baffleCyclic_half1
|
||||
@ -53,6 +54,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 0;
|
||||
startFace 24810;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch baffleCyclic_half0;
|
||||
}
|
||||
)
|
||||
|
||||
@ -85,65 +85,85 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch inlet
|
||||
(
|
||||
(0 22 23 1)
|
||||
(1 23 24 2)
|
||||
(2 24 25 3)
|
||||
)
|
||||
patch outlet
|
||||
(
|
||||
(16 17 39 38)
|
||||
(17 18 40 39)
|
||||
(18 19 41 40)
|
||||
(19 20 42 41)
|
||||
(20 21 43 42)
|
||||
)
|
||||
wall upperWall
|
||||
(
|
||||
(3 25 31 9)
|
||||
(9 31 37 15)
|
||||
(15 37 43 21)
|
||||
)
|
||||
wall lowerWall
|
||||
(
|
||||
(0 6 28 22)
|
||||
(6 5 27 28)
|
||||
(5 4 26 27)
|
||||
(4 10 32 26)
|
||||
(10 16 38 32)
|
||||
)
|
||||
empty frontAndBack
|
||||
(
|
||||
(22 28 29 23)
|
||||
(23 29 30 24)
|
||||
(24 30 31 25)
|
||||
(26 32 33 27)
|
||||
(27 33 34 28)
|
||||
(28 34 35 29)
|
||||
(29 35 36 30)
|
||||
(30 36 37 31)
|
||||
(32 38 39 33)
|
||||
(33 39 40 34)
|
||||
(34 40 41 35)
|
||||
(35 41 42 36)
|
||||
(36 42 43 37)
|
||||
(0 1 7 6)
|
||||
(1 2 8 7)
|
||||
(2 3 9 8)
|
||||
(4 5 11 10)
|
||||
(5 6 12 11)
|
||||
(6 7 13 12)
|
||||
(7 8 14 13)
|
||||
(8 9 15 14)
|
||||
(10 11 17 16)
|
||||
(11 12 18 17)
|
||||
(12 13 19 18)
|
||||
(13 14 20 19)
|
||||
(14 15 21 20)
|
||||
)
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 22 23 1)
|
||||
(1 23 24 2)
|
||||
(2 24 25 3)
|
||||
);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(16 17 39 38)
|
||||
(17 18 40 39)
|
||||
(18 19 41 40)
|
||||
(19 20 42 41)
|
||||
(20 21 43 42)
|
||||
);
|
||||
}
|
||||
upperWall
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(3 25 31 9)
|
||||
(9 31 37 15)
|
||||
(15 37 43 21)
|
||||
);
|
||||
}
|
||||
lowerWall
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 6 28 22)
|
||||
(6 5 27 28)
|
||||
(5 4 26 27)
|
||||
(4 10 32 26)
|
||||
(10 16 38 32)
|
||||
);
|
||||
}
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(22 28 29 23)
|
||||
(23 29 30 24)
|
||||
(24 30 31 25)
|
||||
(26 32 33 27)
|
||||
(27 33 34 28)
|
||||
(28 34 35 29)
|
||||
(29 35 36 30)
|
||||
(30 36 37 31)
|
||||
(32 38 39 33)
|
||||
(33 39 40 34)
|
||||
(34 40 41 35)
|
||||
(35 41 42 36)
|
||||
(36 42 43 37)
|
||||
(0 1 7 6)
|
||||
(1 2 8 7)
|
||||
(2 3 9 8)
|
||||
(4 5 11 10)
|
||||
(5 6 12 11)
|
||||
(6 7 13 12)
|
||||
(7 8 14 13)
|
||||
(8 9 15 14)
|
||||
(10 11 17 16)
|
||||
(11 12 18 17)
|
||||
(12 13 19 18)
|
||||
(13 14 20 19)
|
||||
(14 15 21 20)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -40,11 +40,11 @@ boundaryField
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
frontAndBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
frontAndBack_half1
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
@ -42,11 +42,11 @@ boundaryField
|
||||
type fixedValue;
|
||||
value uniform 570;
|
||||
}
|
||||
frontAndBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
frontAndBack_half1
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
@ -42,11 +42,11 @@ boundaryField
|
||||
type fixedValue;
|
||||
value uniform 570;
|
||||
}
|
||||
frontAndBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
frontAndBack_half1
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
@ -44,11 +44,11 @@ boundaryField
|
||||
type fixedValue;
|
||||
value uniform ( 0 0 0 );
|
||||
}
|
||||
frontAndBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
frontAndBack_half1
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
@ -40,11 +40,11 @@ boundaryField
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
frontAndBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
frontAndBack_half1
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
@ -41,11 +41,11 @@ boundaryField
|
||||
hs h;
|
||||
value uniform 0;
|
||||
}
|
||||
frontAndBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
frontAndBack_half1
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
@ -40,11 +40,11 @@ boundaryField
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
frontAndBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
frontAndBack_half1
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
@ -42,11 +42,11 @@ boundaryField
|
||||
type zeroGradient;
|
||||
value uniform 2e-05;
|
||||
}
|
||||
frontAndBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
frontAndBack_half1
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
@ -39,11 +39,11 @@ boundaryField
|
||||
type muSgsUSpaldingWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
frontAndBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
frontAndBack_half1
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
@ -45,11 +45,11 @@ boundaryField
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
frontAndBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
frontAndBack_half1
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
convertToMeters 0.001;
|
||||
|
||||
vertices
|
||||
vertices
|
||||
(
|
||||
(-20.6 0 0)
|
||||
(-20.6 2 0)
|
||||
@ -64,7 +64,7 @@ vertices
|
||||
(290 16.6 38.1)
|
||||
);
|
||||
|
||||
blocks
|
||||
blocks
|
||||
(
|
||||
hex (0 6 7 1 22 28 29 23) (18 7 20) simpleGrading (1 1 1)
|
||||
hex (1 7 8 2 23 29 30 24) (18 10 20) simpleGrading (1 4 1)
|
||||
@ -81,69 +81,98 @@ blocks
|
||||
hex (14 20 21 15 36 42 43 37) (25 13 20) simpleGrading (1 0.25 1)
|
||||
);
|
||||
|
||||
edges
|
||||
edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch inlet
|
||||
(
|
||||
(0 22 23 1)
|
||||
(1 23 24 2)
|
||||
(2 24 25 3)
|
||||
)
|
||||
patch outlet
|
||||
(
|
||||
(16 17 39 38)
|
||||
(17 18 40 39)
|
||||
(18 19 41 40)
|
||||
(19 20 42 41)
|
||||
(20 21 43 42)
|
||||
)
|
||||
wall upperWall
|
||||
(
|
||||
(3 25 31 9)
|
||||
(9 31 37 15)
|
||||
(15 37 43 21)
|
||||
)
|
||||
wall lowerWall
|
||||
(
|
||||
(0 6 28 22)
|
||||
(6 5 27 28)
|
||||
(5 4 26 27)
|
||||
(4 10 32 26)
|
||||
(10 16 38 32)
|
||||
)
|
||||
cyclic frontAndBack
|
||||
(
|
||||
(22 28 29 23)
|
||||
(23 29 30 24)
|
||||
(24 30 31 25)
|
||||
(26 32 33 27)
|
||||
(27 33 34 28)
|
||||
(28 34 35 29)
|
||||
(29 35 36 30)
|
||||
(30 36 37 31)
|
||||
(32 38 39 33)
|
||||
(33 39 40 34)
|
||||
(34 40 41 35)
|
||||
(35 41 42 36)
|
||||
(36 42 43 37)
|
||||
(0 1 7 6)
|
||||
(1 2 8 7)
|
||||
(2 3 9 8)
|
||||
(4 5 11 10)
|
||||
(5 6 12 11)
|
||||
(6 7 13 12)
|
||||
(7 8 14 13)
|
||||
(8 9 15 14)
|
||||
(10 11 17 16)
|
||||
(11 12 18 17)
|
||||
(12 13 19 18)
|
||||
(13 14 20 19)
|
||||
(14 15 21 20)
|
||||
)
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 22 23 1)
|
||||
(1 23 24 2)
|
||||
(2 24 25 3)
|
||||
);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(16 17 39 38)
|
||||
(17 18 40 39)
|
||||
(18 19 41 40)
|
||||
(19 20 42 41)
|
||||
(20 21 43 42)
|
||||
);
|
||||
}
|
||||
upperWall
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(3 25 31 9)
|
||||
(9 31 37 15)
|
||||
(15 37 43 21)
|
||||
);
|
||||
}
|
||||
lowerWall
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 6 28 22)
|
||||
(6 5 27 28)
|
||||
(5 4 26 27)
|
||||
(4 10 32 26)
|
||||
(10 16 38 32)
|
||||
);
|
||||
}
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
neighbourPatch back;
|
||||
faces
|
||||
(
|
||||
(22 28 29 23)
|
||||
(23 29 30 24)
|
||||
(24 30 31 25)
|
||||
(26 32 33 27)
|
||||
(27 33 34 28)
|
||||
(28 34 35 29)
|
||||
(29 35 36 30)
|
||||
(30 36 37 31)
|
||||
(32 38 39 33)
|
||||
(33 39 40 34)
|
||||
(34 40 41 35)
|
||||
(35 41 42 36)
|
||||
(36 42 43 37)
|
||||
);
|
||||
}
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
neighbourPatch front;
|
||||
faces
|
||||
(
|
||||
(0 1 7 6)
|
||||
(1 2 8 7)
|
||||
(2 3 9 8)
|
||||
(4 5 11 10)
|
||||
(5 6 12 11)
|
||||
(6 7 13 12)
|
||||
(7 8 14 13)
|
||||
(8 9 15 14)
|
||||
(10 11 17 16)
|
||||
(11 12 18 17)
|
||||
(12 13 19 18)
|
||||
(13 14 20 19)
|
||||
(14 15 21 20)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -41,19 +41,21 @@ FoamFile
|
||||
nFaces 5000;
|
||||
startFace 721875;
|
||||
}
|
||||
frontAndBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
nFaces 12225;
|
||||
startFace 726875;
|
||||
neighbourPatch frontAndBack_half1;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch back;
|
||||
}
|
||||
frontAndBack_half1
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
nFaces 12225;
|
||||
startFace 739100;
|
||||
neighbourPatch frontAndBack_half0;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch front;
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@ -37,29 +37,49 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
symmetryPlane left
|
||||
(
|
||||
(0 4 5 1)
|
||||
)
|
||||
symmetryPlane right
|
||||
(
|
||||
(2 3 7 6)
|
||||
)
|
||||
symmetryPlane top
|
||||
(
|
||||
(1 5 7 3)
|
||||
)
|
||||
symmetryPlane bottom
|
||||
(
|
||||
(0 2 6 4)
|
||||
)
|
||||
empty frontAndBack
|
||||
(
|
||||
(4 5 7 6)
|
||||
(0 1 3 2)
|
||||
)
|
||||
left
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(0 4 5 1)
|
||||
);
|
||||
}
|
||||
right
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(2 3 7 6)
|
||||
);
|
||||
}
|
||||
top
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(1 5 7 3)
|
||||
);
|
||||
}
|
||||
bottom
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(0 2 6 4)
|
||||
);
|
||||
}
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(4 5 7 6)
|
||||
(0 1 3 2)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -37,17 +37,21 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
wall walls
|
||||
(
|
||||
(2 6 5 1)
|
||||
(0 4 7 3)
|
||||
(0 1 5 4)
|
||||
(4 5 6 7)
|
||||
(7 6 2 3)
|
||||
(3 2 1 0)
|
||||
)
|
||||
walls
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(2 6 5 1)
|
||||
(0 4 7 3)
|
||||
(0 1 5 4)
|
||||
(4 5 6 7)
|
||||
(7 6 2 3)
|
||||
(3 2 1 0)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -38,26 +38,42 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch base
|
||||
(
|
||||
(0 1 5 4)
|
||||
)
|
||||
patch outlet
|
||||
(
|
||||
(3 2 6 7)
|
||||
)
|
||||
patch sides
|
||||
(
|
||||
(1 5 6 2)
|
||||
(0 4 7 3)
|
||||
)
|
||||
empty frontAndBack
|
||||
(
|
||||
(0 1 2 3)
|
||||
(4 5 6 7)
|
||||
)
|
||||
base
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 1 5 4)
|
||||
);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(3 2 6 7)
|
||||
);
|
||||
}
|
||||
sides
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(1 5 6 2)
|
||||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(0 1 2 3)
|
||||
(4 5 6 7)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -15,37 +15,31 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
5
|
||||
4
|
||||
(
|
||||
base
|
||||
{
|
||||
type patch;
|
||||
nFaces 134;
|
||||
nFaces 150;
|
||||
startFace 44700;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 150;
|
||||
startFace 44834;
|
||||
startFace 44850;
|
||||
}
|
||||
sides
|
||||
{
|
||||
type patch;
|
||||
nFaces 300;
|
||||
startFace 44984;
|
||||
startFace 45000;
|
||||
}
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
nFaces 45000;
|
||||
startFace 45284;
|
||||
}
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 16;
|
||||
startFace 90284;
|
||||
startFace 45300;
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@ -38,23 +38,35 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch base
|
||||
(
|
||||
(0 1 5 4)
|
||||
)
|
||||
patch outlet
|
||||
(
|
||||
(3 2 6 7)
|
||||
)
|
||||
patch sides
|
||||
(
|
||||
(0 4 7 3)
|
||||
(0 1 2 3)
|
||||
(1 5 6 2)
|
||||
(4 5 6 7)
|
||||
)
|
||||
base
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 1 5 4)
|
||||
);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(3 2 6 7)
|
||||
);
|
||||
}
|
||||
sides
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
(0 1 2 3)
|
||||
(1 5 6 2)
|
||||
(4 5 6 7)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -15,31 +15,25 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
4
|
||||
3
|
||||
(
|
||||
base
|
||||
{
|
||||
type patch;
|
||||
nFaces 3456;
|
||||
nFaces 3600;
|
||||
startFace 637200;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 3600;
|
||||
startFace 640656;
|
||||
startFace 640800;
|
||||
}
|
||||
sides
|
||||
{
|
||||
type patch;
|
||||
nFaces 14400;
|
||||
startFace 644256;
|
||||
}
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 144;
|
||||
startFace 658656;
|
||||
startFace 644400;
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@ -37,26 +37,42 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch fuel
|
||||
(
|
||||
(0 4 7 3)
|
||||
)
|
||||
patch air
|
||||
(
|
||||
(1 2 6 5)
|
||||
)
|
||||
patch outlet
|
||||
(
|
||||
(0 1 5 4)
|
||||
(7 6 2 3)
|
||||
)
|
||||
empty frontAndBack
|
||||
(
|
||||
(4 5 6 7)
|
||||
(0 3 2 1)
|
||||
)
|
||||
fuel
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
air
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(1 2 6 5)
|
||||
);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 1 5 4)
|
||||
(7 6 2 3)
|
||||
);
|
||||
}
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(4 5 6 7)
|
||||
(0 3 2 1)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -40,40 +40,64 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch inlet
|
||||
(
|
||||
(0 2 6 0)
|
||||
)
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 2 6 0)
|
||||
);
|
||||
}
|
||||
|
||||
patch outlet
|
||||
(
|
||||
(1 3 7 1)
|
||||
(3 5 9 7)
|
||||
)
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(1 3 7 1)
|
||||
(3 5 9 7)
|
||||
);
|
||||
}
|
||||
|
||||
patch freestreamInlet
|
||||
(
|
||||
(2 4 8 6)
|
||||
)
|
||||
freestreamInlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(2 4 8 6)
|
||||
);
|
||||
}
|
||||
|
||||
patch freestream
|
||||
(
|
||||
(4 8 9 5)
|
||||
)
|
||||
freestream
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(4 8 9 5)
|
||||
);
|
||||
}
|
||||
|
||||
wedge wedge1
|
||||
(
|
||||
(0 2 3 1)
|
||||
(2 4 5 3)
|
||||
)
|
||||
wedge1
|
||||
{
|
||||
type wedge;
|
||||
faces
|
||||
(
|
||||
(0 2 3 1)
|
||||
(2 4 5 3)
|
||||
);
|
||||
}
|
||||
|
||||
wedge wedge2
|
||||
(
|
||||
(0 1 7 6)
|
||||
(6 7 9 8)
|
||||
)
|
||||
wedge2
|
||||
{
|
||||
type wedge;
|
||||
faces
|
||||
(
|
||||
(0 1 7 6)
|
||||
(6 7 9 8)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -37,37 +37,61 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch cone
|
||||
(
|
||||
(1 5 4 0)
|
||||
)
|
||||
|
||||
patch outlet
|
||||
(
|
||||
(2 6 5 1)
|
||||
)
|
||||
cone
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(1 5 4 0)
|
||||
);
|
||||
}
|
||||
|
||||
patch freestream
|
||||
(
|
||||
(3 7 6 2)
|
||||
)
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(2 6 5 1)
|
||||
);
|
||||
}
|
||||
|
||||
symmetryPlane centreLeft
|
||||
(
|
||||
(0 4 7 3)
|
||||
)
|
||||
|
||||
patch wedge1
|
||||
(
|
||||
(0 3 2 1)
|
||||
)
|
||||
freestream
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(3 7 6 2)
|
||||
);
|
||||
}
|
||||
|
||||
patch wedge2
|
||||
(
|
||||
(4 5 6 7)
|
||||
)
|
||||
centreLeft
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
|
||||
wedge1
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 3 2 1)
|
||||
);
|
||||
}
|
||||
|
||||
wedge2
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(4 5 6 7)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -47,31 +47,51 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch inlet
|
||||
(
|
||||
(0 8 10 2)
|
||||
(2 10 13 5)
|
||||
)
|
||||
patch outlet
|
||||
(
|
||||
(4 7 15 12)
|
||||
)
|
||||
symmetryPlane bottom
|
||||
(
|
||||
(0 1 9 8)
|
||||
)
|
||||
symmetryPlane top
|
||||
(
|
||||
(5 13 14 6)
|
||||
(6 14 15 7)
|
||||
)
|
||||
patch obstacle
|
||||
(
|
||||
(1 3 11 9)
|
||||
(3 4 12 11)
|
||||
)
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 8 10 2)
|
||||
(2 10 13 5)
|
||||
);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(4 7 15 12)
|
||||
);
|
||||
}
|
||||
bottom
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(0 1 9 8)
|
||||
);
|
||||
}
|
||||
top
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(5 13 14 6)
|
||||
(6 14 15 7)
|
||||
);
|
||||
}
|
||||
obstacle
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(1 3 11 9)
|
||||
(3 4 12 11)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -20,35 +20,30 @@ FoamFile
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
physicalType supersonicInlet;
|
||||
nFaces 80;
|
||||
startFace 31936;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
physicalType pressureTransmissiveOutlet;
|
||||
nFaces 64;
|
||||
startFace 32016;
|
||||
}
|
||||
bottom
|
||||
{
|
||||
type symmetryPlane;
|
||||
physicalType symmetryPlane;
|
||||
nFaces 48;
|
||||
startFace 32080;
|
||||
}
|
||||
top
|
||||
{
|
||||
type symmetryPlane;
|
||||
physicalType symmetryPlane;
|
||||
nFaces 240;
|
||||
startFace 32128;
|
||||
}
|
||||
obstacle
|
||||
{
|
||||
type patch;
|
||||
physicalType adiabaticWall;
|
||||
nFaces 208;
|
||||
startFace 32368;
|
||||
}
|
||||
|
||||
@ -20,28 +20,28 @@ internalField uniform 1;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
top
|
||||
top
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
inlet
|
||||
inlet
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 1;
|
||||
}
|
||||
|
||||
outlet
|
||||
outlet
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
bottom
|
||||
bottom
|
||||
{
|
||||
type symmetryPlane;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
convertToMeters 1;
|
||||
|
||||
vertices
|
||||
vertices
|
||||
(
|
||||
(0 0 0)
|
||||
(4.1 0 0)
|
||||
@ -28,41 +28,61 @@ vertices
|
||||
(0 1 0.1)
|
||||
);
|
||||
|
||||
blocks
|
||||
blocks
|
||||
(
|
||||
hex (0 1 2 3 4 5 6 7) (60 30 1) simpleGrading (1 1 1)
|
||||
);
|
||||
|
||||
edges
|
||||
edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
wall top
|
||||
(
|
||||
(3 7 6 2)
|
||||
)
|
||||
wall inlet
|
||||
(
|
||||
(0 4 7 3)
|
||||
)
|
||||
wall outlet
|
||||
(
|
||||
(2 6 5 1)
|
||||
)
|
||||
wall bottom
|
||||
(
|
||||
(1 5 4 0)
|
||||
)
|
||||
empty frontAndBack
|
||||
(
|
||||
(0 3 2 1)
|
||||
(4 5 6 7)
|
||||
)
|
||||
top
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(3 7 6 2)
|
||||
);
|
||||
}
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(2 6 5 1)
|
||||
);
|
||||
}
|
||||
bottom
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(1 5 4 0)
|
||||
);
|
||||
}
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(0 3 2 1)
|
||||
(4 5 6 7)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
mergePatchPairs
|
||||
(
|
||||
);
|
||||
|
||||
|
||||
@ -19,36 +19,31 @@ FoamFile
|
||||
(
|
||||
top
|
||||
{
|
||||
type patch;
|
||||
physicalType inlet;
|
||||
type wall;
|
||||
nFaces 60;
|
||||
startFace 3510;
|
||||
}
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
physicalType supersonicInlet;
|
||||
nFaces 30;
|
||||
startFace 3570;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
physicalType extrapolatedOutlet;
|
||||
nFaces 30;
|
||||
startFace 3600;
|
||||
}
|
||||
bottom
|
||||
{
|
||||
type symmetryPlane;
|
||||
physicalType symmetryPlane;
|
||||
nFaces 60;
|
||||
startFace 3630;
|
||||
}
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
physicalType empty;
|
||||
nFaces 3600;
|
||||
startFace 3690;
|
||||
}
|
||||
|
||||
@ -37,20 +37,28 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch sides
|
||||
(
|
||||
(1 2 6 5)
|
||||
(0 4 7 3)
|
||||
)
|
||||
empty empty
|
||||
(
|
||||
(0 1 5 4)
|
||||
(5 6 7 4)
|
||||
(3 7 6 2)
|
||||
(0 3 2 1)
|
||||
)
|
||||
sides
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(1 2 6 5)
|
||||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
empty
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(0 1 5 4)
|
||||
(5 6 7 4)
|
||||
(3 7 6 2)
|
||||
(0 3 2 1)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -20,14 +20,12 @@ FoamFile
|
||||
sides
|
||||
{
|
||||
type patch;
|
||||
physicalType outletAdiabatic;
|
||||
nFaces 2;
|
||||
startFace 99;
|
||||
}
|
||||
empty
|
||||
{
|
||||
type empty;
|
||||
physicalType empty;
|
||||
nFaces 400;
|
||||
startFace 101;
|
||||
}
|
||||
|
||||
@ -44,29 +44,49 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch inlet
|
||||
(
|
||||
(0 6 9 3)
|
||||
)
|
||||
patch outlet
|
||||
(
|
||||
(2 5 11 8)
|
||||
)
|
||||
symmetryPlane bottom
|
||||
(
|
||||
(0 1 7 6)
|
||||
)
|
||||
symmetryPlane top
|
||||
(
|
||||
(3 9 10 4)
|
||||
(4 10 11 5)
|
||||
)
|
||||
patch obstacle
|
||||
(
|
||||
(1 2 8 7)
|
||||
)
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 6 9 3)
|
||||
);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(2 5 11 8)
|
||||
);
|
||||
}
|
||||
bottom
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(0 1 7 6)
|
||||
);
|
||||
}
|
||||
top
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(3 9 10 4)
|
||||
(4 10 11 5)
|
||||
);
|
||||
}
|
||||
obstacle
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(1 2 8 7)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -85,65 +85,85 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch inlet
|
||||
(
|
||||
(0 22 23 1)
|
||||
(1 23 24 2)
|
||||
(2 24 25 3)
|
||||
)
|
||||
patch outlet
|
||||
(
|
||||
(16 17 39 38)
|
||||
(17 18 40 39)
|
||||
(18 19 41 40)
|
||||
(19 20 42 41)
|
||||
(20 21 43 42)
|
||||
)
|
||||
wall upperWall
|
||||
(
|
||||
(3 25 31 9)
|
||||
(9 31 37 15)
|
||||
(15 37 43 21)
|
||||
)
|
||||
wall lowerWall
|
||||
(
|
||||
(0 6 28 22)
|
||||
(6 5 27 28)
|
||||
(5 4 26 27)
|
||||
(4 10 32 26)
|
||||
(10 16 38 32)
|
||||
)
|
||||
empty frontAndBack
|
||||
(
|
||||
(22 28 29 23)
|
||||
(23 29 30 24)
|
||||
(24 30 31 25)
|
||||
(26 32 33 27)
|
||||
(27 33 34 28)
|
||||
(28 34 35 29)
|
||||
(29 35 36 30)
|
||||
(30 36 37 31)
|
||||
(32 38 39 33)
|
||||
(33 39 40 34)
|
||||
(34 40 41 35)
|
||||
(35 41 42 36)
|
||||
(36 42 43 37)
|
||||
(0 1 7 6)
|
||||
(1 2 8 7)
|
||||
(2 3 9 8)
|
||||
(4 5 11 10)
|
||||
(5 6 12 11)
|
||||
(6 7 13 12)
|
||||
(7 8 14 13)
|
||||
(8 9 15 14)
|
||||
(10 11 17 16)
|
||||
(11 12 18 17)
|
||||
(12 13 19 18)
|
||||
(13 14 20 19)
|
||||
(14 15 21 20)
|
||||
)
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 22 23 1)
|
||||
(1 23 24 2)
|
||||
(2 24 25 3)
|
||||
);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(16 17 39 38)
|
||||
(17 18 40 39)
|
||||
(18 19 41 40)
|
||||
(19 20 42 41)
|
||||
(20 21 43 42)
|
||||
);
|
||||
}
|
||||
upperWall
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(3 25 31 9)
|
||||
(9 31 37 15)
|
||||
(15 37 43 21)
|
||||
);
|
||||
}
|
||||
lowerWall
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 6 28 22)
|
||||
(6 5 27 28)
|
||||
(5 4 26 27)
|
||||
(4 10 32 26)
|
||||
(10 16 38 32)
|
||||
);
|
||||
}
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(22 28 29 23)
|
||||
(23 29 30 24)
|
||||
(24 30 31 25)
|
||||
(26 32 33 27)
|
||||
(27 33 34 28)
|
||||
(28 34 35 29)
|
||||
(29 35 36 30)
|
||||
(30 36 37 31)
|
||||
(32 38 39 33)
|
||||
(33 39 40 34)
|
||||
(34 40 41 35)
|
||||
(35 41 42 36)
|
||||
(36 42 43 37)
|
||||
(0 1 7 6)
|
||||
(1 2 8 7)
|
||||
(2 3 9 8)
|
||||
(4 5 11 10)
|
||||
(5 6 12 11)
|
||||
(6 7 13 12)
|
||||
(7 8 14 13)
|
||||
(8 9 15 14)
|
||||
(10 11 17 16)
|
||||
(11 12 18 17)
|
||||
(12 13 19 18)
|
||||
(13 14 20 19)
|
||||
(14 15 21 20)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -37,23 +37,35 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
wall movingWall
|
||||
(
|
||||
(3 7 6 2)
|
||||
)
|
||||
wall fixedWalls
|
||||
(
|
||||
(0 4 7 3)
|
||||
(2 6 5 1)
|
||||
(1 5 4 0)
|
||||
)
|
||||
empty frontAndBack
|
||||
(
|
||||
(0 3 2 1)
|
||||
(4 5 6 7)
|
||||
)
|
||||
movingWall
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(3 7 6 2)
|
||||
);
|
||||
}
|
||||
fixedWalls
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
(2 6 5 1)
|
||||
(1 5 4 0)
|
||||
);
|
||||
}
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(0 3 2 1)
|
||||
(4 5 6 7)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
format binary;
|
||||
class polyBoundaryMesh;
|
||||
location "constant/polyMesh";
|
||||
object boundary;
|
||||
|
||||
@ -71,41 +71,53 @@ edges
|
||||
arc 15 19 ( 53.033 -53.033 -25)
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
// is there no way of defining all my 'defaultFaces' to be 'wall'?
|
||||
wall Default_Boundary_Region
|
||||
(
|
||||
// block0
|
||||
( 0 1 3 2 )
|
||||
( 11 10 12 13 )
|
||||
( 0 10 11 1 )
|
||||
( 2 3 13 12 )
|
||||
// block1
|
||||
( 4 5 7 6 )
|
||||
( 15 14 16 17 )
|
||||
( 4 14 15 5 )
|
||||
( 6 7 17 16 )
|
||||
// block2
|
||||
( 1 8 9 3 )
|
||||
( 18 11 13 19 )
|
||||
( 3 9 19 13 )
|
||||
( 1 11 18 8 )
|
||||
// block3
|
||||
( 5 9 8 7 )
|
||||
( 19 15 17 18 )
|
||||
( 5 15 19 9 )
|
||||
( 7 8 18 17 )
|
||||
)
|
||||
patch inlet
|
||||
(
|
||||
(0 2 12 10)
|
||||
)
|
||||
// is there no way of defining all my 'defaultFaces' to be 'wall'?
|
||||
Default_Boundary_Region
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
// block0
|
||||
( 0 1 3 2 )
|
||||
( 11 10 12 13 )
|
||||
( 0 10 11 1 )
|
||||
( 2 3 13 12 )
|
||||
// block1
|
||||
( 4 5 7 6 )
|
||||
( 15 14 16 17 )
|
||||
( 4 14 15 5 )
|
||||
( 6 7 17 16 )
|
||||
// block2
|
||||
( 1 8 9 3 )
|
||||
( 18 11 13 19 )
|
||||
( 3 9 19 13 )
|
||||
( 1 11 18 8 )
|
||||
// block3
|
||||
( 5 9 8 7 )
|
||||
( 19 15 17 18 )
|
||||
( 5 15 19 9 )
|
||||
( 7 8 18 17 )
|
||||
);
|
||||
}
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 2 12 10)
|
||||
);
|
||||
}
|
||||
|
||||
patch outlet
|
||||
(
|
||||
(4 6 16 14)
|
||||
)
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(4 6 16 14)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -47,31 +47,51 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch inlet
|
||||
(
|
||||
(0 8 10 2)
|
||||
(2 10 13 5)
|
||||
)
|
||||
patch outlet
|
||||
(
|
||||
(4 7 15 12)
|
||||
)
|
||||
symmetryPlane bottom
|
||||
(
|
||||
(0 1 9 8)
|
||||
)
|
||||
symmetryPlane top
|
||||
(
|
||||
(5 13 14 6)
|
||||
(6 14 15 7)
|
||||
)
|
||||
patch obstacle
|
||||
(
|
||||
(1 3 11 9)
|
||||
(3 4 12 11)
|
||||
)
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 8 10 2)
|
||||
(2 10 13 5)
|
||||
);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(4 7 15 12)
|
||||
);
|
||||
}
|
||||
bottom
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(0 1 9 8)
|
||||
);
|
||||
}
|
||||
top
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(5 13 14 6)
|
||||
(6 14 15 7)
|
||||
);
|
||||
}
|
||||
obstacle
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(1 3 11 9)
|
||||
(3 4 12 11)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -37,20 +37,28 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch sides
|
||||
(
|
||||
(1 2 6 5)
|
||||
(0 4 7 3)
|
||||
)
|
||||
empty empty
|
||||
(
|
||||
(0 1 5 4)
|
||||
(5 6 7 4)
|
||||
(3 7 6 2)
|
||||
(0 3 2 1)
|
||||
)
|
||||
sides
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(1 2 6 5)
|
||||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
empty
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(0 1 5 4)
|
||||
(5 6 7 4)
|
||||
(3 7 6 2)
|
||||
(0 3 2 1)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -85,41 +85,61 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch inlet
|
||||
(
|
||||
(0 22 26 4)
|
||||
(4 26 30 8)
|
||||
(8 30 36 14)
|
||||
(14 36 40 18)
|
||||
)
|
||||
patch outlet
|
||||
(
|
||||
(3 7 29 25)
|
||||
(7 11 33 29)
|
||||
(11 13 35 33)
|
||||
(13 17 39 35)
|
||||
(17 21 43 39)
|
||||
)
|
||||
patch bottomWall
|
||||
(
|
||||
(0 1 23 22)
|
||||
(1 2 24 23)
|
||||
(2 3 25 24)
|
||||
)
|
||||
patch topWall
|
||||
(
|
||||
(18 40 41 19)
|
||||
(19 41 42 20)
|
||||
(20 42 43 21)
|
||||
)
|
||||
wall prismWall
|
||||
(
|
||||
(12 10 32 34)
|
||||
(12 34 31 9)
|
||||
(9 31 32 10)
|
||||
)
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 22 26 4)
|
||||
(4 26 30 8)
|
||||
(8 30 36 14)
|
||||
(14 36 40 18)
|
||||
);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(3 7 29 25)
|
||||
(7 11 33 29)
|
||||
(11 13 35 33)
|
||||
(13 17 39 35)
|
||||
(17 21 43 39)
|
||||
);
|
||||
}
|
||||
bottomWall
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 1 23 22)
|
||||
(1 2 24 23)
|
||||
(2 3 25 24)
|
||||
);
|
||||
}
|
||||
topWall
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(18 40 41 19)
|
||||
(19 41 42 20)
|
||||
(20 42 43 21)
|
||||
);
|
||||
}
|
||||
prismWall
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(12 10 32 34)
|
||||
(12 34 31 9)
|
||||
(9 31 32 10)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -52,41 +52,61 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
wall outerWall
|
||||
(
|
||||
(0 1 11 10)
|
||||
(1 3 13 11)
|
||||
(3 4 14 13)
|
||||
(7 6 16 17)
|
||||
(6 9 19 16)
|
||||
(9 8 18 19)
|
||||
)
|
||||
symmetryPlane axis
|
||||
(
|
||||
(0 10 12 2)
|
||||
(2 12 15 5)
|
||||
(5 15 18 8)
|
||||
)
|
||||
patch nozzle
|
||||
(
|
||||
(4 7 17 14)
|
||||
)
|
||||
empty back
|
||||
(
|
||||
(0 2 3 1)
|
||||
(2 5 6 3)
|
||||
(3 6 7 4)
|
||||
(5 8 9 6)
|
||||
)
|
||||
empty front
|
||||
(
|
||||
(10 11 13 12)
|
||||
(12 13 16 15)
|
||||
(13 14 17 16)
|
||||
(15 16 19 18)
|
||||
)
|
||||
outerWall
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 1 11 10)
|
||||
(1 3 13 11)
|
||||
(3 4 14 13)
|
||||
(7 6 16 17)
|
||||
(6 9 19 16)
|
||||
(9 8 18 19)
|
||||
);
|
||||
}
|
||||
axis
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(0 10 12 2)
|
||||
(2 12 15 5)
|
||||
(5 15 18 8)
|
||||
);
|
||||
}
|
||||
nozzle
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(4 7 17 14)
|
||||
);
|
||||
}
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(0 2 3 1)
|
||||
(2 5 6 3)
|
||||
(3 6 7 4)
|
||||
(5 8 9 6)
|
||||
);
|
||||
}
|
||||
front
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(10 11 13 12)
|
||||
(12 13 16 15)
|
||||
(13 14 17 16)
|
||||
(15 16 19 18)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -22,6 +22,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 256;
|
||||
startFace 14464;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch xPeriodic_half1;
|
||||
}
|
||||
xPeriodic_half1
|
||||
@ -29,6 +30,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 256;
|
||||
startFace 14720;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch xPeriodic_half0;
|
||||
}
|
||||
yPeriodic_half0
|
||||
@ -36,6 +38,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 320;
|
||||
startFace 14976;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch yPeriodic_half1;
|
||||
}
|
||||
yPeriodic_half1
|
||||
@ -43,6 +46,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 320;
|
||||
startFace 15296;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch yPeriodic_half0;
|
||||
}
|
||||
zPeriodic_half0
|
||||
@ -50,6 +54,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 320;
|
||||
startFace 15616;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch zPeriodic_half1;
|
||||
}
|
||||
zPeriodic_half1
|
||||
@ -57,6 +62,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 320;
|
||||
startFace 15936;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch zPeriodic_half0;
|
||||
}
|
||||
)
|
||||
|
||||
@ -34,28 +34,37 @@ blocks
|
||||
hex (0 1 2 3 4 5 6 7) (20 16 16) simpleGrading (1 1 1)
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch
|
||||
outlet
|
||||
(
|
||||
(1 2 6 5)
|
||||
)
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(1 2 6 5)
|
||||
);
|
||||
}
|
||||
|
||||
patch
|
||||
inlet
|
||||
(
|
||||
(0 4 7 3)
|
||||
)
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
|
||||
patch
|
||||
sides
|
||||
(
|
||||
(2 3 7 6)
|
||||
(0 1 5 4)
|
||||
(4 5 6 7)
|
||||
(0 3 2 1)
|
||||
)
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(2 3 7 6)
|
||||
(0 1 5 4)
|
||||
(4 5 6 7)
|
||||
(0 3 2 1)
|
||||
);
|
||||
}
|
||||
)
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -40,32 +40,41 @@ blocks
|
||||
hex (1 8 9 2 5 10 11 6) (50 36 36) simpleGrading (1 1 1)
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch
|
||||
flow
|
||||
(
|
||||
(8 9 11 10)
|
||||
(0 4 7 3)
|
||||
(2 3 7 6)
|
||||
(2 6 11 9)
|
||||
(4 5 6 7)
|
||||
(5 10 11 6)
|
||||
)
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(8 9 11 10)
|
||||
(0 4 7 3)
|
||||
(2 3 7 6)
|
||||
(2 6 11 9)
|
||||
(4 5 6 7)
|
||||
(5 10 11 6)
|
||||
);
|
||||
}
|
||||
|
||||
symmetryPlane
|
||||
entrance
|
||||
(
|
||||
(0 1 5 4)
|
||||
(0 3 2 1)
|
||||
)
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(0 1 5 4)
|
||||
(0 3 2 1)
|
||||
);
|
||||
}
|
||||
|
||||
wall
|
||||
walls
|
||||
(
|
||||
(1 8 10 5)
|
||||
(1 2 9 8)
|
||||
)
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(1 8 10 5)
|
||||
(1 2 9 8)
|
||||
);
|
||||
}
|
||||
)
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -44,27 +44,39 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch flow
|
||||
(
|
||||
(0 6 9 3)
|
||||
(2 5 11 8)
|
||||
(0 1 7 6)
|
||||
(3 9 10 4)
|
||||
(4 10 11 5)
|
||||
)
|
||||
wall obstacle
|
||||
(
|
||||
(1 2 8 7)
|
||||
)
|
||||
empty frontAndBack
|
||||
(
|
||||
(0 3 4 1)
|
||||
(1 4 5 2)
|
||||
(6 7 10 9)
|
||||
(7 8 11 10)
|
||||
)
|
||||
flow
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 6 9 3)
|
||||
(2 5 11 8)
|
||||
(0 1 7 6)
|
||||
(3 9 10 4)
|
||||
(4 10 11 5)
|
||||
);
|
||||
}
|
||||
obstacle
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(1 2 8 7)
|
||||
);
|
||||
}
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(0 3 4 1)
|
||||
(1 4 5 2)
|
||||
(6 7 10 9)
|
||||
(7 8 11 10)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -22,6 +22,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 144;
|
||||
startFace 4752;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch periodicX_half1;
|
||||
}
|
||||
periodicX_half1
|
||||
@ -29,6 +30,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 144;
|
||||
startFace 4896;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch periodicX_half0;
|
||||
}
|
||||
periodicY_half0
|
||||
@ -36,6 +38,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 144;
|
||||
startFace 5040;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch periodicY_half1;
|
||||
}
|
||||
periodicY_half1
|
||||
@ -43,6 +46,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 144;
|
||||
startFace 5184;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch periodicY_half0;
|
||||
}
|
||||
periodicZ_half0
|
||||
@ -50,6 +54,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 144;
|
||||
startFace 5328;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch periodicZ_half1;
|
||||
}
|
||||
periodicZ_half1
|
||||
@ -57,6 +62,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 144;
|
||||
startFace 5472;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch periodicZ_half0;
|
||||
}
|
||||
)
|
||||
|
||||
@ -22,6 +22,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 132;
|
||||
startFace 4344;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch periodicX_half1;
|
||||
}
|
||||
periodicX_half1
|
||||
@ -29,6 +30,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 132;
|
||||
startFace 4476;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch periodicX_half0;
|
||||
}
|
||||
periodicY_half0
|
||||
@ -36,6 +38,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 132;
|
||||
startFace 4608;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch periodicY_half1;
|
||||
}
|
||||
periodicY_half1
|
||||
@ -43,6 +46,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 132;
|
||||
startFace 4740;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch periodicY_half0;
|
||||
}
|
||||
periodicZ_half0
|
||||
@ -50,6 +54,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 144;
|
||||
startFace 4872;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch periodicZ_half1;
|
||||
}
|
||||
periodicZ_half1
|
||||
@ -57,6 +62,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 144;
|
||||
startFace 5016;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch periodicZ_half0;
|
||||
}
|
||||
)
|
||||
|
||||
@ -56,59 +56,77 @@ blocks
|
||||
edges
|
||||
();
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch
|
||||
sectionAEnd
|
||||
(
|
||||
(0 4 7 3)
|
||||
)
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
|
||||
wall
|
||||
sectionCEnd
|
||||
(
|
||||
(20 21 23 22)
|
||||
)
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(20 21 23 22)
|
||||
);
|
||||
}
|
||||
|
||||
wall
|
||||
front
|
||||
(
|
||||
(0 1 5 4)
|
||||
(1 8 10 5)
|
||||
(8 12 14 10)
|
||||
(12 16 18 14)
|
||||
(16 20 22 18)
|
||||
)
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 1 5 4)
|
||||
(1 8 10 5)
|
||||
(8 12 14 10)
|
||||
(12 16 18 14)
|
||||
(16 20 22 18)
|
||||
);
|
||||
}
|
||||
|
||||
wall
|
||||
back
|
||||
(
|
||||
(2 3 7 6)
|
||||
(2 6 11 9)
|
||||
(9 11 15 13)
|
||||
(13 15 19 17)
|
||||
(17 19 23 21)
|
||||
)
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(2 3 7 6)
|
||||
(2 6 11 9)
|
||||
(9 11 15 13)
|
||||
(13 15 19 17)
|
||||
(17 19 23 21)
|
||||
);
|
||||
}
|
||||
|
||||
wall
|
||||
top
|
||||
(
|
||||
(4 5 6 7)
|
||||
(5 10 11 6)
|
||||
(10 14 15 11)
|
||||
(14 18 19 15)
|
||||
(18 22 23 19)
|
||||
)
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(4 5 6 7)
|
||||
(5 10 11 6)
|
||||
(10 14 15 11)
|
||||
(14 18 19 15)
|
||||
(18 22 23 19)
|
||||
);
|
||||
}
|
||||
|
||||
wall
|
||||
bottom
|
||||
(
|
||||
(0 3 2 1)
|
||||
(1 2 9 8)
|
||||
(8 9 13 12)
|
||||
(12 13 17 16)
|
||||
(16 17 21 20)
|
||||
)
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 3 2 1)
|
||||
(1 2 9 8)
|
||||
(8 9 13 12)
|
||||
(12 13 17 16)
|
||||
(16 17 21 20)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -63,33 +63,53 @@ edges
|
||||
arc 15 20 (0.0145419 0.0351074 0.5)
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
symmetryPlane left
|
||||
(
|
||||
(8 9 20 19)
|
||||
(9 10 21 20)
|
||||
)
|
||||
symmetryPlane right
|
||||
(
|
||||
(2 3 14 13)
|
||||
(3 6 17 14)
|
||||
)
|
||||
symmetryPlane down
|
||||
(
|
||||
(0 1 12 11)
|
||||
(1 2 13 12)
|
||||
)
|
||||
patch up
|
||||
(
|
||||
(7 8 19 18)
|
||||
(6 7 18 17)
|
||||
)
|
||||
patch hole
|
||||
(
|
||||
(10 5 16 21)
|
||||
(5 0 11 16)
|
||||
)
|
||||
left
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(8 9 20 19)
|
||||
(9 10 21 20)
|
||||
);
|
||||
}
|
||||
right
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(2 3 14 13)
|
||||
(3 6 17 14)
|
||||
);
|
||||
}
|
||||
down
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(0 1 12 11)
|
||||
(1 2 13 12)
|
||||
);
|
||||
}
|
||||
up
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(7 8 19 18)
|
||||
(6 7 18 17)
|
||||
);
|
||||
}
|
||||
hole
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(10 5 16 21)
|
||||
(5 0 11 16)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -37,29 +37,49 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch inlet
|
||||
(
|
||||
(0 4 7 3)
|
||||
)
|
||||
patch outlet
|
||||
(
|
||||
(2 6 5 1)
|
||||
)
|
||||
patch lowerWall
|
||||
(
|
||||
(1 5 4 0)
|
||||
)
|
||||
patch upperWall
|
||||
(
|
||||
(3 7 6 2)
|
||||
)
|
||||
empty frontAndBack
|
||||
(
|
||||
(0 3 2 1)
|
||||
(4 5 6 7)
|
||||
)
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(2 6 5 1)
|
||||
);
|
||||
}
|
||||
lowerWall
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(1 5 4 0)
|
||||
);
|
||||
}
|
||||
upperWall
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(3 7 6 2)
|
||||
);
|
||||
}
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(0 3 2 1)
|
||||
(4 5 6 7)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -37,16 +37,24 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch lowValue
|
||||
(
|
||||
(0 4 7 3)
|
||||
)
|
||||
patch highValue
|
||||
(
|
||||
(2 6 5 1)
|
||||
)
|
||||
lowValue
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
highValue
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(2 6 5 1)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -37,23 +37,35 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
wall floor
|
||||
(
|
||||
(1 5 4 0)
|
||||
)
|
||||
wall ceiling
|
||||
(
|
||||
(3 7 6 2)
|
||||
)
|
||||
wall fixedWalls
|
||||
(
|
||||
(0 4 7 3)
|
||||
(2 6 5 1)
|
||||
(0 3 2 1)
|
||||
(4 5 6 7)
|
||||
)
|
||||
floor
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(1 5 4 0)
|
||||
);
|
||||
}
|
||||
ceiling
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(3 7 6 2)
|
||||
);
|
||||
}
|
||||
fixedWalls
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
(2 6 5 1)
|
||||
(0 3 2 1)
|
||||
(4 5 6 7)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -37,23 +37,35 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
wall floor
|
||||
(
|
||||
(1 5 4 0)
|
||||
)
|
||||
wall ceiling
|
||||
(
|
||||
(3 7 6 2)
|
||||
)
|
||||
wall fixedWalls
|
||||
(
|
||||
(0 4 7 3)
|
||||
(2 6 5 1)
|
||||
(0 3 2 1)
|
||||
(4 5 6 7)
|
||||
)
|
||||
floor
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(1 5 4 0)
|
||||
);
|
||||
}
|
||||
ceiling
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(3 7 6 2)
|
||||
);
|
||||
}
|
||||
fixedWalls
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
(2 6 5 1)
|
||||
(0 3 2 1)
|
||||
(4 5 6 7)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -38,37 +38,61 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
empty maxY
|
||||
(
|
||||
(3 7 6 2)
|
||||
)
|
||||
maxY
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(3 7 6 2)
|
||||
);
|
||||
}
|
||||
|
||||
empty minX
|
||||
(
|
||||
(0 4 7 3)
|
||||
)
|
||||
minX
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
|
||||
empty maxX
|
||||
(
|
||||
(2 6 5 1)
|
||||
)
|
||||
maxX
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(2 6 5 1)
|
||||
);
|
||||
}
|
||||
|
||||
empty minY
|
||||
(
|
||||
(1 5 4 0)
|
||||
)
|
||||
minY
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(1 5 4 0)
|
||||
);
|
||||
}
|
||||
|
||||
wall ground
|
||||
(
|
||||
(0 3 2 1)
|
||||
)
|
||||
ground
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 3 2 1)
|
||||
);
|
||||
}
|
||||
|
||||
empty maxZ
|
||||
(
|
||||
(4 5 6 7)
|
||||
)
|
||||
maxZ
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(4 5 6 7)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -15,61 +15,43 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
9
|
||||
6
|
||||
(
|
||||
maxY
|
||||
{
|
||||
type empty;
|
||||
nFaces 0;
|
||||
startFace 61295;
|
||||
nFaces 400;
|
||||
startFace 22800;
|
||||
}
|
||||
minX
|
||||
{
|
||||
type empty;
|
||||
nFaces 0;
|
||||
startFace 61295;
|
||||
nFaces 400;
|
||||
startFace 23200;
|
||||
}
|
||||
maxX
|
||||
{
|
||||
type empty;
|
||||
nFaces 0;
|
||||
startFace 61295;
|
||||
nFaces 400;
|
||||
startFace 23600;
|
||||
}
|
||||
minY
|
||||
{
|
||||
type empty;
|
||||
nFaces 0;
|
||||
startFace 61295;
|
||||
nFaces 400;
|
||||
startFace 24000;
|
||||
}
|
||||
ground
|
||||
{
|
||||
type wall;
|
||||
nFaces 590;
|
||||
startFace 61295;
|
||||
nFaces 400;
|
||||
startFace 24400;
|
||||
}
|
||||
maxZ
|
||||
{
|
||||
type empty;
|
||||
nFaces 0;
|
||||
startFace 61885;
|
||||
}
|
||||
igloo_region0
|
||||
{
|
||||
type wall;
|
||||
nFaces 2260;
|
||||
startFace 61885;
|
||||
}
|
||||
twoFridgeFreezers_seal_0
|
||||
{
|
||||
type wall;
|
||||
nFaces 1344;
|
||||
startFace 64145;
|
||||
}
|
||||
twoFridgeFreezers_herring_1
|
||||
{
|
||||
type wall;
|
||||
nFaces 1116;
|
||||
startFace 65489;
|
||||
nFaces 400;
|
||||
startFace 24800;
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@ -37,23 +37,35 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
wall floor
|
||||
(
|
||||
(1 5 4 0)
|
||||
)
|
||||
wall ceiling
|
||||
(
|
||||
(3 7 6 2)
|
||||
)
|
||||
wall fixedWalls
|
||||
(
|
||||
(0 4 7 3)
|
||||
(2 6 5 1)
|
||||
(0 3 2 1)
|
||||
(4 5 6 7)
|
||||
)
|
||||
floor
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(1 5 4 0)
|
||||
);
|
||||
}
|
||||
ceiling
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(3 7 6 2)
|
||||
);
|
||||
}
|
||||
fixedWalls
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
(2 6 5 1)
|
||||
(0 3 2 1)
|
||||
(4 5 6 7)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -37,29 +37,45 @@ blocks
|
||||
hex (0 1 2 3 4 5 6 7) (35 150 15) simpleGrading (1 1 1)
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
wall frontAndBack
|
||||
(
|
||||
(0 1 5 4)
|
||||
(2 3 7 6)
|
||||
)
|
||||
frontAndBack
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 1 5 4)
|
||||
(2 3 7 6)
|
||||
);
|
||||
}
|
||||
|
||||
wall topAndBottom
|
||||
(
|
||||
(4 5 6 7)
|
||||
(3 2 1 0)
|
||||
)
|
||||
topAndBottom
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(4 5 6 7)
|
||||
(3 2 1 0)
|
||||
);
|
||||
}
|
||||
|
||||
wall hot
|
||||
(
|
||||
(6 5 1 2)
|
||||
)
|
||||
hot
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(6 5 1 2)
|
||||
);
|
||||
}
|
||||
|
||||
wall cold
|
||||
(
|
||||
(4 7 3 0)
|
||||
)
|
||||
cold
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(4 7 3 0)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -37,23 +37,35 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
wall floor
|
||||
(
|
||||
(1 5 4 0)
|
||||
)
|
||||
wall ceiling
|
||||
(
|
||||
(3 7 6 2)
|
||||
)
|
||||
wall fixedWalls
|
||||
(
|
||||
(0 4 7 3)
|
||||
(2 6 5 1)
|
||||
(0 3 2 1)
|
||||
(4 5 6 7)
|
||||
)
|
||||
floor
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(1 5 4 0)
|
||||
);
|
||||
}
|
||||
ceiling
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(3 7 6 2)
|
||||
);
|
||||
}
|
||||
fixedWalls
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
(2 6 5 1)
|
||||
(0 3 2 1)
|
||||
(4 5 6 7)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -98,69 +98,85 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
wall box
|
||||
(
|
||||
( 6 22 21 5)
|
||||
(10 26 22 6)
|
||||
( 9 25 26 10)
|
||||
( 5 21 25 9)
|
||||
(22 26 25 21)
|
||||
)
|
||||
wall floor
|
||||
(
|
||||
( 1 5 4 0)
|
||||
( 2 6 5 1)
|
||||
( 3 7 6 2)
|
||||
( 5 9 8 4)
|
||||
( 7 11 10 6)
|
||||
( 9 13 12 8)
|
||||
(10 14 13 9)
|
||||
(11 15 14 10)
|
||||
)
|
||||
wall ceiling
|
||||
(
|
||||
(33 37 36 32)
|
||||
(34 38 37 33)
|
||||
(35 39 38 34)
|
||||
(37 41 40 36)
|
||||
(38 42 41 37)
|
||||
(39 43 42 38)
|
||||
(41 45 44 40)
|
||||
(42 46 45 41)
|
||||
(43 47 46 42)
|
||||
)
|
||||
wall fixedWalls
|
||||
(
|
||||
( 1 17 16 0)
|
||||
( 2 18 17 1)
|
||||
( 3 19 18 2)
|
||||
(17 33 32 16)
|
||||
(18 34 33 17)
|
||||
(19 35 34 18)
|
||||
box
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
( 6 22 21 5)
|
||||
(10 26 22 6)
|
||||
( 9 25 26 10)
|
||||
( 5 21 25 9)
|
||||
(22 26 25 21)
|
||||
);
|
||||
}
|
||||
floor
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
( 1 5 4 0)
|
||||
( 2 6 5 1)
|
||||
( 3 7 6 2)
|
||||
( 5 9 8 4)
|
||||
( 7 11 10 6)
|
||||
( 9 13 12 8)
|
||||
(10 14 13 9)
|
||||
(11 15 14 10)
|
||||
);
|
||||
}
|
||||
ceiling
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(33 37 36 32)
|
||||
(34 38 37 33)
|
||||
(35 39 38 34)
|
||||
(37 41 40 36)
|
||||
(38 42 41 37)
|
||||
(39 43 42 38)
|
||||
(41 45 44 40)
|
||||
(42 46 45 41)
|
||||
(43 47 46 42)
|
||||
);
|
||||
}
|
||||
fixedWalls
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
( 1 17 16 0)
|
||||
( 2 18 17 1)
|
||||
( 3 19 18 2)
|
||||
(17 33 32 16)
|
||||
(18 34 33 17)
|
||||
(19 35 34 18)
|
||||
|
||||
( 7 23 19 3)
|
||||
(11 27 23 7)
|
||||
(15 31 27 11)
|
||||
(23 39 35 19)
|
||||
(27 43 39 23)
|
||||
(31 47 43 27)
|
||||
( 7 23 19 3)
|
||||
(11 27 23 7)
|
||||
(15 31 27 11)
|
||||
(23 39 35 19)
|
||||
(27 43 39 23)
|
||||
(31 47 43 27)
|
||||
|
||||
(14 30 31 15)
|
||||
(13 29 30 14)
|
||||
(12 28 29 13)
|
||||
(30 46 47 31)
|
||||
(29 45 46 30)
|
||||
(28 44 45 29)
|
||||
(14 30 31 15)
|
||||
(13 29 30 14)
|
||||
(12 28 29 13)
|
||||
(30 46 47 31)
|
||||
(29 45 46 30)
|
||||
(28 44 45 29)
|
||||
|
||||
( 8 24 28 12)
|
||||
( 4 20 24 8)
|
||||
( 0 16 20 4)
|
||||
(24 40 44 28)
|
||||
(20 36 40 24)
|
||||
(16 32 36 20)
|
||||
)
|
||||
( 8 24 28 12)
|
||||
( 4 20 24 8)
|
||||
( 0 16 20 4)
|
||||
(24 40 44 28)
|
||||
(20 36 40 24)
|
||||
(16 32 36 20)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -98,69 +98,85 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
wall box
|
||||
(
|
||||
( 6 22 21 5)
|
||||
(10 26 22 6)
|
||||
( 9 25 26 10)
|
||||
( 5 21 25 9)
|
||||
(22 26 25 21)
|
||||
)
|
||||
wall floor
|
||||
(
|
||||
( 1 5 4 0)
|
||||
( 2 6 5 1)
|
||||
( 3 7 6 2)
|
||||
( 5 9 8 4)
|
||||
( 7 11 10 6)
|
||||
( 9 13 12 8)
|
||||
(10 14 13 9)
|
||||
(11 15 14 10)
|
||||
)
|
||||
wall ceiling
|
||||
(
|
||||
(33 37 36 32)
|
||||
(34 38 37 33)
|
||||
(35 39 38 34)
|
||||
(37 41 40 36)
|
||||
(38 42 41 37)
|
||||
(39 43 42 38)
|
||||
(41 45 44 40)
|
||||
(42 46 45 41)
|
||||
(43 47 46 42)
|
||||
)
|
||||
wall fixedWalls
|
||||
(
|
||||
( 1 17 16 0)
|
||||
( 2 18 17 1)
|
||||
( 3 19 18 2)
|
||||
(17 33 32 16)
|
||||
(18 34 33 17)
|
||||
(19 35 34 18)
|
||||
box
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
( 6 22 21 5)
|
||||
(10 26 22 6)
|
||||
( 9 25 26 10)
|
||||
( 5 21 25 9)
|
||||
(22 26 25 21)
|
||||
);
|
||||
}
|
||||
floor
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
( 1 5 4 0)
|
||||
( 2 6 5 1)
|
||||
( 3 7 6 2)
|
||||
( 5 9 8 4)
|
||||
( 7 11 10 6)
|
||||
( 9 13 12 8)
|
||||
(10 14 13 9)
|
||||
(11 15 14 10)
|
||||
);
|
||||
}
|
||||
ceiling
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(33 37 36 32)
|
||||
(34 38 37 33)
|
||||
(35 39 38 34)
|
||||
(37 41 40 36)
|
||||
(38 42 41 37)
|
||||
(39 43 42 38)
|
||||
(41 45 44 40)
|
||||
(42 46 45 41)
|
||||
(43 47 46 42)
|
||||
);
|
||||
}
|
||||
fixedWalls
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
( 1 17 16 0)
|
||||
( 2 18 17 1)
|
||||
( 3 19 18 2)
|
||||
(17 33 32 16)
|
||||
(18 34 33 17)
|
||||
(19 35 34 18)
|
||||
|
||||
( 7 23 19 3)
|
||||
(11 27 23 7)
|
||||
(15 31 27 11)
|
||||
(23 39 35 19)
|
||||
(27 43 39 23)
|
||||
(31 47 43 27)
|
||||
( 7 23 19 3)
|
||||
(11 27 23 7)
|
||||
(15 31 27 11)
|
||||
(23 39 35 19)
|
||||
(27 43 39 23)
|
||||
(31 47 43 27)
|
||||
|
||||
(14 30 31 15)
|
||||
(13 29 30 14)
|
||||
(12 28 29 13)
|
||||
(30 46 47 31)
|
||||
(29 45 46 30)
|
||||
(28 44 45 29)
|
||||
(14 30 31 15)
|
||||
(13 29 30 14)
|
||||
(12 28 29 13)
|
||||
(30 46 47 31)
|
||||
(29 45 46 30)
|
||||
(28 44 45 29)
|
||||
|
||||
( 8 24 28 12)
|
||||
( 4 20 24 8)
|
||||
( 0 16 20 4)
|
||||
(24 40 44 28)
|
||||
(20 36 40 24)
|
||||
(16 32 36 20)
|
||||
)
|
||||
( 8 24 28 12)
|
||||
( 4 20 24 8)
|
||||
( 0 16 20 4)
|
||||
(24 40 44 28)
|
||||
(20 36 40 24)
|
||||
(16 32 36 20)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
format binary;
|
||||
class polyBoundaryMesh;
|
||||
location "constant/polyMesh";
|
||||
object boundary;
|
||||
|
||||
@ -37,32 +37,56 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
wall maxY
|
||||
(
|
||||
(3 7 6 2)
|
||||
)
|
||||
patch minX
|
||||
(
|
||||
(0 4 7 3)
|
||||
)
|
||||
patch maxX
|
||||
(
|
||||
(2 6 5 1)
|
||||
)
|
||||
wall minY
|
||||
(
|
||||
(1 5 4 0)
|
||||
)
|
||||
wall minZ
|
||||
(
|
||||
(0 3 2 1)
|
||||
)
|
||||
wall maxZ
|
||||
(
|
||||
(4 5 6 7)
|
||||
)
|
||||
maxY
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(3 7 6 2)
|
||||
);
|
||||
}
|
||||
minX
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
maxX
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(2 6 5 1)
|
||||
);
|
||||
}
|
||||
minY
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(1 5 4 0)
|
||||
);
|
||||
}
|
||||
minZ
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 3 2 1)
|
||||
);
|
||||
}
|
||||
maxZ
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(4 5 6 7)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
format binary;
|
||||
class polyBoundaryMesh;
|
||||
location "constant/polyMesh";
|
||||
object boundary;
|
||||
|
||||
@ -37,32 +37,56 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
wall maxY
|
||||
(
|
||||
(3 7 6 2)
|
||||
)
|
||||
patch minX
|
||||
(
|
||||
(0 4 7 3)
|
||||
)
|
||||
patch maxX
|
||||
(
|
||||
(2 6 5 1)
|
||||
)
|
||||
wall minY
|
||||
(
|
||||
(1 5 4 0)
|
||||
)
|
||||
wall minZ
|
||||
(
|
||||
(0 3 2 1)
|
||||
)
|
||||
wall maxZ
|
||||
(
|
||||
(4 5 6 7)
|
||||
)
|
||||
maxY
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(3 7 6 2)
|
||||
);
|
||||
}
|
||||
minX
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
maxX
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(2 6 5 1)
|
||||
);
|
||||
}
|
||||
minY
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(1 5 4 0)
|
||||
);
|
||||
}
|
||||
minZ
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 3 2 1)
|
||||
);
|
||||
}
|
||||
maxZ
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(4 5 6 7)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
format binary;
|
||||
class polyBoundaryMesh;
|
||||
location "constant/polyMesh";
|
||||
object boundary;
|
||||
|
||||
@ -4,6 +4,10 @@ cd ${0%/*} || exit 1 # run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm -f constant/triSurface/*.eMesh > /dev/null 2>&1
|
||||
rm -f constant/polyMesh/boundary
|
||||
|
||||
cleanCase
|
||||
rm -rf VTK
|
||||
rm -rf constant/cellToRegion constant/polyMesh/sets
|
||||
|
||||
@ -8,6 +8,11 @@ cd ${0%/*} || exit 1 # run from this directory
|
||||
rm -rf constant/polyMesh/sets
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication surfaceFeatureExtract -includedAngle 150 constant/triSurface/bottomAir.stl bottomAir
|
||||
runApplication surfaceFeatureExtract -includedAngle 150 constant/triSurface/heater.stl heater
|
||||
runApplication surfaceFeatureExtract -includedAngle 150 constant/triSurface/leftSolid.stl leftSolid
|
||||
runApplication surfaceFeatureExtract -includedAngle 150 constant/triSurface/rightSolid.stl rightSolid
|
||||
runApplication surfaceFeatureExtract -includedAngle 150 constant/triSurface/topAir.stl topAir
|
||||
runApplication snappyHexMesh -overwrite
|
||||
runApplication splitMeshRegions -cellZones -overwrite
|
||||
|
||||
|
||||
@ -37,32 +37,56 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
wall maxY
|
||||
(
|
||||
(3 7 6 2)
|
||||
)
|
||||
patch minX
|
||||
(
|
||||
(0 4 7 3)
|
||||
)
|
||||
patch maxX
|
||||
(
|
||||
(2 6 5 1)
|
||||
)
|
||||
wall minY
|
||||
(
|
||||
(1 5 4 0)
|
||||
)
|
||||
wall minZ
|
||||
(
|
||||
(0 3 2 1)
|
||||
)
|
||||
wall maxZ
|
||||
(
|
||||
(4 5 6 7)
|
||||
)
|
||||
maxY
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(3 7 6 2)
|
||||
);
|
||||
}
|
||||
minX
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
maxX
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(2 6 5 1)
|
||||
);
|
||||
}
|
||||
minY
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(1 5 4 0)
|
||||
);
|
||||
}
|
||||
minZ
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 3 2 1)
|
||||
);
|
||||
}
|
||||
maxZ
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(4 5 6 7)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -15,253 +15,43 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
41
|
||||
6
|
||||
(
|
||||
maxY
|
||||
{
|
||||
type wall;
|
||||
nFaces 1200;
|
||||
startFace 41630;
|
||||
nFaces 300;
|
||||
startFace 8300;
|
||||
}
|
||||
minX
|
||||
{
|
||||
type patch;
|
||||
nFaces 250;
|
||||
startFace 42830;
|
||||
nFaces 100;
|
||||
startFace 8600;
|
||||
}
|
||||
maxX
|
||||
{
|
||||
type patch;
|
||||
nFaces 250;
|
||||
startFace 43080;
|
||||
nFaces 100;
|
||||
startFace 8700;
|
||||
}
|
||||
minY
|
||||
{
|
||||
type wall;
|
||||
nFaces 1200;
|
||||
startFace 43330;
|
||||
nFaces 300;
|
||||
startFace 8800;
|
||||
}
|
||||
minZ
|
||||
{
|
||||
type wall;
|
||||
nFaces 750;
|
||||
startFace 44530;
|
||||
nFaces 300;
|
||||
startFace 9100;
|
||||
}
|
||||
maxZ
|
||||
{
|
||||
type wall;
|
||||
nFaces 750;
|
||||
startFace 45280;
|
||||
}
|
||||
bottomAir_minX
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
bottomAir_maxX
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
bottomAir_minY
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
bottomAir_minZ
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
bottomAir_maxZ
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
bottomAir_bottomAir_to_rightSolid
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
bottomAir_bottomAir_to_leftSolid
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
bottomAir_bottomAir_to_heater
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
topAir_maxY
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
topAir_minX
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
topAir_maxX
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
topAir_minZ
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
topAir_maxZ
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
topAir_topAir_to_rightSolid
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
topAir_topAir_to_heater
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
topAir_topAir_to_leftSolid
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
leftSolid_minX
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
leftSolid_minZ
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
leftSolid_maxZ
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
leftSolid_leftSolid_to_bottomAir
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
leftSolid_leftSolid_to_heater
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
leftSolid_leftSolid_to_topAir
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
rightSolid_maxX
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
rightSolid_minZ
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
rightSolid_maxZ
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
rightSolid_rightSolid_to_bottomAir
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
rightSolid_rightSolid_to_topAir
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
rightSolid_rightSolid_to_heater
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
heater_minY
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
heater_minZ
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
heater_maxZ
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
heater_heater_to_topAir
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
heater_heater_to_rightSolid
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
heater_heater_to_leftSolid
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
}
|
||||
heater_heater_to_bottomAir
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 46030;
|
||||
nFaces 300;
|
||||
startFace 9400;
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@ -109,6 +109,26 @@ castellatedMeshControls
|
||||
// This is a featureEdgeMesh, read from constant/triSurface for now.
|
||||
features
|
||||
(
|
||||
{
|
||||
file "bottomAir.eMesh";
|
||||
level 1;
|
||||
}
|
||||
{
|
||||
file "heater.eMesh";
|
||||
level 1;
|
||||
}
|
||||
{
|
||||
file "leftSolid.eMesh";
|
||||
level 1;
|
||||
}
|
||||
{
|
||||
file "rightSolid.eMesh";
|
||||
level 1;
|
||||
}
|
||||
{
|
||||
file "topAir.eMesh";
|
||||
level 1;
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@ -231,7 +251,7 @@ snapControls
|
||||
//- Relative distance for points to be attracted by surface feature point
|
||||
// or edge. True distance is this factor times local
|
||||
// maximum edge length.
|
||||
tolerance 4.0;
|
||||
tolerance 1.0;
|
||||
|
||||
//- Number of mesh displacement relaxation iterations.
|
||||
nSolveIter 30;
|
||||
@ -239,6 +259,11 @@ snapControls
|
||||
//- Maximum number of snapping relaxation iterations. Should stop
|
||||
// before upon reaching a correct mesh.
|
||||
nRelaxIter 5;
|
||||
|
||||
//- Highly experimental and wip: number of feature edge snapping
|
||||
// iterations. Leave out altogether to disable.
|
||||
// Of limited use in this case since faceZone faces not handled.
|
||||
nFeatureSnapIter 10;
|
||||
}
|
||||
|
||||
|
||||
@ -251,28 +276,20 @@ addLayersControls
|
||||
// Per final patch (so not geometry!) the layer information
|
||||
layers
|
||||
{
|
||||
//flowAirDuctReagent_flowAirDuctReagent
|
||||
//{
|
||||
// nSurfaceLayers 1;
|
||||
//}
|
||||
//flowAirDuctReagent_inlet1
|
||||
//{
|
||||
// nSurfaceLayers 1;
|
||||
//}
|
||||
//flowAirDuctReagent_inlet2
|
||||
//{
|
||||
// nSurfaceLayers 1;
|
||||
//}
|
||||
maxY
|
||||
{
|
||||
nSurfaceLayers 3;
|
||||
}
|
||||
}
|
||||
|
||||
// Expansion factor for layer mesh
|
||||
expansionRatio 1.0;
|
||||
expansionRatio 1.3;
|
||||
|
||||
//- Wanted thickness of final added cell layer. If multiple layers
|
||||
// is the
|
||||
// thickness of the layer furthest away from the wall.
|
||||
// Relative to undistorted size of cell outside layer.
|
||||
finalLayerThickness 0.3;
|
||||
finalLayerThickness 1;
|
||||
|
||||
//- Minimum thickness of cell layer. If for any reason layer
|
||||
// cannot be above minThickness do not add layer.
|
||||
@ -302,14 +319,14 @@ addLayersControls
|
||||
nSmoothNormals 3;
|
||||
|
||||
// Smooth layer thickness over surface patches
|
||||
nSmoothThickness 10;
|
||||
nSmoothThickness 2;
|
||||
|
||||
// Stop layer growth on highly warped cells
|
||||
maxFaceThicknessRatio 0.5;
|
||||
|
||||
// Reduce layer growth where ratio thickness to medial
|
||||
// distance is large
|
||||
maxThicknessToMedialRatio 0.3;
|
||||
maxThicknessToMedialRatio 1;
|
||||
|
||||
// Angle used to pick up medial axis points
|
||||
// Note: changed(corrected) w.r.t 17x! 90 degrees corresponds to 130 in 17x.
|
||||
@ -317,6 +334,11 @@ addLayersControls
|
||||
|
||||
// Create buffer region for new layer terminations
|
||||
nBufferCellsNoExtrude 0;
|
||||
|
||||
// Overall max number of layer addition iterations. The mesher will exit
|
||||
// if it reaches this number of iterations; possibly with an illegal
|
||||
// mesh.
|
||||
nLayerIter 50;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -37,32 +37,56 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
wall maxY
|
||||
(
|
||||
(3 7 6 2)
|
||||
)
|
||||
patch minX
|
||||
(
|
||||
(0 4 7 3)
|
||||
)
|
||||
patch maxX
|
||||
(
|
||||
(2 6 5 1)
|
||||
)
|
||||
wall minY
|
||||
(
|
||||
(1 5 4 0)
|
||||
)
|
||||
wall minZ
|
||||
(
|
||||
(0 3 2 1)
|
||||
)
|
||||
wall maxZ
|
||||
(
|
||||
(4 5 6 7)
|
||||
)
|
||||
maxY
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(3 7 6 2)
|
||||
);
|
||||
}
|
||||
minX
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
maxX
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(2 6 5 1)
|
||||
);
|
||||
}
|
||||
minY
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(1 5 4 0)
|
||||
);
|
||||
}
|
||||
minZ
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 3 2 1)
|
||||
);
|
||||
}
|
||||
maxZ
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(4 5 6 7)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -37,32 +37,56 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
wall maxY
|
||||
(
|
||||
(3 7 6 2)
|
||||
)
|
||||
patch minX
|
||||
(
|
||||
(0 4 7 3)
|
||||
)
|
||||
patch maxX
|
||||
(
|
||||
(2 6 5 1)
|
||||
)
|
||||
wall minY
|
||||
(
|
||||
(1 5 4 0)
|
||||
)
|
||||
wall minZ
|
||||
(
|
||||
(0 3 2 1)
|
||||
)
|
||||
wall maxZ
|
||||
(
|
||||
(4 5 6 7)
|
||||
)
|
||||
maxY
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(3 7 6 2)
|
||||
);
|
||||
}
|
||||
minX
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
maxX
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(2 6 5 1)
|
||||
);
|
||||
}
|
||||
minY
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(1 5 4 0)
|
||||
);
|
||||
}
|
||||
minZ
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 3 2 1)
|
||||
);
|
||||
}
|
||||
maxZ
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(4 5 6 7)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -149,3 +149,5 @@ boundary
|
||||
mergeMatchPairs
|
||||
(
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -46,6 +46,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 1600;
|
||||
startFace 101720;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch cyclic_half1;
|
||||
transform rotational;
|
||||
rotationAxis (0 0 1);
|
||||
@ -56,6 +57,7 @@ FoamFile
|
||||
type cyclic;
|
||||
nFaces 1600;
|
||||
startFace 103320;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch cyclic_half0;
|
||||
transform rotational;
|
||||
rotationAxis (0 0 1);
|
||||
|
||||
@ -85,65 +85,85 @@ edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
patch inlet
|
||||
(
|
||||
(0 22 23 1)
|
||||
(1 23 24 2)
|
||||
(2 24 25 3)
|
||||
)
|
||||
patch outlet
|
||||
(
|
||||
(16 17 39 38)
|
||||
(17 18 40 39)
|
||||
(18 19 41 40)
|
||||
(19 20 42 41)
|
||||
(20 21 43 42)
|
||||
)
|
||||
wall upperWall
|
||||
(
|
||||
(3 25 31 9)
|
||||
(9 31 37 15)
|
||||
(15 37 43 21)
|
||||
)
|
||||
wall lowerWall
|
||||
(
|
||||
(0 6 28 22)
|
||||
(6 5 27 28)
|
||||
(5 4 26 27)
|
||||
(4 10 32 26)
|
||||
(10 16 38 32)
|
||||
)
|
||||
empty frontAndBack
|
||||
(
|
||||
(22 28 29 23)
|
||||
(23 29 30 24)
|
||||
(24 30 31 25)
|
||||
(26 32 33 27)
|
||||
(27 33 34 28)
|
||||
(28 34 35 29)
|
||||
(29 35 36 30)
|
||||
(30 36 37 31)
|
||||
(32 38 39 33)
|
||||
(33 39 40 34)
|
||||
(34 40 41 35)
|
||||
(35 41 42 36)
|
||||
(36 42 43 37)
|
||||
(0 1 7 6)
|
||||
(1 2 8 7)
|
||||
(2 3 9 8)
|
||||
(4 5 11 10)
|
||||
(5 6 12 11)
|
||||
(6 7 13 12)
|
||||
(7 8 14 13)
|
||||
(8 9 15 14)
|
||||
(10 11 17 16)
|
||||
(11 12 18 17)
|
||||
(12 13 19 18)
|
||||
(13 14 20 19)
|
||||
(14 15 21 20)
|
||||
)
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 22 23 1)
|
||||
(1 23 24 2)
|
||||
(2 24 25 3)
|
||||
);
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(16 17 39 38)
|
||||
(17 18 40 39)
|
||||
(18 19 41 40)
|
||||
(19 20 42 41)
|
||||
(20 21 43 42)
|
||||
);
|
||||
}
|
||||
upperWall
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(3 25 31 9)
|
||||
(9 31 37 15)
|
||||
(15 37 43 21)
|
||||
);
|
||||
}
|
||||
lowerWall
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 6 28 22)
|
||||
(6 5 27 28)
|
||||
(5 4 26 27)
|
||||
(4 10 32 26)
|
||||
(10 16 38 32)
|
||||
);
|
||||
}
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(22 28 29 23)
|
||||
(23 29 30 24)
|
||||
(24 30 31 25)
|
||||
(26 32 33 27)
|
||||
(27 33 34 28)
|
||||
(28 34 35 29)
|
||||
(29 35 36 30)
|
||||
(30 36 37 31)
|
||||
(32 38 39 33)
|
||||
(33 39 40 34)
|
||||
(34 40 41 35)
|
||||
(35 41 42 36)
|
||||
(36 42 43 37)
|
||||
(0 1 7 6)
|
||||
(1 2 8 7)
|
||||
(2 3 9 8)
|
||||
(4 5 11 10)
|
||||
(5 6 12 11)
|
||||
(6 7 13 12)
|
||||
(7 8 14 13)
|
||||
(8 9 15 14)
|
||||
(10 11 17 16)
|
||||
(11 12 18 17)
|
||||
(12 13 19 18)
|
||||
(13 14 20 19)
|
||||
(14 15 21 20)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -20,35 +20,30 @@ FoamFile
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
physicalType inlet;
|
||||
nFaces 30;
|
||||
startFace 24170;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
physicalType outlet;
|
||||
nFaces 57;
|
||||
startFace 24200;
|
||||
}
|
||||
upperWall
|
||||
{
|
||||
type wall;
|
||||
physicalType wallFunctions;
|
||||
nFaces 223;
|
||||
startFace 24257;
|
||||
}
|
||||
lowerWall
|
||||
{
|
||||
type wall;
|
||||
physicalType wallFunctions;
|
||||
nFaces 250;
|
||||
startFace 24480;
|
||||
}
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
physicalType empty;
|
||||
nFaces 24450;
|
||||
startFace 24730;
|
||||
}
|
||||
|
||||
@ -31,7 +31,11 @@ boundaryField
|
||||
type fixedValue;
|
||||
value uniform ( 0 0 0 0 0 0 );
|
||||
}
|
||||
frontBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
@ -39,10 +43,6 @@ boundaryField
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
frontBack_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -31,7 +31,11 @@ boundaryField
|
||||
type fixedValue;
|
||||
value uniform ( 0 0 0 );
|
||||
}
|
||||
frontBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
@ -39,10 +43,6 @@ boundaryField
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
frontBack_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -31,7 +31,11 @@ boundaryField
|
||||
type fixedValue;
|
||||
value uniform 1e-08;
|
||||
}
|
||||
frontBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
@ -39,10 +43,6 @@ boundaryField
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
frontBack_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -31,7 +31,11 @@ boundaryField
|
||||
type fixedValue;
|
||||
value uniform 1e-10;
|
||||
}
|
||||
frontBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
@ -39,10 +43,6 @@ boundaryField
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
frontBack_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -31,7 +31,11 @@ boundaryField
|
||||
type fixedValue;
|
||||
value uniform 0;
|
||||
}
|
||||
frontBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
@ -39,10 +43,6 @@ boundaryField
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
frontBack_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -10,46 +10,46 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object p;
|
||||
location "0";
|
||||
object nut;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 2 -2 0 0 0 0];
|
||||
dimensions [0 2 -1 0 0 0 0];
|
||||
|
||||
internalField uniform 0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
down
|
||||
lowerWall
|
||||
{
|
||||
type symmetryPlane;
|
||||
}
|
||||
|
||||
right
|
||||
{
|
||||
type fixedValue;
|
||||
type nutLowReWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
up
|
||||
upperWall
|
||||
{
|
||||
type symmetryPlane;
|
||||
type nutLowReWallFunction;
|
||||
Cmu 0.09;
|
||||
kappa 0.41;
|
||||
E 9.8;
|
||||
value uniform 0;
|
||||
}
|
||||
|
||||
left
|
||||
front
|
||||
{
|
||||
type zeroGradient;
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
cylinder
|
||||
back
|
||||
{
|
||||
type symmetryPlane;
|
||||
type cyclic;
|
||||
}
|
||||
|
||||
defaultFaces
|
||||
defaultFaces
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
convertToMeters 0.05;
|
||||
|
||||
vertices
|
||||
vertices
|
||||
(
|
||||
(0 -1 0)
|
||||
(0 0 0)
|
||||
@ -32,36 +32,57 @@ vertices
|
||||
(0.1 1 0.1)
|
||||
);
|
||||
|
||||
blocks
|
||||
blocks
|
||||
(
|
||||
hex (0 3 4 1 6 9 10 7) (1 40 1) simpleGrading (1 100 1)
|
||||
hex (1 4 5 2 7 10 11 8) (1 40 1) simpleGrading (1 0.01 1)
|
||||
);
|
||||
|
||||
edges
|
||||
edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
boundary
|
||||
(
|
||||
wall lowerWall
|
||||
(
|
||||
(0 3 9 6)
|
||||
)
|
||||
lowerWall
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(0 3 9 6)
|
||||
);
|
||||
}
|
||||
|
||||
wall upperWall
|
||||
(
|
||||
(2 8 11 5)
|
||||
)
|
||||
upperWall
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
(
|
||||
(2 8 11 5)
|
||||
);
|
||||
}
|
||||
|
||||
cyclic frontBack
|
||||
(
|
||||
(0 6 7 1)
|
||||
(1 7 8 2)
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
neighbourPatch back;
|
||||
faces
|
||||
(
|
||||
(9 3 4 10)
|
||||
(10 4 5 11)
|
||||
);
|
||||
}
|
||||
|
||||
(9 3 4 10)
|
||||
(10 4 5 11)
|
||||
)
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
neighbourPatch front;
|
||||
faces
|
||||
(
|
||||
(0 6 7 1)
|
||||
(1 7 8 2)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -29,19 +29,21 @@ FoamFile
|
||||
nFaces 1;
|
||||
startFace 80;
|
||||
}
|
||||
frontBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
nFaces 80;
|
||||
startFace 81;
|
||||
neighbourPatch frontBack_half1;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch back;
|
||||
}
|
||||
frontBack_half1
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
nFaces 80;
|
||||
startFace 161;
|
||||
neighbourPatch frontBack_half0;
|
||||
matchTolerance 0.0001;
|
||||
neighbourPatch front;
|
||||
}
|
||||
defaultFaces
|
||||
{
|
||||
|
||||
@ -29,7 +29,11 @@ boundaryField
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
frontBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
@ -37,10 +41,6 @@ boundaryField
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
frontBack_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -31,7 +31,11 @@ boundaryField
|
||||
type fixedValue;
|
||||
value uniform ( 0 0 0 );
|
||||
}
|
||||
frontBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
@ -39,10 +43,6 @@ boundaryField
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
frontBack_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -31,7 +31,11 @@ boundaryField
|
||||
type epsilonWallFunction;
|
||||
value uniform 1e-08;
|
||||
}
|
||||
frontBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
@ -39,10 +43,6 @@ boundaryField
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
frontBack_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -31,7 +31,11 @@ boundaryField
|
||||
type kqRWallFunction;
|
||||
value uniform 1e-10;
|
||||
}
|
||||
frontBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
@ -39,10 +43,6 @@ boundaryField
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
frontBack_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -29,7 +29,11 @@ boundaryField
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
frontBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
@ -37,10 +41,6 @@ boundaryField
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
frontBack_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -31,7 +31,11 @@ boundaryField
|
||||
type nutkWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
frontBack_half0
|
||||
front
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
back
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
@ -39,10 +43,6 @@ boundaryField
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
frontBack_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user