Go to the documentation of this file.
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"
virtual ~jouleHeatingSource()=default
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
void operator=(const jouleHeatingSource &)=delete
Evolves an electrical potential equation.
Base abstract class for handling finite volume options (i.e. fvOption).
virtual void addSup(const volScalarField &rho, fvMatrix< scalar > &eqn, const label fieldi)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
GeometricField< vector, fvPatchField, volMesh > volVectorField
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const fvMesh & mesh() const noexcept
virtual bool read(const dictionary &dict)
A special matrix type and solver, designed for finite volume solutions of scalar equations....
TypeName("jouleHeatingSource")
Generic GeometricField class.
jouleHeatingSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)