62 outletPatchName_(ptf.outletPatchName_),
63 phiName_(ptf.phiName_)
77 outletPatchName_(dict.
lookup(
"outletPatchName")),
90 outletPatchName_(ptf.outletPatchName_),
91 phiName_(ptf.phiName_)
105 outletPatchName_(ptf.outletPatchName_),
106 phiName_(ptf.phiName_)
124 this->dimensionedInternalField()
128 const fvPatch& p = this->patch();
129 label outletPatchID =
132 if (outletPatchID < 0)
136 "void outletMappedUniformInletFvPatchField<Type>::updateCoeffs()"
137 ) <<
"Unable to find outlet patch " << outletPatchName_
149 scalar sumOutletPatchPhi =
gSum(outletPatchPhi);
151 if (sumOutletPatchPhi > SMALL)
153 Type averageOutletField =
154 gSum(outletPatchPhi*outletPatchField)
161 Type averageOutletField =
162 gSum(outletPatch.
magSf()*outletPatchField)
178 if (phiName_ !=
"phi")
182 this->writeEntry(
"value", os);