Go to the documentation of this file.
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),
77 phiName_(
dict.lookupOrDefault<
word>(
"phi",
"phi")),
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();
175 if (phiName_ !=
"phi")
181 this->writeEntry(
"value", os);
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
scalar lowerBound_
Lower bound for alpha1.
virtual void write(Ostream &) const
Write.
A class for handling words, derived from string.
#define forAll(list, i)
Loop across all elements in list.
scalar upperBound_
Upper bound for alpha1.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Pre-declare SubField and related Field type.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
word phiName_
Name of flux field.
A list of keyword definitions, which are a keyword followed by any number of values (e....
This boundary condition provides a phase fraction condition based on the local flow conditions,...
Macros for easy insertion into run-time selection tables.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
volScalarField scalarField(fieldObject, mesh)
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
Foam::fvPatchFieldMapper.
virtual void write(Ostream &) const
Write.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
variableHeightFlowRateFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...