Go to the documentation of this file.
31 #include "surfaceInterpolate.H"
43 vf.mesh().ddtScheme(
"ddt(" + vf.name() +
')')
57 vf.mesh().ddtScheme(
"ddt(" +
rho.name() +
',' + vf.name() +
')')
71 vf.mesh().ddtScheme(
"ddt(" +
rho.name() +
',' + vf.name() +
')')
82 if (
phi.mesh().moving())
95 if (
phi.mesh().moving())
108 if (
phi.mesh().moving())
121 if (
phi.mesh().moving())
134 if (
phi.mesh().moving())
147 if (
phi.mesh().moving())
160 if (tphi().
mesh().moving())
178 if (tphi().
mesh().moving())
195 if (tphi().
mesh().moving())
213 if (tphi().
mesh().moving())
A class for managing temporary objects.
Calculate the mesh motion flux and convert fluxes from absolute to relative and back.
autoPtr< surfaceVectorField > Uf
tmp< surfaceScalarField > meshPhi(const volVectorField &U)
void makeRelative(surfaceScalarField &phi, const volVectorField &U)
Make the given flux relative.
void correctUf(autoPtr< surfaceVectorField > &Uf, const volVectorField &U, const surfaceScalarField &phi)
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.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
autoPtr< surfaceVectorField > rhoUf
tmp< surfaceScalarField > relative(const tmp< surfaceScalarField > &tphi, const volVectorField &U)
Return the given absolute flux in relative form.
void makeAbsolute(surfaceScalarField &phi, const volVectorField &U)
Make the given flux absolute.
void correctRhoUf(autoPtr< surfaceVectorField > &rhoUf, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi)
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.
tmp< surfaceScalarField > absolute(const tmp< surfaceScalarField > &tphi, const volVectorField &U)
Return the given relative flux in absolute form.