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.
static const char *const typeName
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.
const DimensionedField< Type, volMesh > & internalField() const
Return dimensioned internal field reference.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field, sets Updated to false.
const fvPatch & patch() const
Return patch.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual const word & name() const
Return name.
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.
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
symmetryPlaneFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
virtual tmp< Field< Type > > snGradTransformDiag() const
Return face-gradient transform diagonal.
A class for managing temporary objects.
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.
static const Identity< scalar > I
void mag(LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)
void pow(LagrangianPatchField< typename powProduct< Type, r >::type > &f, const LagrangianPatchField< Type > &f1)
dimensionSet transform(const dimensionSet &)
void diag(LagrangianPatchField< vector > &f, const LagrangianPatchField< tensor > &f1)
void sqr(LagrangianPatchField< typename outerProduct< Type, Type >::type > &f, const LagrangianPatchField< Type > &f1)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.