92#ifndef functionObjects_wallHeatFlux_H
93#define functionObjects_wallHeatFlux_H
104namespace functionObjects
113 public fvMeshFunctionObject,
177 virtual bool write();
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
Computes the wall-heat flux at selected wall patches.
wallHeatFlux(const wallHeatFlux &)=delete
No copy construct.
virtual ~wallHeatFlux()=default
Destructor.
word qrName_
Name of radiative heat flux name.
virtual bool read(const dictionary &dict)
Read the wallHeatFlux data.
TypeName("wallHeatFlux")
Runtime type information.
virtual void writeFileHeader(Ostream &os) const
File header information.
void operator=(const wallHeatFlux &)=delete
No copy assignment.
labelHashSet patchSet_
Optional list of wall patches to process.
wallHeatFlux(const word &name, const Time &runTime, const dictionary &)
Construct from Time and dictionary.
virtual bool execute()
Calculate the wall heat-flux.
virtual bool write()
Write the wall heat-flux.
void calcHeatFlux(const volScalarField &alpha, const volScalarField &he, volScalarField &wallHeatFlux)
Calculate the heat-flux.
Base class for writing single files from the function objects.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.