40 this->refValue() =
Zero;
41 this->refGrad() =
Zero;
42 this->valueFraction() = 0.0;
59 uniformInletValue_->value(this->db().time().timeOutputValue());
61 if (dict.
found(
"value"))
73 this->refGrad() =
Zero;
74 this->valueFraction() = 0.0;
88 phiName_(ptf.phiName_),
89 uniformInletValue_(ptf.uniformInletValue_,
false)
93 uniformInletValue_->value(this->db().time().timeOutputValue());
95 this->refGrad() =
Zero;
96 this->valueFraction() = 0.0;
113 phiName_(ptf.phiName_),
114 uniformInletValue_(ptf.uniformInletValue_,
false)
129 uniformInletValue_->value(this->db().time().timeOutputValue());
132 this->patch().template lookupPatchField<surfaceScalarField, scalar>
137 this->valueFraction() = 1.0 -
pos0(phip);
147 if (phiName_ !=
"phi")
168 uniformInletValue_->value(this->db().time().timeOutputValue());
183 uniformInletValue_->value(this->db().time().timeOutputValue());
190 void Foam::uniformInletOutletFvPatchField<Type>::operator=
197 this->valueFraction()*this->refValue()
198 + (1 - this->valueFraction())*ptf
Run-time selectable general function of one variable.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void size(const label)
Override size to be inconsistent with allocated storage.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition provides a base class for 'mixed' type boundary conditions, i.e. conditions that mix fixed value and patch-normal gradient conditions.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Pre-declare SubField and related Field type.
A class for handling words, derived from string.
Foam::fvPatchFieldMapper.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
dimensionedScalar pos0(const dimensionedScalar &ds)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...