166#ifndef electrostaticDepositionFvPatchScalarField_H
167#define electrostaticDepositionFvPatchScalarField_H
182class 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_;
257 void setMaster()
const;
263 void writeFilmFields()
const;
269 TypeName(
"electrostaticDeposition");
278 const DimensionedField<scalar, volMesh>&
285 const DimensionedField<scalar, volMesh>&,
293 const electrostaticDepositionFvPatchScalarField&,
295 const DimensionedField<scalar, volMesh>&,
296 const fvPatchFieldMapper&
302 const electrostaticDepositionFvPatchScalarField&
306 virtual tmp<fvPatchScalarField>
clone()
const
308 return tmp<fvPatchScalarField>
317 const electrostaticDepositionFvPatchScalarField&,
318 const DimensionedField<scalar, volMesh>&
350 const fvPatchFieldMapper&
364 tmp<scalarField>
sigma()
const;
373 virtual void write(Ostream&)
const;
Info<< nl<< "Wrote faMesh in vtk format: "<< writer.output().name()<< nl;}{ vtk::lineWriter writer(aMesh.points(), aMesh.edges(), fileName(aMesh.mesh().time().globalPath()/"finiteArea-edges"));writer.writeGeometry();writer.beginCellData(4);writer.writeProcIDs();{ Field< scalar > fld(faMeshTools::flattenEdgeField(aMesh.magLe(), true))
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
The electrostaticDeposition is a boundary condition to calculate electric potential (V) on a given bo...
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual tmp< fvPatchScalarField > clone(const DimensionedField< scalar, volMesh > &iF) const
Construct and return a clone setting internal field reference.
TypeName("electrostaticDeposition")
Runtime type information.
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.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
const scalarField & h() const noexcept
Return const access to film thickness patch field.
electrostaticDepositionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
tmp< scalarField > sigma() const
Return the isotropic electrical conductivity field of mixture.
A FieldMapper for finite-volume patch fields.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for managing temporary objects.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
List< word > wordList
A List of words.
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
fvPatchField< scalar > fvPatchScalarField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.