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 #!/bin/sh
# Source tutorial run functions # Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions . $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory application="MRFSimpleFoam"
application=`basename $PWD`
runApplication makeMesh ./makeMesh
runApplication $application runApplication $application

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -2,7 +2,7 @@
# Source tutorial run functions # Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions . $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory application="settlingFoam"
application=`basename $PWD`
#runApplication blockMesh
runApplication $application 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 SYMP3
{ {
type symmetryPlane; type symmetryPlane;
physicalType symmetryPlane;
startFace 53708; startFace 53708;
nFaces 3191; nFaces 3191;
} }
@ -34,7 +33,6 @@ FoamFile
INLE1 INLE1
{ {
type patch; type patch;
physicalType inlet;
startFace 56899; startFace 56899;
nFaces 45; nFaces 45;
} }
@ -42,7 +40,6 @@ FoamFile
OUTL9 OUTL9
{ {
type patch; type patch;
physicalType fixedVelocityOutlet;
startFace 56944; startFace 56944;
nFaces 11; nFaces 11;
} }
@ -50,7 +47,6 @@ FoamFile
OUTL10 OUTL10
{ {
type patch; type patch;
physicalType fixedVelocityOutlet;
startFace 56955; startFace 56955;
nFaces 11; nFaces 11;
} }
@ -58,7 +54,6 @@ FoamFile
OUTL11 OUTL11
{ {
type patch; type patch;
physicalType fixedVelocityOutlet;
startFace 56966; startFace 56966;
nFaces 11; nFaces 11;
} }
@ -66,7 +61,6 @@ FoamFile
OUTL12 OUTL12
{ {
type patch; type patch;
physicalType fixedVelocityOutlet;
startFace 56977; startFace 56977;
nFaces 11; nFaces 11;
} }
@ -74,7 +68,6 @@ FoamFile
WALL6 WALL6
{ {
type wall; type wall;
physicalType wallFunctions;
startFace 56988; startFace 56988;
nFaces 1474; nFaces 1474;
} }
@ -82,7 +75,6 @@ FoamFile
WALL8 WALL8
{ {
type wall; type wall;
physicalType wallFunctions;
startFace 58462; startFace 58462;
nFaces 1640; nFaces 1640;
} }
@ -90,7 +82,6 @@ FoamFile
WALL61 WALL61
{ {
type wall; type wall;
physicalType wallFunctions;
startFace 60102; startFace 60102;
nFaces 44; nFaces 44;
} }
@ -98,7 +89,6 @@ FoamFile
WALL62 WALL62
{ {
type wall; type wall;
physicalType wallFunctions;
startFace 60146; startFace 60146;
nFaces 78; nFaces 78;
} }
@ -106,7 +96,6 @@ FoamFile
WALL63 WALL63
{ {
type wall; type wall;
physicalType wallFunctions;
startFace 60224; startFace 60224;
nFaces 255; nFaces 255;
} }
@ -114,7 +103,6 @@ FoamFile
WALL64 WALL64
{ {
type wall; type wall;
physicalType wallFunctions;
startFace 60479; startFace 60479;
nFaces 157; nFaces 157;
} }
@ -122,7 +110,6 @@ FoamFile
WALL65 WALL65
{ {
type wall; type wall;
physicalType wallFunctions;
startFace 60636; startFace 60636;
nFaces 35; nFaces 35;
} }
@ -130,7 +117,6 @@ FoamFile
WALL66 WALL66
{ {
type wall; type wall;
physicalType wallFunctions;
startFace 60671; startFace 60671;
nFaces 60; nFaces 60;
} }
@ -138,7 +124,6 @@ FoamFile
WALL67 WALL67
{ {
type wall; type wall;
physicalType wallFunctions;
startFace 60731; startFace 60731;
nFaces 55; nFaces 55;
} }
@ -146,7 +131,6 @@ FoamFile
WALL68 WALL68
{ {
type wall; type wall;
physicalType wallFunctions;
startFace 60786; startFace 60786;
nFaces 116; nFaces 116;
} }
@ -154,7 +138,6 @@ FoamFile
WALL69 WALL69
{ {
type wall; type wall;
physicalType wallFunctions;
startFace 60902; startFace 60902;
nFaces 24; nFaces 24;
} }
@ -162,7 +145,6 @@ FoamFile
WALL7 WALL7
{ {
type wall; type wall;
physicalType wallFunctions;
startFace 60926; startFace 60926;
nFaces 121; nFaces 121;
} }
@ -170,7 +152,6 @@ FoamFile
WALL70 WALL70
{ {
type wall; type wall;
physicalType wallFunctions;
startFace 61047; startFace 61047;
nFaces 182; nFaces 182;
} }
@ -178,7 +159,6 @@ FoamFile
OUTL15 OUTL15
{ {
type patch; type patch;
physicalType outlet;
startFace 61229; startFace 61229;
nFaces 14; nFaces 14;
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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