Go to the documentation of this file.
39 valueFraction_(
p.size(), 1.0)
66 valueFraction_(
"valueFraction",
dict,
p.size())
104 valueFraction_.autoMap(m);
118 refCast<const partialSlipFvPatchField<Type> >(ptf);
134 )*this->patch().deltaCoeffs();
144 if (!this->updated())
146 this->updateCoeffs();
153 (1.0 - valueFraction_)
174 + (1.0 - valueFraction_)
183 valueFraction_.writeEntry(
"valueFraction", os);
scalarField valueFraction_
Fraction (0-1) of value used for boundary condition.
A class for managing temporary objects.
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
partialSlipFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
dimensioned< scalar > mag(const dimensioned< Type > &)
dimensionSet transform(const dimensionSet &)
virtual tmp< Field< Type > > snGradTransformDiag() const
Return face-gradient transform diagonal.
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)
static const sphericalTensor I(1)
A list of keyword definitions, which are a keyword followed by any number of values (e....
tmp< Field< cmptType > > component(const direction) const
Return a component field of the field.
commsTypes
Types of communications.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Traits class for primitives.
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,...
PtrList< volScalarField > & Y
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::blocking)
Evaluate the patch field.