Go to the documentation of this file.
166 #ifndef electrostaticDepositionFvPatchScalarField_H
167 #define electrostaticDepositionFvPatchScalarField_H
182 class electrostaticDepositionFvPatchScalarField
184 public fixedValueFvPatchScalarField
198 autoPtr<PatchFunction1<scalar>> Ceffptr_;
201 autoPtr<PatchFunction1<scalar>> rptr_;
221 dictionary phasesDict_;
227 UPtrList<volScalarField> phases_;
230 PtrList<dimensionedScalar> sigmas_;
239 mutable label master_;
251 label& master() noexcept
257 void setMaster()
const;
263 void writeFilmFields()
const;
269 TypeName(
"electrostaticDeposition");
278 const DimensionedField<scalar, volMesh>&
285 const DimensionedField<scalar, volMesh>&,
295 const DimensionedField<scalar, volMesh>&,
296 const fvPatchFieldMapper&
306 virtual tmp<fvPatchScalarField>
clone()
const
308 return tmp<fvPatchScalarField>
318 const DimensionedField<scalar, volMesh>&
350 const fvPatchFieldMapper&
364 tmp<scalarField>
sigma()
const;
373 virtual void write(Ostream&)
const;
fvPatchField< scalar > fvPatchScalarField
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
A class for managing temporary objects.
List< word > wordList
A List of words.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
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....
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< ' ';}gmvFile<< nl;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual tmp< fvPatchScalarField > clone() const
Construct and return a clone.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
tmp< scalarField > sigma() const
Return the isotropic electrical conductivity field of mixture.
The electrostaticDeposition is a boundary condition to calculate electric potential (V) on a given bo...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
TypeName("electrostaticDeposition")
Runtime type information.
virtual void write(Ostream &) const
Write.
const scalarField & h() const noexcept
Return const access to film thickness patch field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
electrostaticDepositionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.