99 auto* patchTypeCtor = patchConstructorTable(
p.type());
111 return tmp<fvPatchField<Type>>
113 new calculatedFvPatchField<Type>
116 DimensionedField<Type, volMesh>::null()
124 template<
class Type2>
127 const fvPatchField<Type2>& pf
130 return NewCalculatedType(pf.patch());
144 <<
"cannot be called for a calculatedFvPatchField" 145 <<
"\n on patch " << this->
patch().name()
146 <<
" of field " << this->internalField().name()
147 <<
" in file " << this->internalField().objectPath()
148 <<
"\n You are probably trying to solve for a field with a " 149 "default boundary condition." 164 <<
"cannot be called for a calculatedFvPatchField" 165 <<
"\n on patch " << this->
patch().name()
166 <<
" of field " << this->internalField().name()
167 <<
" in file " << this->internalField().objectPath()
168 <<
"\n You are probably trying to solve for a field with a " 169 "default boundary condition." 181 <<
"cannot be called for a calculatedFvPatchField" 182 <<
"\n on patch " << this->
patch().name()
183 <<
" of field " << this->internalField().name()
184 <<
" in file " << this->internalField().objectPath()
185 <<
"\n You are probably trying to solve for a field with a " 186 "default boundary condition." 198 <<
"cannot be called for a calculatedFvPatchField" 199 <<
"\n on patch " << this->
patch().name()
200 <<
" of field " << this->internalField().name()
201 <<
" in file " << this->internalField().objectPath()
202 <<
"\n You are probably trying to solve for a field with a " 203 "default boundary condition."
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the.
tmp< Field< Type > > gradientInternalCoeffs() const
Return the matrix diagonal coefficients corresponding to the.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
tmp< Field< Type > > gradientBoundaryCoeffs() const
Return the matrix source coefficients corresponding to the.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
A FieldMapper for finite-volume patch fields.
This boundary condition is not designed to be evaluated; it is assmued that the value is assigned via...
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the.
errorManip< error > abort(error &err)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
calculatedFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
static tmp< fvPatchField< Type > > NewCalculatedType(const fvPatch &)
Return a pointer to a new calculatedFvPatchField created on.
const std::string patch
OpenFOAM patch number as a std::string.
A class for managing temporary objects.
readOption
Enumeration defining read preferences.