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 GeometricBoundaryField& bSfCorr = tsfCorr().boundaryField();
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];
virtual bool coupled() const
Return true if this patch field is coupled.
const pointField & points
const surfaceScalarField & weights() const
Return reference to linear difference weighting factors.
makeSurfaceInterpolationScheme(cellCoBlended)
Mesh data needed to do the Finite Volume discretisation.
dimensioned< scalar > mag(const dimensioned< Type > &)
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the explicit correction to the face-interpolate.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
InternalField & internalField()
Return internal field.
const labelUList & owner() const
Internal face owner.
Graphite solid properties.
virtual const labelUList & faceCells() const
Return faceCells.
tmp< surfaceScalarField > interpolate(const RhoType &rho)
A triangle primitive used to calculate face normals and swept volumes.
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
A face is a list of labels corresponding to mesh vertices.
virtual const pointField & points() const
Return raw points.
const volVectorField & C() const
Return cell centres as volVectorField.
Pre-declare SubField and related Field type.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > linearInterpolate(const GeometricField< Type, fvPatchField, volMesh > &vf)
Generic GeometricField class.
Traits class for primitives.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual const faceList & faces() const
Return raw faces.
const labelUList & neighbour() const
Internal face neighbour.
Face-point interpolation scheme class derived from linear and returns linear weighting factors but al...
label start() const
Return start label of this patch in the polyMesh face list.
A class for managing temporary objects.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.