145#ifndef Foam_fa_jouleHeatingSource_H
146#define Foam_fa_jouleHeatingSource_H
165 public fa::faceSetOption
176 autoPtr<Function1<scalar>> scalarSigmaVsTPtr_;
179 autoPtr<Function1<tensor>> tensorSigmaVsTPtr_;
188 bool anisotropicElectricalConductivity_;
198 autoPtr<Function1<Type>>& sigmaFunctionPtr
203 const GeometricField<Type, faPatchField, areaMesh>&
204 updateSigma(
const autoPtr<Function1<Type>>& sigmaFunctionPtr)
const;
218 const word& sourceName,
219 const word& modelType,
223 const word& defaultAreaName =
word()
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
Generic GeometricField class.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A special matrix type and solver, designed for finite area solutions of scalar equations....
Intermediate abstract class for handling face-set options for the derived faOptions.
Evolves an electrical potential equation.
virtual bool read(const dictionary &dict)
Read source dictionary.
jouleHeatingSource(const jouleHeatingSource &)=delete
No copy construct.
void operator=(const jouleHeatingSource &)=delete
No copy assignment.
virtual ~jouleHeatingSource()=default
Destructor.
virtual void addSup(const areaScalarField &h, const areaScalarField &rho, faMatrix< scalar > &eqn, const label fieldi)
Add explicit contribution to energy equation.
TypeName("jouleHeatingSource")
Runtime type information.
jouleHeatingSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh, const word &defaultAreaName=word())
Construct from explicit source name and mesh.
const fvMesh & mesh() const noexcept
Return const access to the volume mesh.
Mesh data needed to do the Finite Volume discretisation.
A class for handling words, derived from Foam::string.
Namespace for finite-area.
GeometricField< scalar, faPatchField, areaMesh > areaScalarField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.