75#ifndef wallHeatFluxModels_wall_H
76#define wallHeatFluxModels_wall_H
95 public wallHeatFluxModel
109 void writeFileHeader(Ostream&
os);
140 virtual ~wall() =
default;
160 virtual bool write();
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Base class for function objects, adding functionality to read/write state information (data required ...
Mesh data needed to do the Finite Volume discretisation.
const fvMesh & mesh() const noexcept
Return const reference to the mesh.
const word & objName() const noexcept
Return const reference to the function-object name.
functionObjects::stateFunctionObject & state() const noexcept
Return const reference to the state function object.
wallHeatFluxModel(const wallHeatFluxModel &)=delete
No copy construct.
This model computes the wall-heat flux at selected wall patches.
virtual bool read(const dictionary &dict)
Read the settings.
virtual bool execute()
Calculate the heat-flux data.
virtual bool write()
Write the heat-flux data.
wall(const dictionary &dict, const fvMesh &mesh, const word &name, const word objName, functionObjects::stateFunctionObject &state)
Construct from components.
const word & qrName() const noexcept
Return const reference to name of radiative heat-flux field.
TypeName("wall")
Runtime type information.
virtual ~wall()=default
Destructor.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
A namespace for various heat-flux model implementations.
List< label > labelList
A List of labels.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
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.
Forwards and collection of common volume field types.