63 w[owner[facei]]*C[owner[facei]]
64 + (1.0 - w[owner[facei]])*C[neighbour[facei]];
66 const face&
f = faces[facei];
76 Type sumPsip = at*(1.0/3.0)*
83 for (
label pointi=1; pointi<f.size(); pointi++)
93 sumPsip += at*(1.0/3.0)*
102 sfCorr[facei] = sumPsip/sumAt - sfCorr[facei];
107 Boundary& bSfCorr = tsfCorr.
ref().boundaryFieldRef();
122 label own = pOwner[facei];
126 + (1.0 - pWghts[facei])*pNbrC[facei];
134 points[f[f.size()-1]]
138 Type sumPsip = at*(1.0/3.0)*
145 for (
label pointi=1; pointi<f.size(); pointi++)
155 sumPsip += at*(1.0/3.0)*
164 pSfCorr[facei] = sumPsip/sumAt - pSfCorr[facei];
Graphite solid properties.
#define forAll(list, i)
Loop across all elements in list.
A triangle primitive used to calculate face areas and swept volumes.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A face is a list of labels corresponding to mesh vertices.
virtual label start() const
Return start label of this patch in the polyMesh face list.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > linearInterpolate(const GeometricField< Type, fvPatchField, volMesh > &vf)
const Boundary & boundaryField() const
Return const-reference to the boundary field.
T & ref() const
Return non-const reference or generate a fatal error.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Generic GeometricField class.
const labelUList & neighbour() const
Internal face neighbour.
virtual const pointField & points() const
Return raw points.
const surfaceScalarField & weights() const
Return reference to linear difference weighting factors.
Pre-declare SubField and related Field type.
virtual bool coupled() const
Return true if this patch field is coupled.
autoPtr< BasicCompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleMomentumTransportModel::transportModel &transport)
virtual const labelUList & faceCells() const
Return faceCells.
makeSurfaceInterpolationScheme(cellCoBlended)
virtual const faceList & faces() const
Return raw faces.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the explicit correction to the face-interpolate.
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
const labelUList & owner() const
Internal face owner.
Mesh data needed to do the Finite Volume discretisation.
dimensioned< scalar > mag(const dimensioned< Type > &)
const volVectorField & C() const
Return cell centres as volVectorField.
A class for managing temporary objects.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
Face-point interpolation scheme class derived from linear and returns linear weighting factors but al...
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.