138 #ifndef Foam_fa_jouleHeatingSource_H 139 #define Foam_fa_jouleHeatingSource_H 157 class jouleHeatingSource
159 public fa::faceSetOption
170 autoPtr<Function1<scalar>> scalarSigmaVsTPtr_;
173 autoPtr<Function1<tensor>> tensorSigmaVsTPtr_;
182 bool anisotropicElectricalConductivity_;
191 const dictionary&
dict,
192 autoPtr<Function1<Type>>& sigmaVsTPtr
212 const word& sourceName,
213 const word& modelType,
258 #include "jouleHeatingSourceTemplates.C" Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
TypeName("jouleHeatingSource")
Runtime type information.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Generic GeometricField class.
jouleHeatingSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
A class for handling words, derived from Foam::string.
virtual void addSup(const areaScalarField &h, const areaScalarField &rho, faMatrix< scalar > &eqn, const label fieldi)
Add explicit contribution to compressible momentum equation.
void operator=(const jouleHeatingSource &)=delete
No copy assignment.
const dimensionedScalar h
Planck constant.
Evolves an electrical potential equation.
Mesh data needed to do the Finite Volume discretisation.
A special matrix type and solver, designed for finite area solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual bool read(const dictionary &dict)
Read source dictionary.
virtual ~jouleHeatingSource()=default
Destructor.
GeometricField< scalar, faPatchField, areaMesh > areaScalarField