86#ifndef functionObjects_flux_H
87#define functionObjects_flux_H
95namespace functionObjects
104 public fieldExpression
115 template<
class FieldType,
class RhoFieldType>
116 bool calcVolFlux(
const RhoFieldType&
rho);
119 template<
class FieldType,
class RhoFieldType>
120 bool calcSurFlux(
const RhoFieldType&
rho);
139 const dictionary&
dict
150 virtual ~flux() =
default;
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const word & name() const noexcept
Return the name of this functionObject.
Intermediate class for handling field expression function objects (e.g. blendingFactor etc....
Computes the flux of an input vector field.
virtual ~flux()=default
Destructor.
flux(const flux &)=delete
No copy construct.
TypeName("flux")
Runtime type information.
void operator=(const flux &)=delete
No copy assignment.
flux(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
A class for handling words, derived from Foam::string.
tmp< surfaceScalarField > flux(const volVectorField &vvf)
Return the face-flux field obtained from the given volVectorField.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.