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)
|
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
|
||||||
|
|||||||
@ -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"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -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 \
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user