Go to the documentation of this file.
41 symmetryPlanePatch_(refCast<const symmetryPlaneFvPatch>(
p))
55 symmetryPlanePatch_(refCast<const symmetryPlaneFvPatch>(
p))
57 if (!isType<symmetryPlaneFvPatch>(this->
patch()))
60 <<
"' not constraint type '" << typeName <<
"'"
61 <<
"\n for patch " <<
p.name()
62 <<
" of field " << this->internalField().name()
63 <<
" in file " << this->internalField().objectPath()
78 symmetryPlanePatch_(refCast<const symmetryPlaneFvPatch>(
p,
dict))
80 if (!isType<symmetryPlaneFvPatch>(
p))
83 <<
"\n patch type '" <<
p.type()
84 <<
"' not constraint type '" << typeName <<
"'"
85 <<
"\n for patch " <<
p.name()
86 <<
" of field " << this->internalField().name()
87 <<
" in file " << this->internalField().objectPath()
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());
161 mag(nHat.component(vector::X)),
163 mag(nHat.component(vector::Z))
symmetryPlaneFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
A class for managing temporary objects.
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
virtual tmp< Field< Type > > snGradTransformDiag() const
Return face-gradient transform diagonal.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
Generic templated field type.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
PtrList< volScalarField > & Y
errorManipArg< error, int > exit(error &err, const int errNo=1)
commsTypes
Types of communications.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const std::string patch
OpenFOAM patch number as a std::string.
A traits class, which is primarily used for primitives.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Foam::fvPatchFieldMapper.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
This boundary condition enforces a symmetryPlane constraint.
static const Identity< scalar > I
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
string evaluate(label fieldWidth, const std::string &s, size_t pos=0, size_t len=std::string::npos)
String evaluation with specified (positive, non-zero) field width.