Go to the documentation of this file.
43 oversetPatch_(refCast<const oversetFvPatch>(
p))
57 oversetPatch_(refCast<const oversetFvPatch>(
p))
70 oversetPatch_(refCast<const oversetFvPatch>(
p,
dict))
105 if (this->oversetPatch_.master())
108 const fvMesh&
mesh = this->internalField().mesh();
110 const word& fldName = this->internalField().name();
112 if (&
mesh.lduAddr() != &
mesh.fvMesh::lduAddr())
119 Info<<
"Skipping overset interpolation for solved-for field "
126 <<
"Missing required dictionary entry"
127 <<
" 'oversetInterpolation'"
128 <<
". Skipping overset interpolation for field "
139 <<
"Cannot have both dictionary entry"
140 <<
" 'oversetInterpolationSuppresed' and "
141 <<
" 'oversetInterpolationRequired' for field "
146 "oversetInterpolationRequired"
148 if (intDict.
found(fldName))
152 Info<<
"Interpolating field " << fldName <<
endl;
164 this->primitiveField()
170 Info<<
"Skipping overset interpolation for field "
184 bool skipInterpolate = suppress.found(fldName);
190 || dictPtr->found(fldName);
197 Info<<
"Skipping suppressed overset interpolation"
198 <<
" for field " << fldName <<
endl;
205 Info<<
"Interpolating non-suppressed field " << fldName
212 this->primitiveField()
226 this->writeEntry(
"value", os);
int debug
Static debugging option.
dictionary * findDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX)
Find and return a sub-dictionary pointer if present.
A class for handling words, derived from Foam::string.
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
Selector class for finite volume differencing schemes. fvMesh is derived from fvShemes so that all fi...
Ostream & endl(Ostream &os)
Add newline and flush stream.
oversetFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
This boundary condition applies a zero-gradient condition from the patch internal field onto the patc...
virtual void write(Ostream &os) const
Write.
Generic templated field type.
const oversetFvPatch & oversetPatch_
Local reference cast into the overset patch.
messageStream Info
Information stream (uses stdout - output is on the master only)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
errorManipArg< error, int > exit(error &err, const int errNo=1)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
commsTypes
Types of communications.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
Boundary condition for use on overset patches. To be run in combination with special dynamicFvMesh ty...
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
#define IOWarningInFunction(ios)
Report an IO warning using Foam::Warning.
virtual void initEvaluate(const Pstream::commsTypes commsType)
Initialise the evaluation of the patch field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...