57 if (!isType<symmetryPlaneFvPatch>(this->
patch()))
60 <<
"' not constraint type '" <<
typeName <<
"'"
61 <<
"\n for patch " << p.
name()
80 if (!isType<symmetryPlaneFvPatch>(
p))
83 <<
"\n patch type '" <<
p.type()
84 <<
"' not constraint type '" <<
typeName <<
"'"
85 <<
"\n for patch " <<
p.
name()
100 symmetryPlanePatch_(ptf.symmetryPlanePatch_)
112 symmetryPlanePatch_(ptf.symmetryPlanePatch_)
122 vector nHat(symmetryPlanePatch_.n());
128 *(this->patch().deltaCoeffs()/2.0);
135 if (!this->updated())
137 this->updateCoeffs();
140 vector nHat(symmetryPlanePatch_.n());
157 vector nHat(symmetryPlanePatch_.n());
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
static const char *const typeName
Typename for Field.
Generic templated field type.
void evaluate()
Evaluate boundary conditions.
const word & name() const noexcept
Return the object name.
commsTypes
Types of communications.
const Cmpt & component(const direction) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A FieldMapper for finite-volume patch fields.
const DimensionedField< Type, volMesh > & internalField() const
Return dimensioned internal field reference.
const fvPatch & patch() const
Return patch.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual const word & name() const
Return name.
A traits class, which is primarily used for primitives.
This boundary condition enforces a symmetryPlane constraint.
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.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
To & refCast(From &r)
Reference type cast template function.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
static const Identity< scalar > I
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
errorManipArg< error, int > exit(error &err, const int errNo=1)