157 #ifndef fv_jouleHeatingSource_H 158 #define fv_jouleHeatingSource_H 176 class jouleHeatingSource
183 static const word sigmaName;
192 bool anisotropicElectricalConductivity_;
195 autoPtr<Function1<scalar>> scalarSigmaVsTPtr_;
198 autoPtr<Function1<vector>> vectorSigmaVsTPtr_;
201 autoPtr<coordinateSystem> csysPtr_;
210 tmp<volSymmTensorField> transformSigma
240 const word& sourceName,
241 const word& modelType,
285 #include "jouleHeatingSourceTemplates.C" TypeName("jouleHeatingSource")
Runtime type information.
virtual bool read(const dictionary &dict)
Read source dictionary.
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.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
jouleHeatingSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
Generic GeometricField class.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual void addSup(const volScalarField &rho, fvMatrix< scalar > &eqn, const label fieldi)
Add explicit contribution to compressible momentum equation.
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.
void operator=(const jouleHeatingSource &)=delete
No copy assignment.
Evolves an electrical potential equation.
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual ~jouleHeatingSource()=default
Destructor.