169 #ifndef functionObjects_electricPotential_H 170 #define functionObjects_electricPotential_H 180 namespace functionObjects
187 class electricPotential
189 public fvMeshFunctionObject
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;
271 const dictionary&
dict 282 virtual bool read(
const dictionary&
dict);
288 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.