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