57 const bool valueRequired
105 typename patchConstructorTable::iterator patchTypeCstrIter =
106 patchConstructorTablePtr_->find(p.type());
108 if (patchTypeCstrIter != patchConstructorTablePtr_->end())
110 return patchTypeCstrIter()
131 template<
class Type2>
137 return NewCalculatedType(pf.
patch());
151 <<
"cannot be called for a calculatedFvPatchField" 152 <<
"\n on patch " << this->patch().name()
153 <<
" of field " << this->internalField().name()
154 <<
" in file " << this->internalField().objectPath()
155 <<
"\n You are probably trying to solve for a field with a " 156 "default boundary condition." 171 <<
"cannot be called for a calculatedFvPatchField" 172 <<
"\n on patch " << this->patch().name()
173 <<
" of field " << this->internalField().name()
174 <<
" in file " << this->internalField().objectPath()
175 <<
"\n You are probably trying to solve for a field with a " 176 "default boundary condition." 188 <<
"cannot be called for a calculatedFvPatchField" 189 <<
"\n on patch " << this->patch().name()
190 <<
" of field " << this->internalField().name()
191 <<
" in file " << this->internalField().objectPath()
192 <<
"\n You are probably trying to solve for a field with a " 193 "default boundary condition." 205 <<
"cannot be called for a calculatedFvPatchField" 206 <<
"\n on patch " << this->patch().name()
207 <<
" of field " << this->internalField().name()
208 <<
" in file " << this->internalField().objectPath()
209 <<
"\n You are probably trying to solve for a field with a " 210 "default boundary condition." 221 this->writeEntry(
"value", os);
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.
A list of keyword definitions, which are a keyword followed by any number of values (e...
#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.
static const word & calculatedType()
Return the type of the calculated for of fvPatchField.
A class for handling words, derived from string.
Foam::fvPatchFieldMapper.
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)
const fvPatch & patch() const
Return patch.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
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.
A class for managing temporary objects.