72 #ifndef Foam_fv_patchCellsSource_H 73 #define Foam_fv_patchCellsSource_H 90 class patchCellsSource
100 bool isEnergySource_;
114 const word& sourceName,
patchCellsSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
virtual bool read(const dictionary &dict)
Read source dictionary.
void operator=(const patchCellsSource &)=delete
No copy assignment.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
TypeName("patchCellsSource")
Runtime type information.
A class for handling words, derived from Foam::string.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
virtual ~patchCellsSource()=default
Destructor.
Mesh data needed to do the Finite Volume discretisation.
Source defined by a boundary condition applied to cells next to patches. This fvOption needs to be us...
virtual void addSup(const volScalarField &rho, fvMatrix< scalar > &eqn, const label fieldi)
Add explicit contribution to compressible (momentum, enthalpy, species) equation. ...