105 *(this->
patch().deltaCoeffs()/2.0);
112 if (!this->updated())
114 this->updateCoeffs();
117 tmp<vectorField> nHat = this->
patch().nf();
119 const Field<Type> iF(this->patchInternalField());
121 Field<Type>::operator=
138 diag.replace(vector::X,
mag(nHat.component(vector::X)));
140 diag.replace(vector::Z,
mag(nHat.component(vector::Z)));
142 return transformFieldMask<Type>(pow<vector, pTraits<Type>::rank>(
diag));
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
commsTypes
Types of communications.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual tmp< Field< Type > > snGradTransformDiag() const
Return face-gradient transform diagonal.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
static const Identity< scalar > I
Generic templated field type.
A FieldMapper for finite-volume patch fields.
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.
PtrList< volScalarField > & Y
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const std::string patch
OpenFOAM patch number as a std::string.
A class for managing temporary objects.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
basicSymmetryFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.