169#ifndef Foam_functionObjects_electricPotential_H
170#define Foam_functionObjects_electricPotential_H
200 UPtrList<volScalarField> phases_;
203 PtrList<dimensionedScalar> sigmas_;
209 PtrList<dimensionedScalar> epsilonrs_;
221 fv::optionList fvOptions_;
231 bool writeDerivedFields_;
245 tmp<volScalarField> sigma()
const;
248 tmp<volScalarField> epsilonm()
const;
252 electricPotential(
const electricPotential&) =
delete;
255 void operator=(
const electricPotential&) =
delete;
288 virtual bool write();
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const word & name() const noexcept
Return the name of this functionObject.
Computes the steady-state equation of charge conservation to obtain the electric potential by strictl...
virtual bool read(const dictionary &dict)
Read the function-object dictionary.
virtual ~electricPotential()=default
Destructor.
TypeName("electricPotential")
Runtime type information.
virtual bool execute()
Execute the function-object operations.
virtual bool write()
Write the function-object results.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
fvMeshFunctionObject(const fvMeshFunctionObject &)=delete
No copy construct.
List of finite volume options.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
List< word > wordList
List of word.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.