Go to the documentation of this file.
42 refValue_(
p.size(),
Zero),
43 valueFraction_(
p.size(), 1.0),
57 parent_bctype(ptf,
p, iF, mapper),
58 refValue_(ptf.refValue_, mapper),
59 valueFraction_(ptf.valueFraction_, mapper),
60 writeValue_(ptf.writeValue_)
73 refValue_(
p.size(),
Zero),
74 valueFraction_(
"valueFraction",
dict,
p.size()),
75 writeValue_(
dict.getOrDefault(
"writeValue", false))
80 if (
dict.found(
"refValue"))
96 refValue_(ptf.refValue_),
97 valueFraction_(ptf.valueFraction_),
98 writeValue_(ptf.writeValue_)
109 parent_bctype(ptf, iF),
110 refValue_(ptf.refValue_),
111 valueFraction_(ptf.valueFraction_),
112 writeValue_(ptf.writeValue_)
124 parent_bctype::autoMap(m);
125 refValue_.autoMap(m);
126 valueFraction_.autoMap(m);
137 parent_bctype::rmap(ptf, addr);
140 refCast<const partialSlipFvPatchField<Type>>(ptf);
142 refValue_.rmap(dmptf.refValue_, addr);
143 valueFraction_.rmap(dmptf.valueFraction_, addr);
156 valueFraction_*refValue_
158 )*this->
patch().deltaCoeffs();
168 if (!this->updated())
170 this->updateCoeffs();
173 tmp<vectorField> nHat = this->
patch().nf();
177 valueFraction_*refValue_
179 (1.0 - valueFraction_)
200 + (1.0 - valueFraction_)
209 refValue_.writeEntry(
"refValue",
os);
210 valueFraction_.writeEntry(
"valueFraction",
os);
215 this->writeEntry(
"value",
os);
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
static constexpr const zero Zero
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
partialSlipFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
friend Ostream & operator(Ostream &, const Field< Type > &)
dimensionSet transform(const dimensionSet &ds)
virtual tmp< Field< Type > > snGradTransformDiag() const
virtual void write(Ostream &) const
virtual tmp< Field< Type > > snGrad() const
virtual void autoMap(const fvPatchFieldMapper &)
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,...
OBJstream os(runTime.globalPath()/outputName)
tmp< Field< cmptType > > component(const direction) const
PtrList< volScalarField > & Y
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const word & patchType() const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A traits class, which is primarily used for primitives.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
Ostream & writeEntry(const keyType &key, const T &value)
void write(vtk::formatter &fmt, const Type &val, const label n=1)
virtual void rmap(const fvPatchField< Type > &, const labelList &)
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,...
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
static const Identity< scalar > I
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
string evaluate(label fieldWidth, const std::string &s, size_t pos=0, size_t len=std::string::npos)