Go to the documentation of this file.
101 dict_.lookupOrDefault<
word>(
"regionName",
"none");
111 if (extrudeMeshPtr_.empty())
118 baffle_->rename(baffleName);
147 mixedFvPatchScalarField::autoMap(m);
157 mixedFvPatchScalarField::rmap(ptf, addr);
190 refCast<const mappedPatchBase>(patch().patch());
195 inGroups[0] = coupleGroup;
201 const label sepPos = coupleGroup.find(
'_');
203 const word coupleGroupSlave = coupleGroup(0, sepPos) +
"_slave";
205 inGroups[0] = coupleGroupSlave;
206 dicts[
topPatchID].add(
"coupleGroup", coupleGroupSlave);
211 forAll (regionPatches, patchI)
214 patchDict.
set(
"nFaces", 0);
215 patchDict.
set(
"startFace", 0);
242 <<
"Specified IOobject::MUST_READ_IF_MODIFIED but class"
243 <<
" patchMeshPtr not set."
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
makePatchTypeField(fvPatchScalarField, thermalBaffleFvPatchScalarField)
A class for handling words, derived from string.
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
Top level extrusion model class.
static word defaultRegion
Return the default region name.
#define forAll(list, i)
Loop across all elements in list.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
autoPtr< extrudePatchMesh > extrudeMeshPtr_
Auto pointer to extrapolated mesh from patch.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
autoPtr< regionModels::thermalBaffleModels::thermalBaffleModel > baffle_
Thermal baffle.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Determines a mapping between patch face centres and mesh cell or face centres and processors they're ...
wordList patchTypes(nPatches)
static const NamedEnum< sampleMode, 6 > sampleModeNames_
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
const polyMesh & mesh() const
Return the mesh reference.
wordList patchNames(nPatches)
bool owner_
Is the baffle owner.
const sampleMode & mode() const
What to sample.
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual void write(Ostream &) const
Write.
static autoPtr< polyPatch > New(const word &patchType, const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm)
Return a pointer to a new patch created on freestore from.
Macros for easy insertion into run-time selection tables.
void createPatchMesh()
Extrude mesh.
Mesh data needed to do the Finite Volume discretisation.
const word & coupleGroup() const
PatchGroup (only if NEARESTPATCHFACE)
bool foundObject(const word &name) const
Is the named Type found?
thermalBaffleFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
Mixed boundary condition for temperature and radiation heat transfer to be used for in multiregion ca...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
Mesh at a patch created on the fly. The following entry should be used on the field boundary dictiona...
label readLabel(Istream &is)
const Time & time() const
Return the top-level database.
Foam::fvPatchFieldMapper.
dictionary dict_
Dictionary.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
void size(const label)
Override size to be inconsistent with allocated storage.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
#define WarningInFunction
Report a warning using Foam::Warning.
static const dictionary null
Null dictionary.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const word & name() const
Return reference to name.
void set(entry *)
Assign a new entry, overwrite any existing entry.
virtual void write(Ostream &) const
Write.