46 this->refValue() = 0.0;
47 this->refGrad() = 0.0;
48 this->valueFraction() = 0.0;
61 mixedFvPatchScalarField(ptf, p, iF, mapper),
76 mixedFvPatchScalarField(p, iF),
81 this->refValue() = 0.0;
83 if (dict.
found(
"value"))
85 fvPatchScalarField::operator=
92 fvPatchScalarField::operator=(this->patchInternalField());
95 this->refGrad() = 0.0;
96 this->valueFraction() = 0.0;
106 mixedFvPatchScalarField(ptf),
120 mixedFvPatchScalarField(ptf, iF),
144 if (phip[i] < -SMALL)
148 this->refValue()[i] = 0.0;
152 this->refValue()[i] = 1.0;
156 this->refValue()[i] = alphap[i];
159 this->valueFraction()[i] = 1.0;
163 this->refValue()[i] = 0.0;
164 this->valueFraction()[i] = 0.0;
168 mixedFvPatchScalarField::updateCoeffs();
181 this->writeEntry(
"value", os);
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.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
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)
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
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
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.