Go to the documentation of this file.
43 fixedValue_(
p.size(),
Zero)
57 fixedValue_(ptf.fixedValue_, mapper)
70 fixedValue_(
"fixedValue",
dict,
p.size())
72 this->patchType() =
dict.getOrDefault<
word>(
"patchType", word::null);
84 fixedValue_(ptf.fixedValue_)
96 fixedValue_(ptf.fixedValue_)
109 fixedValue_.autoMap(m);
123 refCast<const fixedNormalSlipFvPatchField<Type>>(ptf);
125 fixedValue_.
rmap(dmptf.fixedValue_, addr);
138 (nHat*(nHat & fixedValue_) +
transform(
I -
sqr(nHat), pif)) - pif
139 )*this->
patch().deltaCoeffs();
149 if (!this->updated())
151 this->updateCoeffs();
158 nHat*(nHat & fixedValue_)
185 fixedValue_.writeEntry(
"fixedValue", os);
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
A class for handling words, derived from Foam::string.
virtual void rmap(const fvPatchField< Type > &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
fixedNormalSlipFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
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,...
This boundary condition sets the patch-normal component to a fixed value.
tmp< Field< cmptType > > component(const direction) const
Return a component field of the field.
PtrList< volScalarField > & Y
virtual tmp< Field< Type > > snGradTransformDiag() const
Return face-gradient transform diagonal.
commsTypes
Types of communications.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
const std::string patch
OpenFOAM patch number as a std::string.
Traits class for primitives.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
string evaluate(const std::string &s, size_t pos=0, size_t len=std::string::npos)
static const Identity< scalar > I
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...