general update

This commit is contained in:
andy
2008-06-20 17:25:03 +01:00
committed by graham
parent fa22d2c43c
commit c1bbed3633
62 changed files with 34 additions and 239 deletions

View File

@ -1,9 +1,9 @@
#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application=`basename $PWD`
application="MRFSimpleFoam"
runApplication makeMesh
./makeMesh
runApplication $application

View File

@ -1,8 +1,10 @@
#!/bin/sh
m4 < constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
blockMesh .. mixerVessel2D
cellSet .. mixerVessel2D
blockMesh
cellSet
cp system/faceSetDict_rotorFaces system/faceSetDict
faceSet .. mixerVessel2D
faceSet
cp system/faceSetDict_noBoundaryFaces system/faceSetDict
faceSet .. mixerVessel2D
setsToZones .. mixerVessel2D -noFlipMap
faceSet
setsToZones -noFlipMap

View File

@ -20,35 +20,30 @@ FoamFile
left
{
type symmetryPlane;
physicalType symmetryPlane;
nFaces 35;
startFace 4795;
}
right
{
type symmetryPlane;
physicalType symmetryPlane;
nFaces 35;
startFace 4830;
}
top
{
type symmetryPlane;
physicalType symmetryPlane;
nFaces 70;
startFace 4865;
}
bottom
{
type symmetryPlane;
physicalType symmetryPlane;
nFaces 70;
startFace 4935;
}
frontAndBack
{
type empty;
physicalType empty;
nFaces 4900;
startFace 5005;
}

View File

@ -27,7 +27,6 @@ FoamFile
inlet
{
type patch;
physicalType turbulentInlet;
nFaces 30;
startFace 24170;
}
@ -35,7 +34,6 @@ inlet
outlet
{
type patch;
physicalType inletOutlet;
nFaces 57;
startFace 24200;
}
@ -43,7 +41,6 @@ outlet
upperWall
{
type wall;
physicalType fixedTemperatureWall;
nFaces 223;
startFace 24257;
}
@ -51,7 +48,6 @@ upperWall
lowerWall
{
type wall;
physicalType fixedTemperatureWall;
nFaces 250;
startFace 24480;
}
@ -59,7 +55,6 @@ lowerWall
frontAndBack
{
type empty;
physicalType empty;
nFaces 24450;
startFace 24730;
}

View File

@ -26,7 +26,6 @@ FoamFile
( inlet
{
type patch;
physicalType turbulentInlet;
startFace 715675;
nFaces 600;
}
@ -34,7 +33,6 @@ FoamFile
outlet
{
type patch;
physicalType inletOutlet;
startFace 716275;
nFaces 1140;
}
@ -42,7 +40,6 @@ FoamFile
upperWall
{
type wall;
physicalType fixedTemperatureWall;
startFace 717415;
nFaces 4460;
}
@ -50,7 +47,6 @@ FoamFile
lowerWall
{
type wall;
physicalType fixedTemperatureWall;
startFace 721875;
nFaces 5000;
}
@ -58,7 +54,6 @@ FoamFile
frontAndBack
{
type cyclic;
physicalType cyclic;
startFace 726875;
nFaces 24450;
}

View File

@ -20,14 +20,12 @@ FoamFile
lowerWall
{
type wall;
physicalType wall;
nFaces 1;
startFace 79;
}
upperWall
{
type wall;
physicalType wall;
nFaces 1;
startFace 80;
}

View File

@ -20,14 +20,12 @@ FoamFile
lowerWall
{
type wall;
physicalType wallFunctions;
nFaces 1;
startFace 79;
}
upperWall
{
type wall;
physicalType wallFunctions;
nFaces 1;
startFace 80;
}

View File

@ -20,21 +20,18 @@ FoamFile
inlet
{
type patch;
physicalType inlet;
nFaces 25;
startFace 3650;
}
outlet
{
type patch;
physicalType inletOutlet;
nFaces 25;
startFace 3675;
}
walls
{
type wall;
physicalType wallFunctions;
nFaces 150;
startFace 3700;
}

View File

@ -3,8 +3,7 @@
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
parentDir=`dirname $PWD`
application=`basename $parentDir`
application="buoyantFoam"
compileApplication setHotRoom
runApplication blockMesh

View File

@ -20,21 +20,18 @@ FoamFile
floor
{
type wall;
physicalType fixedTemperatureWallFunctions;
nFaces 400;
startFace 11200;
}
ceiling
{
type wall;
physicalType fixedTemperatureWallFunctions;
nFaces 400;
startFace 11600;
}
fixedWalls
{
type wall;
physicalType adiabaticWallFunctions;
nFaces 800;
startFace 12000;
}

View File

@ -2,8 +2,7 @@
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application=`basename $PWD`
application="buoyantSimpleFoam"
compileApplication ../../buoyantFoam/hotRoom/setHotRoom
runApplication blockMesh

View File

@ -20,21 +20,18 @@ FoamFile
floor
{
type wall;
physicalType fixedTemperatureWallFunctions;
nFaces 400;
startFace 11200;
}
ceiling
{
type wall;
physicalType fixedTemperatureWallFunctions;
nFaces 400;
startFace 11600;
}
fixedWalls
{
type wall;
physicalType adiabaticWallFunctions;
nFaces 800;
startFace 12000;
}

View File

@ -20,21 +20,18 @@ FoamFile
bottomWall
{
type wall;
physicalType wall;
nFaces 1200;
startFace 175300;
}
topWall
{
type wall;
physicalType wall;
nFaces 1200;
startFace 176500;
}
sides1
{
type cyclic;
physicalType cyclic;
nFaces 2000;
startFace 177700;
featureCos 0.9;
@ -42,7 +39,6 @@ FoamFile
sides2
{
type cyclic;
physicalType cyclic;
nFaces 2000;
startFace 179700;
featureCos 0.9;
@ -50,7 +46,6 @@ FoamFile
inout1
{
type cyclic;
physicalType cyclic;
nFaces 1500;
startFace 181700;
featureCos 0.9;
@ -58,7 +53,6 @@ FoamFile
inout2
{
type cyclic;
physicalType cyclic;
nFaces 1500;
startFace 183200;
featureCos 0.9;

View File

@ -20,35 +20,30 @@ FoamFile
inlet
{
type patch;
physicalType turbulentInlet;
nFaces 30;
startFace 24170;
}
outlet
{
type patch;
physicalType pressureTransmissiveOutlet;
nFaces 57;
startFace 24200;
}
upperWall
{
type wall;
physicalType fixedTemperatureWall;
nFaces 223;
startFace 24257;
}
lowerWall
{
type wall;
physicalType fixedTemperatureWall;
nFaces 250;
startFace 24480;
}
frontAndBack
{
type empty;
physicalType empty;
nFaces 24450;
startFace 24730;
}

View File

@ -3,7 +3,7 @@
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application=`basename $PWD`
application="dnsFoam"
runApplication blockMesh
runApplication boxTurb

View File

@ -20,7 +20,6 @@ FoamFile
patch0
{
type cyclic;
physicalType cyclic;
nFaces 512;
startFace 11520;
featureCos 0.9;
@ -28,7 +27,6 @@ FoamFile
patch1
{
type cyclic;
physicalType cyclic;
nFaces 512;
startFace 12032;
featureCos 0.9;
@ -36,7 +34,6 @@ FoamFile
patch2
{
type cyclic;
physicalType cyclic;
nFaces 512;
startFace 12544;
featureCos 0.9;

View File

@ -20,35 +20,30 @@ FoamFile
left
{
type symmetryPlane;
physicalType symmetryPlane;
nFaces 110;
startFace 17980;
}
right
{
type symmetryPlane;
physicalType symmetryPlane;
nFaces 80;
startFace 18090;
}
down
{
type symmetryPlane;
physicalType symmetryPlane;
nFaces 110;
startFace 18170;
}
up
{
type patch;
physicalType insulator;
nFaces 80;
startFace 18280;
}
hole
{
type patch;
physicalType fixedCharge;
nFaces 60;
startFace 18360;
}

View File

@ -3,7 +3,7 @@
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application=`basename $PWD`
application="engineFoam"
runKivaToFoam ()
{

View File

@ -20,14 +20,12 @@ FoamFile
lowValue
{
type patch;
physicalType limitValue;
nFaces 1;
startFace 499;
}
highValue
{
type patch;
physicalType limitGradient;
nFaces 1;
startFace 500;
}

View File

@ -20,21 +20,18 @@ FoamFile
movingWall
{
type wall;
physicalType wall;
nFaces 20;
startFace 760;
}
fixedWalls
{
type wall;
physicalType wall;
nFaces 60;
startFace 780;
}
frontAndBack
{
type empty;
physicalType empty;
nFaces 800;
startFace 840;
}

View File

@ -20,21 +20,18 @@ FoamFile
lid
{
type wall;
physicalType wall;
nFaces 20;
startFace 632;
}
fixedWalls
{
type wall;
physicalType wall;
nFaces 60;
startFace 652;
}
frontAndBack
{
type empty;
physicalType empty;
nFaces 672;
startFace 712;
}

View File

@ -20,21 +20,18 @@ FoamFile
movingWall
{
type wall;
physicalType wall;
nFaces 20;
startFace 760;
}
fixedWalls
{
type wall;
physicalType wall;
nFaces 60;
startFace 780;
}
frontAndBack
{
type empty;
physicalType empty;
nFaces 800;
startFace 840;
}

View File

@ -25,7 +25,11 @@ setDamBreakFine ()
}
# Do damBreak
(cd damBreak && foamRunTutorials)
cd damBreak
runApplication blockMesh
runApplication setFields
runApplication $application
cd ..
# Clone case
cloneCase damBreak damBreakFine

View File

@ -20,28 +20,24 @@ FoamFile
leftWall
{
type wall;
physicalType wall;
nFaces 50;
startFace 4432;
}
rightWall
{
type wall;
physicalType wall;
nFaces 50;
startFace 4482;
}
lowerWall
{
type wall;
physicalType wall;
nFaces 62;
startFace 4532;
}
atmosphere
{
type patch;
physicalType atmosphere;
nFaces 46;
startFace 4594;
}

View File

@ -3,8 +3,7 @@
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application directory
parentDir=`dirname $PWD`
application=`basename $parentDir`
application="laplacianFoam"
runIdeasToFoam ()
{
@ -18,5 +17,5 @@ runIdeasToFoam ()
runIdeasToFoam flange.ans 0.001
runApplication $application
runApplication foamToFieldview
runApplication foamToFieldview9
runApplication foamToEnsight

View File

@ -3,7 +3,7 @@
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application=`basename $PWD`
application="lesInterFoam"
runRefineMesh ()
{

View File

@ -27,7 +27,6 @@ FoamFile
axis
{
type empty;
physicalType empty;
nFaces 0;
startFace 41031;
}
@ -35,7 +34,6 @@ axis
inlet
{
type patch;
physicalType inlet;
nFaces 30;
startFace 41031;
}
@ -43,7 +41,6 @@ inlet
wall
{
type wall;
physicalType wall;
nFaces 70;
startFace 41061;
}
@ -51,7 +48,6 @@ wall
atmosphere
{
type patch;
physicalType atmosphere;
nFaces 175;
startFace 41131;
}
@ -59,7 +55,6 @@ atmosphere
front
{
type wedge;
physicalType wedge;
nFaces 20603;
startFace 41306;
}
@ -67,7 +62,6 @@ front
back
{
type wedge;
physicalType wedge;
nFaces 20603;
startFace 61909;
}

View File

@ -3,7 +3,7 @@
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application=`basename $PWD`
application="mdEquilibrationFoam"
(cd hartmann && runApplication blockMesh)
(cd hartmann && runApplication $application)

View File

@ -20,35 +20,30 @@ FoamFile
inlet
{
type patch;
physicalType inlet;
nFaces 40;
startFace 7860;
}
outlet
{
type patch;
physicalType outlet;
nFaces 40;
startFace 7900;
}
lowerWall
{
type patch;
physicalType wall;
nFaces 100;
startFace 7940;
}
upperWall
{
type patch;
physicalType wall;
nFaces 100;
startFace 8040;
}
frontAndBack
{
type empty;
physicalType empty;
nFaces 8000;
startFace 8140;
}

View File

@ -27,7 +27,6 @@ FoamFile
leftWall
{
type wall;
physicalType wallNoSurfaceTension;
nFaces 50;
startFace 4432;
}
@ -35,7 +34,6 @@ leftWall
rightWall
{
type wall;
physicalType wallNoSurfaceTension;
nFaces 50;
startFace 4482;
}
@ -43,7 +41,6 @@ rightWall
lowerWall
{
type wall;
physicalType wallNoSurfaceTension;
nFaces 62;
startFace 4532;
}
@ -51,7 +48,6 @@ lowerWall
atmosphere
{
type patch;
physicalType atmosphere;
nFaces 46;
startFace 4594;
}

View File

@ -27,7 +27,6 @@ FoamFile
leftWall
{
type wall;
physicalType wallNoSurfaceTension;
nFaces 195;
startFace 68014;
}
@ -35,7 +34,6 @@ leftWall
rightWall
{
type wall;
physicalType wallNoSurfaceTension;
nFaces 195;
startFace 68209;
}
@ -43,7 +41,6 @@ rightWall
lowerWall
{
type wall;
physicalType wallNoSurfaceTension;
nFaces 206;
startFace 68404;
}
@ -51,7 +48,6 @@ lowerWall
atmosphere
{
type patch;
physicalType atmosphere;
nFaces 176;
startFace 68610;
}

View File

@ -27,7 +27,6 @@ FoamFile
left
{
type patch;
physicalType inlet;
nFaces 35;
startFace 3485;
}
@ -35,7 +34,6 @@ left
right
{
type patch;
physicalType outlet;
nFaces 35;
startFace 3520;
}
@ -43,7 +41,6 @@ right
down
{
type wall;
physicalType wall;
nFaces 40;
startFace 3555;
}
@ -51,7 +48,6 @@ down
up
{
type wall;
physicalType wall;
nFaces 40;
startFace 3595;
}
@ -59,7 +55,6 @@ up
cylinder
{
type wall;
physicalType wall;
nFaces 80;
startFace 3635;
}

View File

@ -27,7 +27,6 @@ FoamFile
inlet
{
type patch;
physicalType turbulentInlet;
nFaces 30;
startFace 24170;
}
@ -35,7 +34,6 @@ inlet
outlet
{
type patch;
physicalType inletOutlet;
nFaces 57;
startFace 24200;
}
@ -43,7 +41,6 @@ outlet
upperWall
{
type wall;
physicalType wall;
nFaces 223;
startFace 24257;
}
@ -51,7 +48,6 @@ upperWall
lowerWall
{
type wall;
physicalType wall;
nFaces 250;
startFace 24480;
}
@ -59,7 +55,6 @@ lowerWall
frontAndBack
{
type empty;
physicalType empty;
nFaces 24450;
startFace 24730;
}

View File

@ -3,7 +3,7 @@
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application=`basename $PWD`
application="oodles"
runApplication blockMesh
runApplication changeDictionary

View File

@ -2,8 +2,7 @@
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application=`basename $PWD`
application="potentialFoam"
runApplication blockMesh
runApplication $application

View File

@ -20,35 +20,30 @@ FoamFile
down
{
type symmetryPlane;
physicalType symmetryPlane;
nFaces 60;
startFace 3890;
}
right
{
type patch;
physicalType outlet;
nFaces 30;
startFace 3950;
}
up
{
type symmetryPlane;
physicalType symmetryPlane;
nFaces 60;
startFace 3980;
}
left
{
type patch;
physicalType inlet;
nFaces 30;
startFace 4040;
}
cylinder
{
type symmetryPlane;
physicalType symmetryPlane;
nFaces 40;
startFace 4070;
}

View File

@ -2,8 +2,7 @@
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application=`basename $PWD`
application="potentialFoam"
runApplication blockMesh
runApplication $application

View File

@ -27,7 +27,6 @@ FoamFile
inlet
{
type patch;
physicalType inlet;
nFaces 30;
startFace 24170;
}
@ -35,7 +34,6 @@ inlet
outlet
{
type patch;
physicalType outlet;
nFaces 57;
startFace 24200;
}
@ -43,7 +41,6 @@ outlet
upperWall
{
type wall;
physicalType wall;
nFaces 223;
startFace 24257;
}
@ -51,7 +48,6 @@ upperWall
lowerWall
{
type wall;
physicalType wall;
nFaces 250;
startFace 24480;
}
@ -59,7 +55,6 @@ lowerWall
frontAndBack
{
type empty;
physicalType empty;
nFaces 24450;
startFace 24730;
}

View File

@ -2,8 +2,7 @@
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application=`basename $PWD`
application="rasInterFoam"
setDamBreakFine ()
{

View File

@ -3,7 +3,7 @@
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application=`basename $PWD`
application="interFoam"
runApplication blockMesh
runApplication setFields

View File

@ -27,7 +27,6 @@ FoamFile
leftWall
{
type wall;
physicalType wallFunctions;
nFaces 50;
startFace 4432;
}
@ -35,7 +34,6 @@ leftWall
rightWall
{
type wall;
physicalType wallFunctions;
nFaces 50;
startFace 4482;
}
@ -43,7 +41,6 @@ rightWall
lowerWall
{
type wall;
physicalType wallFunctions;
nFaces 62;
startFace 4532;
}
@ -51,7 +48,6 @@ lowerWall
atmosphere
{
type patch;
physicalType atmosphere;
nFaces 46;
startFace 4594;
}

View File

@ -27,7 +27,6 @@ FoamFile
inlet
{
type patch;
physicalType supersonicInlet;
nFaces 50;
startFace 10325;
}
@ -35,7 +34,6 @@ inlet
outlet
{
type patch;
physicalType extrapolatedOutlet;
nFaces 40;
startFace 10375;
}
@ -43,7 +41,6 @@ outlet
bottom
{
type symmetryPlane;
physicalType symmetryPlane;
nFaces 25;
startFace 10415;
}
@ -51,7 +48,6 @@ bottom
top
{
type symmetryPlane;
physicalType symmetryPlane;
nFaces 125;
startFace 10440;
}
@ -59,7 +55,6 @@ top
obstacle
{
type patch;
physicalType adiabaticWall;
nFaces 110;
startFace 10565;
}

View File

@ -27,7 +27,6 @@ FoamFile
sides
{
type patch;
physicalType extrapolatedOutlet;
nFaces 2;
startFace 999;
}
@ -35,7 +34,6 @@ sides
empty
{
type empty;
physicalType empty;
nFaces 4000;
startFace 1001;
}

View File

@ -27,7 +27,6 @@ FoamFile
movingWall
{
type wall;
physicalType adiabaticWallFunctions;
nFaces 20;
startFace 760;
}
@ -35,7 +34,6 @@ movingWall
fixedWalls
{
type wall;
physicalType adiabaticWallFunctions;
nFaces 60;
startFace 780;
}
@ -43,7 +41,6 @@ fixedWalls
frontAndBack
{
type empty;
physicalType empty;
nFaces 800;
startFace 840;
}

View File

@ -2,8 +2,7 @@
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application=`basename $PWD`
application="rhopSonicFoam"
runApplication blockMesh
runApplication setFields

View File

@ -27,7 +27,6 @@ FoamFile
sides
{
type patch;
physicalType outletAdiabatic;
nFaces 2;
startFace 99;
}
@ -35,7 +34,6 @@ sides
empty
{
type empty;
physicalType empty;
nFaces 400;
startFace 101;
}

View File

@ -27,7 +27,6 @@ FoamFile
inlet
{
type patch;
physicalType inlet;
nFaces 30;
startFace 24170;
}
@ -35,7 +34,6 @@ inlet
outlet
{
type patch;
physicalType outlet;
nFaces 57;
startFace 24200;
}
@ -43,7 +41,6 @@ outlet
upperWall
{
type wall;
physicalType wall;
nFaces 223;
startFace 24257;
}
@ -51,7 +48,6 @@ upperWall
lowerWall
{
type wall;
physicalType wall;
nFaces 250;
startFace 24480;
}
@ -59,7 +55,6 @@ lowerWall
frontAndBack
{
type empty;
physicalType empty;
nFaces 24450;
startFace 24730;
}

View File

@ -27,7 +27,6 @@ FoamFile
inlet
{
type patch;
physicalType inlet;
nFaces 40;
startFace 15760;
}
@ -35,7 +34,6 @@ inlet
outlet
{
type patch;
physicalType outlet;
nFaces 4;
startFace 15800;
}
@ -43,7 +41,6 @@ outlet
bottomWall
{
type patch;
physicalType wallFunctions;
nFaces 200;
startFace 15804;
}
@ -51,7 +48,6 @@ bottomWall
endWall
{
type wall;
physicalType wallFunctions;
nFaces 36;
startFace 16004;
}
@ -59,7 +55,6 @@ endWall
top
{
type symmetryPlane;
physicalType symmetryPlane;
nFaces 200;
startFace 16040;
}
@ -67,7 +62,6 @@ top
frontAndBack
{
type empty;
physicalType empty;
nFaces 16000;
startFace 16240;
}

View File

@ -1,6 +1,5 @@
#!/bin/sh
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# Clean time folders only
cleanTimeDirectories
rm -rf *[1-9]*

View File

@ -2,7 +2,7 @@
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application=`basename $PWD`
application="settlingFoam"
#runApplication blockMesh
runApplication $application

View File

@ -1,17 +0,0 @@
#!/bin/sh
# Get application name from directory
parentDir=`dirname $PWD`
application=`basename $parentDir`
# Find and source additional functions
tutorialsDir='.'
while [ ! -f $tutorialsDir/RunFunctions ]
do
tutorialsDir="../$tutorialsDir"
done
. $tutorialsDir/RunFunctions
runApplication $application

View File

@ -26,7 +26,6 @@ FoamFile
SYMP3
{
type symmetryPlane;
physicalType symmetryPlane;
startFace 53708;
nFaces 3191;
}
@ -34,7 +33,6 @@ FoamFile
INLE1
{
type patch;
physicalType inlet;
startFace 56899;
nFaces 45;
}
@ -42,7 +40,6 @@ FoamFile
OUTL9
{
type patch;
physicalType fixedVelocityOutlet;
startFace 56944;
nFaces 11;
}
@ -50,7 +47,6 @@ FoamFile
OUTL10
{
type patch;
physicalType fixedVelocityOutlet;
startFace 56955;
nFaces 11;
}
@ -58,7 +54,6 @@ FoamFile
OUTL11
{
type patch;
physicalType fixedVelocityOutlet;
startFace 56966;
nFaces 11;
}
@ -66,7 +61,6 @@ FoamFile
OUTL12
{
type patch;
physicalType fixedVelocityOutlet;
startFace 56977;
nFaces 11;
}
@ -74,7 +68,6 @@ FoamFile
WALL6
{
type wall;
physicalType wallFunctions;
startFace 56988;
nFaces 1474;
}
@ -82,7 +75,6 @@ FoamFile
WALL8
{
type wall;
physicalType wallFunctions;
startFace 58462;
nFaces 1640;
}
@ -90,7 +82,6 @@ FoamFile
WALL61
{
type wall;
physicalType wallFunctions;
startFace 60102;
nFaces 44;
}
@ -98,7 +89,6 @@ FoamFile
WALL62
{
type wall;
physicalType wallFunctions;
startFace 60146;
nFaces 78;
}
@ -106,7 +96,6 @@ FoamFile
WALL63
{
type wall;
physicalType wallFunctions;
startFace 60224;
nFaces 255;
}
@ -114,7 +103,6 @@ FoamFile
WALL64
{
type wall;
physicalType wallFunctions;
startFace 60479;
nFaces 157;
}
@ -122,7 +110,6 @@ FoamFile
WALL65
{
type wall;
physicalType wallFunctions;
startFace 60636;
nFaces 35;
}
@ -130,7 +117,6 @@ FoamFile
WALL66
{
type wall;
physicalType wallFunctions;
startFace 60671;
nFaces 60;
}
@ -138,7 +124,6 @@ FoamFile
WALL67
{
type wall;
physicalType wallFunctions;
startFace 60731;
nFaces 55;
}
@ -146,7 +131,6 @@ FoamFile
WALL68
{
type wall;
physicalType wallFunctions;
startFace 60786;
nFaces 116;
}
@ -154,7 +138,6 @@ FoamFile
WALL69
{
type wall;
physicalType wallFunctions;
startFace 60902;
nFaces 24;
}
@ -162,7 +145,6 @@ FoamFile
WALL7
{
type wall;
physicalType wallFunctions;
startFace 60926;
nFaces 121;
}
@ -170,7 +152,6 @@ FoamFile
WALL70
{
type wall;
physicalType wallFunctions;
startFace 61047;
nFaces 182;
}
@ -178,7 +159,6 @@ FoamFile
OUTL15
{
type patch;
physicalType outlet;
startFace 61229;
nFaces 14;
}

View File

@ -27,7 +27,6 @@ FoamFile
inlet
{
type patch;
physicalType inlet;
nFaces 30;
startFace 24170;
}
@ -35,7 +34,6 @@ inlet
outlet
{
type patch;
physicalType outlet;
nFaces 57;
startFace 24200;
}
@ -43,7 +41,6 @@ outlet
upperWall
{
type wall;
physicalType wallFunctions;
nFaces 223;
startFace 24257;
}
@ -51,7 +48,6 @@ upperWall
lowerWall
{
type wall;
physicalType wallFunctions;
nFaces 250;
startFace 24480;
}
@ -59,7 +55,6 @@ lowerWall
frontAndBack
{
type empty;
physicalType empty;
nFaces 24450;
startFace 24730;
}

View File

@ -20,7 +20,6 @@ FoamFile
left
{
type symmetryPlane;
physicalType symmetryPlane;
nFaces 30;
startFace 1930;
}
@ -28,7 +27,6 @@ left
right
{
type patch;
physicalType tractionAdiabatic;
nFaces 30;
startFace 1960;
}
@ -36,7 +34,6 @@ right
down
{
type symmetryPlane;
physicalType symmetryPlane;
nFaces 30;
startFace 1990;
}
@ -44,7 +41,6 @@ down
up
{
type patch;
physicalType tractionAdiabatic;
nFaces 30;
startFace 2020;
}
@ -52,7 +48,6 @@ up
hole
{
type patch;
physicalType tractionAdiabatic;
nFaces 20;
startFace 2050;
}
@ -60,7 +55,6 @@ hole
frontAndBack
{
type empty;
physicalType empty;
nFaces 2000;
startFace 2070;
}

View File

@ -27,7 +27,6 @@ FoamFile
inlet
{
type patch;
physicalType supersonicInlet;
nFaces 50;
startFace 10325;
}
@ -35,7 +34,6 @@ inlet
outlet
{
type patch;
physicalType pressureTransmissiveOutlet;
nFaces 40;
startFace 10375;
}
@ -43,7 +41,6 @@ outlet
bottom
{
type symmetryPlane;
physicalType symmetryPlane;
nFaces 25;
startFace 10415;
}
@ -51,7 +48,6 @@ bottom
top
{
type symmetryPlane;
physicalType symmetryPlane;
nFaces 125;
startFace 10440;
}
@ -59,7 +55,6 @@ top
obstacle
{
type patch;
physicalType adiabaticWall;
nFaces 110;
startFace 10565;
}

View File

@ -2,8 +2,7 @@
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application=`basename $PWD`
application="sonicFoam"
runApplication blockMesh
runApplication setFields

View File

@ -27,7 +27,6 @@ FoamFile
sides
{
type patch;
physicalType extrapolatedOutlet;
nFaces 2;
startFace 999;
}
@ -35,7 +34,6 @@ sides
empty
{
type empty;
physicalType empty;
nFaces 4000;
startFace 1001;
}

View File

@ -20,35 +20,30 @@ FoamFile
outerWall
{
type wall;
physicalType wall;
nFaces 225;
startFace 7275;
}
axis
{
type symmetryPlane;
physicalType symmetryPlane;
nFaces 120;
startFace 7500;
}
nozzle
{
type patch;
physicalType pressureOutlet;
nFaces 5;
startFace 7620;
}
back
{
type empty;
physicalType empty;
nFaces 3725;
startFace 7625;
}
front
{
type empty;
physicalType empty;
nFaces 3725;
startFace 11350;
}

View File

@ -20,35 +20,30 @@ FoamFile
inlet
{
type patch;
physicalType supersonicInlet;
nFaces 48;
startFace 13081;
}
outlet
{
type patch;
physicalType pressureTransmissiveOutlet;
nFaces 68;
startFace 13129;
}
bottomWall
{
type patch;
physicalType supersonicFreestream;
nFaces 107;
startFace 13197;
}
topWall
{
type patch;
physicalType supersonicFreestream;
nFaces 107;
startFace 13304;
}
prismWall
{
type wall;
physicalType adiabaticWallFunctions;
nFaces 52;
startFace 13411;
}

View File

@ -20,21 +20,18 @@ FoamFile
movingWall
{
type wall;
physicalType wallFunctions;
nFaces 20;
startFace 760;
}
fixedWalls
{
type wall;
physicalType wallFunctions;
nFaces 60;
startFace 780;
}
frontAndBack
{
type empty;
physicalType empty;
nFaces 800;
startFace 840;
}

View File

@ -20,21 +20,18 @@ FoamFile
top
{
type patch;
physicalType inletOutlet;
nFaces 25;
startFace 6100;
}
bottom
{
type patch;
physicalType inlet;
nFaces 25;
startFace 6125;
}
walls
{
type wall;
physicalType wallFunctions;
nFaces 250;
startFace 6150;
}

View File

@ -27,7 +27,6 @@ FoamFile
inlet
{
type patch;
physicalType inlet;
nFaces 25;
startFace 3650;
}
@ -35,7 +34,6 @@ inlet
outlet
{
type patch;
physicalType inletOutlet;
nFaces 25;
startFace 3675;
}
@ -43,7 +41,6 @@ outlet
walls
{
type wall;
physicalType wallFunctions;
nFaces 150;
startFace 3700;
}