54 if (!isType<symmetryPlaneFvPatch>(
p))
59 ) <<
"\n patch type '" <<
p.type()
60 <<
"' not constraint type '" <<
typeName <<
"'"
61 <<
"\n for patch " <<
p.name()
81 if (!isType<symmetryPlaneFvPatch>(this->
patch()))
84 <<
"' not constraint type '" <<
typeName <<
"'"
85 <<
"\n for patch " <<
p.name()
101 symmetryPlanePatch_(ptf.symmetryPlanePatch_)
111 vector nHat(symmetryPlanePatch_.n());
117 *(this->patch().deltaCoeffs()/2.0);
124 if (!this->updated())
126 this->updateCoeffs();
129 vector nHat(symmetryPlanePatch_.n());
146 vector nHat(symmetryPlanePatch_.n());
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Pre-declare SubField and related Field type.
commsTypes
Types of communications.
const Cmpt & component(const direction) const
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Abstract base class for field mapping.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field, sets Updated to false.
const DimensionedField< Type, fvMesh > & internalField() const
Return dimensioned internal field reference.
const fvPatch & patch() const
Return patch.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Traits class for primitives.
This boundary condition enforces a symmetryPlane constraint.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
symmetryPlaneFvPatchField(const fvPatch &, const DimensionedField< Type, fvMesh > &)
Construct from patch and internal field.
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
virtual tmp< Field< Type > > snGradTransformDiag() const
Return face-gradient transform diagonal.
A class for managing temporary objects.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
To & refCast(From &r)
Reference type cast template function.
void transform(GeometricField< Type, GeoMesh > &rtf, const GeometricField< tensor, GeoMesh > &trf, const GeometricField< Type, GeoMesh > &tf)
static const Identity< scalar > I
tmp< DimensionedField< typename outerProduct< Type, Type >::type, GeoMesh, Field >> sqr(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
tmp< DimensionedField< typename powProduct< Type, r >::type, GeoMesh, Field > > pow(const DimensionedField< Type, GeoMesh, PrimitiveField > &df, typename powProduct< Type, r >::type)
tmp< DimensionedField< scalar, GeoMesh, Field > > mag(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.