29#include "surfaceInterpolate.H"
33template<
class FieldType,
class RhoFieldType>
34bool Foam::functionObjects::flux::calcVolFlux(
const RhoFieldType&
rho)
49template<
class FieldType,
class RhoFieldType>
50bool Foam::functionObjects::flux::calcSurFlux(
const RhoFieldType&
rho)
52 if (foundObject<FieldType>(fieldName_,
false))
59 *lookupObject<FieldType>(fieldName_)
word resultName_
Name of result field.
word fieldName_
Name of field to process.
bool store(word &fieldName, const tmp< ObjectType > &tfield, bool cacheable=false)
Store the field in the (sub) objectRegistry under the given name.
Calculate the face-flux of the given field.
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.
tmp< surfaceScalarField > flux(const volVectorField &vvf)
Return the face-flux field obtained from the given volVectorField.