46 this->refValue() = 0.0;
47 this->refGrad() = 0.0;
48 this->valueFraction() = 0.0;
60 mixedFvPatchScalarField(p, iF),
62 lowerBound_(dict.
lookup<scalar>(
"lowerBound")),
63 upperBound_(dict.
lookup<scalar>(
"upperBound"))
65 this->refValue() = 0.0;
67 if (dict.
found(
"value"))
69 fvPatchScalarField::operator=
76 fvPatchScalarField::operator=(this->patchInternalField());
79 this->refGrad() = 0.0;
80 this->valueFraction() = 0.0;
93 mixedFvPatchScalarField(ptf, p, iF, mapper),
107 mixedFvPatchScalarField(ptf, iF),
131 if (phip[i] < -small)
135 this->refValue()[i] = 0.0;
139 this->refValue()[i] = 1.0;
143 this->refValue()[i] = alphap[i];
146 this->valueFraction()[i] = 1.0;
150 this->refValue()[i] = 0.0;
151 this->valueFraction()[i] = 0.0;
155 mixedFvPatchScalarField::updateCoeffs();
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
#define forAll(list, i)
Loop across all elements in list.
A list of keyword definitions, which are a keyword followed by any number of values (e...
word phiName_
Name of flux field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
A class for handling words, derived from string.
This boundary condition provides a phase fraction condition based on the local flow conditions...
Foam::fvPatchFieldMapper.
virtual label size() const
Return size.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
volScalarField scalarField(fieldObject, mesh)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
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...
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
scalar upperBound_
Upper bound for alpha1.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
variableHeightFlowRateFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
scalar lowerBound_
Lower bound for alpha1.