Go to the documentation of this file.
43 valueFraction_(
p.size(), 1.0)
57 refValue_(ptf.refValue_, mapper),
58 valueFraction_(ptf.valueFraction_, mapper)
71 refValue_(
p.size(),
Zero),
72 valueFraction_(
"valueFraction",
dict,
p.size())
74 this->patchType() =
dict.getOrDefault<
word>(
"patchType", word::null);
77 if (
dict.found(
"refValue"))
93 refValue_(ptf.refValue_),
94 valueFraction_(ptf.valueFraction_)
106 refValue_(ptf.refValue_),
107 valueFraction_(ptf.valueFraction_)
120 refValue_.autoMap(m);
121 valueFraction_.autoMap(m);
135 refCast<const partialSlipFvPatchField<Type>>(ptf);
137 refValue_.
rmap(dmptf.refValue_, addr);
138 valueFraction_.rmap(dmptf.valueFraction_, addr);
151 valueFraction_*refValue_
153 )*this->
patch().deltaCoeffs();
163 if (!this->updated())
165 this->updateCoeffs();
172 valueFraction_*refValue_
174 (1.0 - valueFraction_)
195 + (1.0 - valueFraction_)
204 refValue_.writeEntry(
"refValue", os);
205 valueFraction_.writeEntry(
"valueFraction", os);
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
partialSlipFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
virtual tmp< Field< Type > > snGradTransformDiag() const
Return face-gradient transform diagonal.
Generic templated field type.
virtual void write(Ostream &) const
Write.
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
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,...
tmp< Field< cmptType > > component(const direction) const
Return a component field of the field.
PtrList< volScalarField > & Y
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
commsTypes
Types of communications.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
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)
virtual void rmap(const fvPatchField< Type > &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
Foam::fvPatchFieldMapper.
This boundary condition provides a partial slip condition. The amount of slip is controlled by a user...
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...