Skip to content
Snippets Groups Projects
Commit a15e5f7f authored by mattijs's avatar mattijs
Browse files

zone faces derived from cell zone

parent 114fc6a9
No related branches found
No related tags found
No related merge requests found
...@@ -72,13 +72,6 @@ Foam::MRFZone::MRFZone(const fvMesh& mesh, Istream& is) ...@@ -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) ...@@ -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
......
...@@ -32,8 +32,8 @@ Description ...@@ -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"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
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 \
......
...@@ -3,8 +3,9 @@ ...@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment