Go to the documentation of this file.
101 template<
class Type2>
107 auto* patchTypeCtor = patchConstructorTable(pf.
patch().type());
119 return tmp<faPatchField<Type>>
121 new calculatedFaPatchField<Type>
124 DimensionedField<Type, areaMesh>::null()
141 <<
"valueInternalCoeffs cannot be called for a calculatedFaPatchField"
142 <<
"\n on patch " << this->
patch().name()
143 <<
" of field " << this->internalField().name()
144 <<
" in file " << this->internalField().objectPath()
145 <<
"\n You are probably trying to solve for a field with a "
146 "default boundary condition."
161 <<
"valueBoundaryCoeffs cannot be called for a calculatedFaPatchField"
162 <<
"\n on patch " << this->
patch().name()
163 <<
" of field " << this->internalField().name()
164 <<
" in file " << this->internalField().objectPath()
165 <<
"\n You are probably trying to solve for a field with a "
166 "default boundary condition."
178 <<
"gradientInternalCoeffs cannot be called for a "
179 "calculatedFaPatchField"
180 <<
"\n on patch " << this->
patch().name()
181 <<
" of field " << this->internalField().name()
182 <<
" in file " << this->internalField().objectPath()
183 <<
"\n You are probably trying to solve for a field with a "
184 "default boundary condition."
197 "gradientBoundaryCoeffs cannot be called for a "
198 "calculatedFaPatchField"
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."
214 this->writeEntry(
"value",
os);
tmp< Field< Type > > gradientInternalCoeffs() const
A class for handling words, derived from Foam::string.
calculatedFaPatchField(const faPatch &, const DimensionedField< Type, areaMesh > &)
static tmp< faPatchField< Type > > NewCalculatedType(const faPatchField< Type2 > &)
A class for managing temporary objects.
static const word & calculatedType()
tmp< Field< Type > > gradientBoundaryCoeffs() const
virtual void write(Ostream &) const
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
void write(vtk::formatter &fmt, const Type &val, const label n=1)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Finite area patch class. Used for 2-D non-Euclidian finite area method.
const faPatch & patch() const
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const