39 valueFraction_(p.
size(), 1.0)
52 valueFraction_(
"valueFraction", dict, p.
size())
68 valueFraction_(mapper(ptf.valueFraction_))
80 valueFraction_(ptf.valueFraction_)
93 m(valueFraction_, valueFraction_);
107 refCast<const partialSlipFvPatchField<Type>>(ptf);
109 valueFraction_.
rmap(dmptf.valueFraction_, addr);
122 refCast<const partialSlipFvPatchField<Type>>(ptf);
124 valueFraction_.
reset(dmptf.valueFraction_);
138 )*this->patch().deltaCoeffs();
148 if (!this->updated())
150 this->updateCoeffs();
157 (1.0 - valueFraction_)
178 + (1.0 - valueFraction_)
187 writeEntry(os,
"valueFraction", valueFraction_);
This boundary condition provides a partial slip condition. The amount of slip is controlled by a user...
void evaluate(GeometricField< Type, PatchField, GeoMesh > &result, const Function1< Type > &func, const GeometricField< Type, PatchField, GeoMesh > &x)
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual tmp< Field< Type > > snGradTransformDiag() const
Return face-gradient transform diagonal.
commsTypes
Types of communications.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
void size(const label)
Override size to be inconsistent with allocated storage.
partialSlipFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Traits class for primitives.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void rmap(const fvPatchField< Type > &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
virtual void reset(const fvPatchField< Type > &)
Reset the fvPatchField to the given fvPatchField.
static const Identity< scalar > I
Pre-declare SubField and related Field type.
Foam::fvPatchFieldMapper.
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
tmp< Field< cmptType > > component(const direction) const
Return a component field of the field.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
PtrList< volScalarField > & Y
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensioned< scalar > mag(const dimensioned< Type > &)
A class for managing temporary objects.
virtual void write(Ostream &) const
Write.
dimensionSet transform(const dimensionSet &)