50 const fixedNormalSlipFvPatchField<Type>& ptf,
52 const DimensionedField<Type, volMesh>& iF,
53 const fvPatchFieldMapper& mapper
56 parent_bctype(ptf,
p, iF, mapper),
57 fixedValue_(ptf.fixedValue_, mapper),
58 writeValue_(ptf.writeValue_)
71 fixedValue_(
"fixedValue",
dict,
p.size()),
72 writeValue_(
dict.getOrDefault(
"writeValue", false))
87 fixedValue_(ptf.fixedValue_),
88 writeValue_(ptf.writeValue_)
99 parent_bctype(ptf, iF),
100 fixedValue_(ptf.fixedValue_),
101 writeValue_(ptf.writeValue_)
113 parent_bctype::autoMap(m);
114 fixedValue_.autoMap(m);
125 parent_bctype::rmap(ptf, addr);
128 refCast<const fixedNormalSlipFvPatchField<Type>>(ptf);
130 fixedValue_.rmap(dmptf.fixedValue_, addr);
144 )*this->
patch().deltaCoeffs();
154 if (!this->updated())
156 this->updateCoeffs();
163 nHat*(nHat & fixedValue_)
commsTypes
Communications types.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
dimensionedSymmTensor sqr(const dimensionedVector &dv)
fixedNormalSlipFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
virtual void rmap(const fvPatchField< Type > &ptf, const labelList &addr)
Reverse map the given fvPatchField onto this fvPatchField.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
virtual void write(Ostream &) const
Write.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
virtual void readDict(const dictionary &dict)
Read dictionary entries.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
friend Ostream & operator(Ostream &, const Field< Type > &)
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::buffered)
Evaluate the patch field.
static const Identity< scalar > I
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
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.
void cmptMag(FieldField< Field, Type > &cf, const FieldField< Field, Type > &f)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
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.
::Foam::direction rank(const expressions::valueTypeCode) noexcept
The vector-space rank associated with given valueTypeCode.
virtual tmp< Field< Type > > snGradTransformDiag() const
Return face-gradient transform diagonal.
Field< vector > vectorField
Specialisation of Field<T> for vector.
This boundary condition sets the patch-normal component to the field (vector or tensor) to the patch-...
A class for managing temporary objects.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
A non-counting (dummy) refCount.
virtual void autoMap(const fvPatchFieldMapper &m)
Map (and resize as needed) from self given a mapping object.