41 valueFraction_(
p.size())
54 refValue_(
"refValue", iF.dimensions(),
dict,
p.size()),
55 refGrad_(
"refGradient", iF.dimensions()/
dimLength,
dict,
p.size()),
56 valueFraction_(
"valueFraction", units::
fraction,
dict,
p.size())
72 refValue_(mapper(ptf.refValue_)),
73 refGrad_(mapper(ptf.refGrad_)),
74 valueFraction_(mapper(ptf.valueFraction_))
86 refValue_(ptf.refValue_),
87 refGrad_(ptf.refGrad_),
88 valueFraction_(ptf.valueFraction_)
104 refCast<const directionMixedFvPatchField<Type>>(ptf);
106 mapper(refValue_, dmptf.refValue_);
107 mapper(refGrad_, dmptf.refGrad_);
108 mapper(valueFraction_, dmptf.valueFraction_);
121 refCast<const directionMixedFvPatchField<Type>>(ptf);
123 refValue_.
reset(dmptf.refValue_);
124 refGrad_.reset(dmptf.refGrad_);
125 valueFraction_.reset(dmptf.valueFraction_);
137 tmp<Field<Type>> gradValue = pif + refGrad_/this->patch().deltaCoeffs();
143 (normalValue + transformGradValue - pif)*
144 this->patch().deltaCoeffs();
151 if (!this->updated())
153 this->updateCoeffs();
159 this->patchInternalField() + refGrad_/this->patch().deltaCoeffs();
202 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.
void operator=(const Field< Type > &)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
commsTypes
Types of communications.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Base class for direction-mixed boundary conditions.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
virtual void write(Ostream &) const
Write.
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
directionMixedFvPatchField(const fvPatch &, const DimensionedField< Type, fvMesh > &)
Construct from patch and internal field.
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.
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.
Traits class for primitives.
A class for managing temporary objects.
void transform(GeometricField< Type, GeoMesh > &rtf, const GeometricField< tensor, GeoMesh > &trf, const GeometricField< Type, GeoMesh > &tf)
const dimensionSet & dimLength
static const Identity< scalar > I
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
tmp< DimensionedField< typename powProduct< Type, r >::type, GeoMesh, Field > > pow(const DimensionedField< Type, GeoMesh, PrimitiveField > &df, typename powProduct< Type, r >::type)
tmp< DimensionedField< scalar, GeoMesh, Field > > mag(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
void sqrt(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
void writeEntry(Ostream &os, const word &key, const DimensionedFieldFunction< DimensionedFieldType > &f)