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())
147 if (
phi.mesh().moving())
156 const tmp<surfaceScalarField>& tphi,
160 if (tphi().
mesh().moving())
173 const tmp<surfaceScalarField>& tphi,
178 if (tphi().
mesh().moving())
191 const tmp<surfaceScalarField>& tphi,
195 if (tphi().
mesh().moving())
208 const tmp<surfaceScalarField>& tphi,
213 if (tphi().
mesh().moving())
226 autoPtr<surfaceVectorField>&
Uf,
231 const fvMesh&
mesh =
U.mesh();
244 autoPtr<surfaceVectorField>&
rhoUf,
250 const fvMesh&
mesh =
U.mesh();
const word & name() const noexcept
Return the object name.
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.
GeometricField< vector, fvsPatchField, surfaceMesh > surfaceVectorField
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
void correctUf(autoPtr< surfaceVectorField > &Uf, const volVectorField &U, const surfaceScalarField &phi)
autoPtr< surfaceVectorField > Uf
const Mesh & mesh() const noexcept
Return mesh.
Calculate the mesh motion flux and convert fluxes from absolute to relative and back.
tmp< surfaceScalarField > absolute(const tmp< surfaceScalarField > &tphi, const volVectorField &U)
Return the given relative flux in absolute form.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
void makeAbsolute(surfaceScalarField &phi, const volVectorField &U)
Make the given flux absolute.
tmp< surfaceScalarField > meshPhi(const volVectorField &U)
void correctRhoUf(autoPtr< surfaceVectorField > &rhoUf, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi)
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
void makeRelative(surfaceScalarField &phi, const volVectorField &U)
Make the given flux relative.
autoPtr< surfaceVectorField > rhoUf
tmp< surfaceScalarField > relative(const tmp< surfaceScalarField > &tphi, const volVectorField &U)
Return the given absolute flux in relative form.