40 valueFraction_(
p.size(), 1.0)
68 refValue_(mapper(ptf.refValue_)),
69 valueFraction_(mapper(ptf.valueFraction_))
81 refValue_(ptf.refValue_),
82 valueFraction_(ptf.valueFraction_)
98 refCast<const mixedFixedValueSlipFvPatchField<Type>>(ptf);
100 mapper(refValue_, dmptf.refValue_);
101 mapper(valueFraction_, dmptf.valueFraction_);
114 refCast<const mixedFixedValueSlipFvPatchField<Type>>(ptf);
116 refValue_.
reset(dmptf.refValue_);
117 valueFraction_.reset(dmptf.valueFraction_);
130 valueFraction_*refValue_
132 )*this->patch().deltaCoeffs();
142 if (!this->updated())
144 this->updateCoeffs();
151 valueFraction_*refValue_
153 (1.0 - valueFraction_)
154 *
transform(
I - nHat*nHat, this->patchInternalField())
174 + (1.0 - valueFraction_)
184 writeEntry(os,
"valueFraction", valueFraction_);
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Pre-declare SubField and related Field type.
tmp< Field< cmptType > > component(const direction) const
Return a component field of the field.
void size(const label)
Override size to be inconsistent with allocated storage.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
commsTypes
Types of communications.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for field mapping.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field, sets Updated to false.
virtual void write(Ostream &) const
Write.
virtual void reset(const fvPatchField< Type > &)
Reset the fvPatchField to the given fvPatchField.
virtual void map(const fvPatchField< Type > &, const fieldMapper &)
Map the given fvPatchField onto this fvPatchField.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A mixed boundary type that blends between fixedValue and slip, as opposed to the standard mixed condi...
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
mixedFixedValueSlipFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
virtual void write(Ostream &) const
Write.
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
virtual void reset(const fvPatchField< Type > &)
Reset the fvPatchField to the given fvPatchField.
virtual tmp< Field< Type > > snGradTransformDiag() const
Return face-gradient transform diagonal.
virtual void map(const fvPatchField< Type > &, const fieldMapper &)
Map the given fvPatchField onto this fvPatchField.
Traits class for primitives.
A class for managing temporary objects.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const HashTable< dimensionSet > & dimensions()
Get the table of dimension sets.
static const Identity< scalar > I
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
dimensionSet transform(const dimensionSet &)
dimensioned< scalar > mag(const dimensioned< Type > &)
const unitConversion unitFraction