Go to the documentation of this file.
65 w[owner[facei]]*
C[owner[facei]]
66 + (1.0 - w[owner[facei]])*
C[neighbour[facei]];
68 const face&
f = faces[facei];
78 Type sumPsip = at*(1.0/3.0)*
85 for (label pointi=1; pointi<
f.size(); pointi++)
95 sumPsip += at*(1.0/3.0)*
104 sfCorr[facei] = sumPsip/sumAt - sfCorr[facei];
109 Boundary& bSfCorr = tsfCorr.
ref().boundaryFieldRef();
124 label own = pOwner[facei];
128 + (1.0 - pWghts[facei])*pNbrC[facei];
140 Type sumPsip = at*(1.0/3.0)*
147 for (label pointi=1; pointi<
f.size(); pointi++)
157 sumPsip += at*(1.0/3.0)*
166 pSfCorr[facei] = sumPsip/sumAt - pSfCorr[facei];
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
virtual label start() const
Return start label of this patch in the polyMesh face list.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
#define forAll(list, i)
Loop across all elements in list.
A triangle primitive used to calculate face normals and swept volumes.
Generic templated field type.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Face-point interpolation scheme class derived from linear and returns linear weighting factors but al...
Mesh data needed to do the Finite Volume discretisation.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
scalar mag() const
Return scalar magnitude.
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the explicit correction to the face-interpolate.
constexpr scalar pi(M_PI)
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > linearInterpolate(const GeometricField< Type, fvPatchField, volMesh > &vf)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
makeSurfaceInterpolationScheme(cellCoBlended)
virtual const labelUList & faceCells() const
Return faceCells.
A face is a list of labels corresponding to mesh vertices.
Graphite solid properties.
virtual bool coupled() const
Return true if this patch field is coupled.
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &tvf, const edgeScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.