Go to the documentation of this file.
59 const bool valueRequired
107 auto patchTypeCstrIter = patchConstructorTablePtr_->cfind(
p.type());
109 if (patchTypeCstrIter.found())
111 return patchTypeCstrIter()
132 template<
class Type2>
138 return NewCalculatedType(pf.
patch());
152 <<
"cannot be called for a calculatedFvPatchField"
153 <<
"\n on patch " << this->
patch().name()
154 <<
" of field " << this->internalField().name()
155 <<
" in file " << this->internalField().objectPath()
156 <<
"\n You are probably trying to solve for a field with a "
157 "default boundary condition."
172 <<
"cannot be called for a calculatedFvPatchField"
173 <<
"\n on patch " << this->
patch().name()
174 <<
" of field " << this->internalField().name()
175 <<
" in file " << this->internalField().objectPath()
176 <<
"\n You are probably trying to solve for a field with a "
177 "default boundary condition."
189 <<
"cannot be called for a calculatedFvPatchField"
190 <<
"\n on patch " << this->
patch().name()
191 <<
" of field " << this->internalField().name()
192 <<
" in file " << this->internalField().objectPath()
193 <<
"\n You are probably trying to solve for a field with a "
194 "default boundary condition."
206 <<
"cannot be called for a calculatedFvPatchField"
207 <<
"\n on patch " << this->
patch().name()
208 <<
" of field " << this->internalField().name()
209 <<
" in file " << this->internalField().objectPath()
210 <<
"\n You are probably trying to solve for a field with a "
211 "default boundary condition."
222 this->writeEntry(
"value", os);
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the.
tmp< Field< Type > > gradientInternalCoeffs() const
Return the matrix diagonal coefficients corresponding to the.
A class for handling words, derived from Foam::string.
calculatedFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
A class for managing temporary objects.
static const word & calculatedType()
Return the type of the calculated for of fvPatchField.
tmp< Field< Type > > gradientBoundaryCoeffs() const
Return the matrix source coefficients corresponding to the.
virtual void write(Ostream &) const
Write.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
This boundary condition is not designed to be evaluated; it is assmued that the value is assigned via...
errorManip< error > abort(error &err)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const std::string patch
OpenFOAM patch number as a std::string.
static tmp< fvPatchField< Type > > NewCalculatedType(const fvPatch &)
Return a pointer to a new calculatedFvPatchField created on.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the.
Foam::fvPatchFieldMapper.
const fvPatch & patch() const
Return patch.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...