40 phiName_(
dict.lookupOrDefault<
word>(
"phi",
"phi")),
46 if (
dict.found(
"value"))
73 phiName_(ptf.phiName_),
74 uniformInletValue_(ptf.uniformInletValue_, false)
98 phiName_(ptf.phiName_),
99 uniformInletValue_(ptf.uniformInletValue_, false)
114 uniformInletValue_->value(this->db().time().userTimeValue());
117 this->patch().template lookupPatchField<surfaceScalarField, scalar>
122 this->valueFraction() =
neg(phip);
132 if (phiName_ !=
"phi")
154 uniformInletValue_->value(this->db().time().userTimeValue());
168 uniformInletValue_->value(this->db().time().userTimeValue());
182 this->valueFraction()*this->refValue()
183 + (1 - this->valueFraction())*ptf
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.
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....
Foam::fvPatchFieldMapper.
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 void map(const fvPatchField< Type > &, const fvPatchFieldMapper &)
Map the given fvPatchField onto this fvPatchField.
virtual scalarField & valueFraction()
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)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
dimensionedScalar neg(const dimensionedScalar &ds)