zone faces derived from cell zone

This commit is contained in:
mattijs
2009-02-27 12:53:55 +00:00
parent 114fc6a9bd
commit a15e5f7f05
4 changed files with 14 additions and 18 deletions

View File

@ -72,13 +72,6 @@ Foam::MRFZone::MRFZone(const fvMesh& mesh, Istream& is)
if (!faceZoneFound) if (!faceZoneFound)
{ {
WarningIn
(
"Foam::MRFZone::MRFZone(const fvMesh& , const dictionary&)"
) << "cannot find MRF faceZone " << name_
<< " ; taking faces on outside of cellZone."
<< endl;
// Determine faces in cell zone // Determine faces in cell zone
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// (does not construct cells) // (does not construct cells)
@ -129,9 +122,9 @@ Foam::MRFZone::MRFZone(const fvMesh& mesh, Istream& is)
} }
Info<< nl Info<< nl
<< "MRFZone " << name_ << " : found " << "MRFZone " << name_ << " : did not find a faceZone; using "
<< returnReduce(outsideFaces_.size(), sumOp<label>()) << returnReduce(outsideFaces_.size(), sumOp<label>())
<< " faces inside cellZone." << endl; << " faces internal to cellZone instead." << endl;
// Flag use of outsideFaces // Flag use of outsideFaces

View File

@ -32,8 +32,8 @@ Description
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "fvCFD.H" #include "fvCFD.H"
#include "incompressible/singlePhaseTransportModel/singlePhaseTransportModel.H" #include "singlePhaseTransportModel.H"
#include "incompressible/RASModel/RASModel.H" #include "RASModel.H"
#include "MRFZones.H" #include "MRFZones.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -1,7 +1,9 @@
EXE_INC = \ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/turbulenceModels \
-I$(LIB_SRC)/turbulenceModels/RAS \ -I$(LIB_SRC)/turbulenceModels/incompressible/RAS/RASModel \
-I$(LIB_SRC)/transportModels -I$(LIB_SRC)/transportModels \
-I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel \
-I$(LIB_SRC)/finiteVolume/lnInclude
EXE_LIBS = \ EXE_LIBS = \
-lincompressibleRASModels \ -lincompressibleRASModels \

View File

@ -3,8 +3,9 @@
m4 < constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict m4 < constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
blockMesh blockMesh
cellSet cellSet
cp system/faceSetDict_rotorFaces system/faceSetDict #- MRF determines its own faceZone if not supplied
faceSet #cp system/faceSetDict_rotorFaces system/faceSetDict
cp system/faceSetDict_noBoundaryFaces system/faceSetDict #faceSet
faceSet #cp system/faceSetDict_noBoundaryFaces system/faceSetDict
#faceSet
setsToZones -noFlipMap setsToZones -noFlipMap