26 template<
class MRFType>
41 Uf() +=
n*(MRF.absolute(phi)/mesh.
magSf() - (
n &
Uf()));
46 template<
class MRFType>
const surfaceVectorField & Sf() const
Return cell face area vectors.
autoPtr< surfaceVectorField > Uf
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
const Mesh & mesh() const
Return mesh.
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.
void correctRhoUf(autoPtr< surfaceVectorField > &rhoUf, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const MRFType &MRF)
tmp< surfaceScalarField > absolute(const tmp< surfaceScalarField > &tphi, const volVectorField &U)
Return the given relative flux in absolute form.
Mesh data needed to do the Finite Volume discretisation.
bool dynamic() const
Is this mesh dynamic?
void correctUf(autoPtr< surfaceVectorField > &Uf, const volVectorField &U, const surfaceScalarField &phi, const MRFType &MRF)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
autoPtr< surfaceVectorField > rhoUf