mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
zone faces derived from cell zone
This commit is contained in:
@ -72,13 +72,6 @@ Foam::MRFZone::MRFZone(const fvMesh& mesh, Istream& is)
|
||||
|
||||
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
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
// (does not construct cells)
|
||||
@ -129,9 +122,9 @@ Foam::MRFZone::MRFZone(const fvMesh& mesh, Istream& is)
|
||||
}
|
||||
|
||||
Info<< nl
|
||||
<< "MRFZone " << name_ << " : found "
|
||||
<< "MRFZone " << name_ << " : did not find a faceZone; using "
|
||||
<< returnReduce(outsideFaces_.size(), sumOp<label>())
|
||||
<< " faces inside cellZone." << endl;
|
||||
<< " faces internal to cellZone instead." << endl;
|
||||
|
||||
|
||||
// Flag use of outsideFaces
|
||||
|
||||
@ -32,8 +32,8 @@ Description
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "fvCFD.H"
|
||||
#include "incompressible/singlePhaseTransportModel/singlePhaseTransportModel.H"
|
||||
#include "incompressible/RASModel/RASModel.H"
|
||||
#include "singlePhaseTransportModel.H"
|
||||
#include "RASModel.H"
|
||||
#include "MRFZones.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -1,7 +1,9 @@
|
||||
EXE_INC = \
|
||||
-I$(LIB_SRC)/finiteVolume/lnInclude \
|
||||
-I$(LIB_SRC)/turbulenceModels/RAS \
|
||||
-I$(LIB_SRC)/transportModels
|
||||
-I$(LIB_SRC)/turbulenceModels \
|
||||
-I$(LIB_SRC)/turbulenceModels/incompressible/RAS/RASModel \
|
||||
-I$(LIB_SRC)/transportModels \
|
||||
-I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel \
|
||||
-I$(LIB_SRC)/finiteVolume/lnInclude
|
||||
|
||||
EXE_LIBS = \
|
||||
-lincompressibleRASModels \
|
||||
|
||||
@ -3,8 +3,9 @@
|
||||
m4 < constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
|
||||
blockMesh
|
||||
cellSet
|
||||
cp system/faceSetDict_rotorFaces system/faceSetDict
|
||||
faceSet
|
||||
cp system/faceSetDict_noBoundaryFaces system/faceSetDict
|
||||
faceSet
|
||||
#- MRF determines its own faceZone if not supplied
|
||||
#cp system/faceSetDict_rotorFaces system/faceSetDict
|
||||
#faceSet
|
||||
#cp system/faceSetDict_noBoundaryFaces system/faceSetDict
|
||||
#faceSet
|
||||
setsToZones -noFlipMap
|
||||
|
||||
Reference in New Issue
Block a user