Go to the documentation of this file.
158 #ifndef functionObjects_electricPotential_H
159 #define functionObjects_electricPotential_H
168 namespace functionObjects
175 class electricPotential
177 public fvMeshFunctionObject
182 dictionary phasesDict_;
188 UPtrList<volScalarField> phases_;
191 PtrList<dimensionedScalar> sigmas_;
197 PtrList<dimensionedScalar> epsilonrs_;
210 bool writeDerivedFields_;
219 tmp<volScalarField> sigma()
const;
222 tmp<volScalarField> epsilonm()
const;
226 electricPotential(
const electricPotential&) =
delete;
229 void operator=(
const electricPotential&) =
delete;
245 const dictionary&
dict
256 virtual bool read(
const dictionary&
dict);
262 virtual bool write();
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
virtual bool read(const dictionary &dict)
virtual ~electricPotential()=default
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
List< word > wordList
A List of words.
TypeName("electricPotential")
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
GeometricField< scalar, fvPatchField, volMesh > volScalarField
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Computes the steady-state equation of charge conservation to obtain the electric potential by strictl...
Generic dimensioned Type class.
const word & name() const noexcept
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Generic GeometricField class.