40 phiName_(
dict.lookupOrDefault<
word>(
"phi",
"phi")),
46 this->db().time().userUnits(),
54 if (
dict.found(
"value"))
81 phiName_(ptf.phiName_),
82 uniformInletValue_(ptf.uniformInletValue_, false)
105 phiName_(ptf.phiName_),
106 uniformInletValue_(ptf.uniformInletValue_, false)
120 this->refValue() = uniformInletValue_->value(this->db().time().value());
123 this->patch().template lookupPatchField<surfaceScalarField, scalar>
128 this->valueFraction() =
neg(phip);
138 if (phiName_ !=
"phi")
145 this->db().time().userUnits(),
165 this->refValue() = uniformInletValue_->value(this->db().time().value());
178 this->refValue() = uniformInletValue_->value(this->db().time().value());
192 this->valueFraction()*this->refValue()
193 + (1 - this->valueFraction())*ptf
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionSet & dimensions() const
Return dimensions.
Pre-declare SubField and related Field type.
Run-time selectable general function of one variable.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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 write(Ostream &) const
Write.
const objectRegistry & db() const
Return local objectRegistry.
virtual void operator=(const UList< Type > &)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition provides a base class for 'mixed' type boundary conditions,...
virtual Field< Type > & refValue()
virtual void reset(const fvPatchField< Type > &)
Reset the fvPatchField to the given fvPatchField.
virtual scalarField & valueFraction()
virtual void map(const fvPatchField< Type > &, const fieldMapper &)
Map the given fvPatchField onto this fvPatchField.
virtual Field< Type > & refGrad()
A class for handling words, derived from string.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
const HashTable< dimensionSet > & dimensions()
Get the table of dimension sets.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
dimensionedScalar neg(const dimensionedScalar &ds)