77#ifndef Foam_functionObjects_flux_H
78#define Foam_functionObjects_flux_H
106 template<
class FieldType,
class RhoFieldType>
107 bool calcVolFlux(
const RhoFieldType&
rho);
110 template<
class FieldType,
class RhoFieldType>
111 bool calcSurFlux(
const RhoFieldType&
rho);
141 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,...
Intermediate class for handling field expression function objects (e.g. blendingFactor etc....
fieldExpression(const word &name, const Time &runTime, const dictionary &dict, const word &fieldName=word::null, const word &resultName=word::null)
Construct from name, Time and dictionary.
virtual bool calc()=0
Calculate the components of the field and return true if successful.
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 name, Time and dictionary.
A class for handling words, derived from Foam::string.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.