Skip to content
Snippets Groups Projects
Commit ad245686 authored by Chris Greenshields's avatar Chris Greenshields
Browse files

Redundant boundary.org files removed from tutorial cases

parent 8726cf20
Branches
Tags
No related merge requests found
...@@ -6,5 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory ...@@ -6,5 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory
cleanCase cleanCase
rm -rf EnSight Ensight Fieldview > /dev/null 2>&1 rm -rf EnSight Ensight Fieldview > /dev/null 2>&1
rm -f constant/polyMesh/boundary > /dev/null 2>&1
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
4
(
patch1
{
type patch;
nFaces 2440;
startFace 15316;
}
patch2
{
type patch;
nFaces 348;
startFace 17756;
}
patch3
{
type patch;
nFaces 96;
startFace 18104;
}
patch4
{
type patch;
nFaces 384;
startFace 18200;
}
)
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
4
(
patch1
{
type patch;
physicalType adiabatic;
startFace 15316;
nFaces 2440;
}
patch2
{
type patch;
physicalType fixedTemp;
startFace 17756;
nFaces 348;
}
patch3
{
type patch;
physicalType adiabatic;
startFace 18104;
nFaces 96;
}
patch4
{
type patch;
physicalType fixedTemp;
startFace 18200;
nFaces 384;
}
)
// ************************************************************************* //
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase
rm -f constant/polyMesh/boundary > /dev/null 2>&1
# ----------------------------------------------------------------- end-of-file
...@@ -9,10 +9,7 @@ application=`getApplication` ...@@ -9,10 +9,7 @@ application=`getApplication`
runApplication star3ToFoam prostar/nacaAirfoil runApplication star3ToFoam prostar/nacaAirfoil
mv constant/polyMesh/boundary temp sed -i 's/symmetry\([)]*;\)/empty\1/' constant/polyMesh/boundary
sed -e s/"\([\t ]*type[\t ]*\)symmetryPlane"/"\1empty"/g \
temp > constant/polyMesh/boundary
rm temp
runApplication $application runApplication $application
......
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
4
(
INLE1
{
type patch;
nFaces 400;
startFace 79570;
}
OUTL2
{
type patch;
nFaces 200;
startFace 79970;
}
SYMP3
{
type empty;
inGroups 1(empty);
nFaces 80000;
startFace 80170;
}
WALL10
{
type wall;
inGroups 1(wall);
nFaces 260;
startFace 160170;
}
)
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
(
INLE1
{
type patch;
physicalType supersonicFreestream;
startFace 79570;
nFaces 400;
}
OUTL2
{
type patch;
physicalType pressureTransmissiveOutlet;
startFace 79970;
nFaces 200;
}
SYMP3
{
type empty;
physicalType empty;
startFace 80170;
nFaces 80000;
}
WALL10
{
type wall;
physicalType adiabaticWallFunctions;
startFace 160170;
nFaces 260;
}
)
// ************************************************************************* //
...@@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory ...@@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions # Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions . $WM_PROJECT_DIR/bin/tools/CleanFunctions
rm -f constant/polyMesh/boundary rm -f constant/polyMesh/boundary > /dev/null 2>&1
rm -rf fluentInterface rm -rf fluentInterface
cleanCase cleanCase
......
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
( wall-4
{
type wall;
physicalType wall;
startFace 1300;
nFaces 100;
}
velocity-inlet-5
{
type patch;
physicalType inlet;
startFace 1400;
nFaces 8;
}
velocity-inlet-6
{
type patch;
physicalType inlet;
startFace 1408;
nFaces 4;
}
pressure-outlet-7
{
type patch;
physicalType outlet;
startFace 1412;
nFaces 8;
}
wall-8
{
type wall;
physicalType wall;
startFace 1420;
nFaces 34;
}
frontAndBackPlanes
{
type empty;
physicalType empty;
startFace 1454;
nFaces 1836;
}
)
// ************************************************************************* //
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment