Fix Tutorials: Tutorial icoDyMFoam/turboPassageRotating now works fine.

the Allrun script in interFoam/MRFInterFoam/mixerVessel2D now uses runApplication
also for calling the local "makeMesh" script.
This commit is contained in:
Philippose Rajan 2010-11-03 21:08:54 +01:00
parent 65e41ad3d4
commit aa607bdb33
3 changed files with 80 additions and 2 deletions

View file

@ -5,7 +5,7 @@
application="icoDyMFoam"
runApplication blockMesh
cp constant/polyMesh/boundary.orig constant/polyMesh/boundary
cp constant/polyMesh/boundary.org constant/polyMesh/boundary
runApplication regionCellSets
runApplication setsToZones -noFlipMap
runApplication $application

View file

@ -0,0 +1,78 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5-dev |
| \\ / A nd | Revision: exported |
| \\/ M anipulation | Web: http://www.OpenFOAM.org |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
8
(
inlet
{
type patch;
nFaces 200;
startFace 28100;
}
outlet
{
type patch;
nFaces 200;
startFace 28300;
}
fixedWalls
{
type wall;
nFaces 1400;
startFace 28500;
}
movingwalls
{
type patch;
nFaces 1400;
startFace 29900;
}
rotor_cyclics
{
type cyclic;
nFaces 100;
startFace 31300;
featureCos 0.9;
}
stator_cyclics
{
type cyclic;
nFaces 100;
startFace 31400;
featureCos 0.9;
}
interface1
{
type overlapGgi;
nFaces 200;
startFace 31500;
rotationAxis (0 0 1);
nCopies 12;
shadowPatch interface2;
}
interface2
{
type overlapGgi;
nFaces 200;
startFace 31700;
rotationAxis (0 0 1);
nCopies 12;
shadowPatch interface1;
}
)
// ************************************************************************* //

View file

@ -10,5 +10,5 @@ wmake ../$application
wclean ../$application
# Now run the tutorial case
./makeMesh
runApplication ./makeMesh
runApplication $application