161 #ifndef functionObjects_electricPotential_H 162 #define functionObjects_electricPotential_H 171 namespace functionObjects
178 class electricPotential
180 public fvMeshFunctionObject
185 dictionary phasesDict_;
191 UPtrList<volScalarField> phases_;
194 PtrList<dimensionedScalar> sigmas_;
200 PtrList<dimensionedScalar> epsilonrs_;
216 bool writeDerivedFields_;
230 tmp<volScalarField> sigma()
const;
233 tmp<volScalarField> epsilonm()
const;
237 electricPotential(
const electricPotential&) =
delete;
240 void operator=(
const electricPotential&) =
delete;
256 const dictionary&
dict 267 virtual bool read(
const dictionary&
dict);
273 virtual bool write();
virtual bool write()
Write the function object output.
TypeName("electricPotential")
Runtime type information.
const word & name() const noexcept
Return the name of this functionObject.
virtual bool read(const dictionary &dict)
Read the function object data.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual ~electricPotential()=default
Destructor.
virtual bool execute()
Calculate the function object.
List< word > wordList
List of word.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.