167 #ifndef functionObjects_electricPotential_H 168 #define functionObjects_electricPotential_H 178 namespace functionObjects
185 class electricPotential
187 public fvMeshFunctionObject
198 UPtrList<volScalarField> phases_;
201 PtrList<dimensionedScalar> sigmas_;
207 PtrList<dimensionedScalar> epsilonrs_;
219 fv::optionList fvOptions_;
226 bool writeDerivedFields_;
240 tmp<volScalarField> sigma()
const;
243 tmp<volScalarField> epsilonm()
const;
247 electricPotential(
const electricPotential&) =
delete;
250 void operator=(
const electricPotential&) =
delete;
266 const dictionary&
dict 277 virtual bool read(
const dictionary&
dict);
283 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.