Commit c1bbed36 authored by Andrew Heather's avatar Andrew Heather Committed by graham
Browse files

general update

parent fa22d2c4
#!/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
#!/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
......@@ -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;
}
......
......@@ -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;
}
......
......@@ -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;
}
......
......@@ -20,14 +20,12 @@ FoamFile
lowerWall
{
type wall;
physicalType wall;
nFaces 1;
startFace 79;
}
upperWall
{
type wall;
physicalType wall;
nFaces 1;
startFace 80;
}
......
......@@ -20,14 +20,12 @@ FoamFile
lowerWall
{
type wall;
physicalType wallFunctions;
nFaces 1;
startFace 79;
}
upperWall
{
type wall;
physicalType wallFunctions;
nFaces 1;
startFace 80;
}
......
......@@ -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;
}
......
......@@ -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
......
......@@ -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;
}
......
......@@ -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
......
......@@ -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;
}
......
......@@ -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;
......
......@@ -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;
}
......
......@@ -3,7 +3,7 @@
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application=`basename $PWD`
application="dnsFoam"
runApplication blockMesh
runApplication boxTurb
......
......@@ -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;
......
......@@ -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;
}
......
......@@ -3,7 +3,7 @@
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application=`basename $PWD`
application="engineFoam"
runKivaToFoam ()
{
......
......@@ -20,14 +20,12 @@ FoamFile
lowValue
{
type patch;
physicalType limitValue;
nFaces 1;
startFace 499;
}
highValue
{
type patch;
physicalType limitGradient;
nFaces 1;
startFace 500;
}
......
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment