138#ifndef fa_jouleHeatingSource_H
139#define fa_jouleHeatingSource_H
157class 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
197 const GeometricField<Type, faPatchField, areaMesh>&
198 updateSigma(
const autoPtr<Function1<Type>>& sigmaVsTPtr)
const;
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...
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.
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 compressible momentum equation.
virtual bool read(const dictionary &dict)
Read source dictionary.
TypeName("jouleHeatingSource")
Runtime type information.
const fvPatch & patch() const noexcept
Return const access to fvPatch.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for handling words, derived from Foam::string.
GeometricField< scalar, faPatchField, areaMesh > areaScalarField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.