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();
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
A List of words.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.