From a15e5f7f054fb9e82714b99a809f277509330b95 Mon Sep 17 00:00:00 2001 From: mattijs <mattijs@hunt.opencfd.co.uk> Date: Fri, 27 Feb 2009 12:53:55 +0000 Subject: [PATCH] zone faces derived from cell zone --- src/finiteVolume/cfdTools/general/MRF/MRFZone.C | 11 ++--------- .../MRFSimpleFoam/MRFSimpleFoam/MRFSimpleFoam.C | 4 ++-- .../MRFSimpleFoam/MRFSimpleFoam/Make/options | 8 +++++--- .../MRFSimpleFoam/mixerVessel2D/makeMesh | 9 +++++---- 4 files changed, 14 insertions(+), 18 deletions(-) diff --git a/src/finiteVolume/cfdTools/general/MRF/MRFZone.C b/src/finiteVolume/cfdTools/general/MRF/MRFZone.C index 42cd06c6d56..ab9709e9938 100644 --- a/src/finiteVolume/cfdTools/general/MRF/MRFZone.C +++ b/src/finiteVolume/cfdTools/general/MRF/MRFZone.C @@ -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 diff --git a/tutorials/incompressible/MRFSimpleFoam/MRFSimpleFoam/MRFSimpleFoam.C b/tutorials/incompressible/MRFSimpleFoam/MRFSimpleFoam/MRFSimpleFoam.C index 9fc36826fe6..b3d7312a064 100644 --- a/tutorials/incompressible/MRFSimpleFoam/MRFSimpleFoam/MRFSimpleFoam.C +++ b/tutorials/incompressible/MRFSimpleFoam/MRFSimpleFoam/MRFSimpleFoam.C @@ -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" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/incompressible/MRFSimpleFoam/MRFSimpleFoam/Make/options b/tutorials/incompressible/MRFSimpleFoam/MRFSimpleFoam/Make/options index 2a417f95493..1223bdd06f4 100644 --- a/tutorials/incompressible/MRFSimpleFoam/MRFSimpleFoam/Make/options +++ b/tutorials/incompressible/MRFSimpleFoam/MRFSimpleFoam/Make/options @@ -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 \ diff --git a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/makeMesh b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/makeMesh index f45c6ff0be3..b0be10d8e5f 100755 --- a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/makeMesh +++ b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/makeMesh @@ -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 -- GitLab