166 #ifndef electrostaticDepositionFvPatchScalarField_H 167 #define electrostaticDepositionFvPatchScalarField_H 182 class electrostaticDepositionFvPatchScalarField
184 public fixedValueFvPatchScalarField
198 autoPtr<PatchFunction1<scalar>> Ceffptr_;
201 autoPtr<PatchFunction1<scalar>> rptr_;
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>&,
295 const DimensionedField<scalar, volMesh>&,
296 const fvPatchFieldMapper&
309 const DimensionedField<scalar, volMesh>&
313 virtual tmp<fvPatchField<scalar>>
clone()
const 344 const fvPatchFieldMapper&
358 tmp<scalarField>
sigma()
const;
367 virtual void write(Ostream&)
const;
tmp< scalarField > sigma() const
Return the isotropic electrical conductivity field of mixture.
virtual tmp< fvPatchField< scalar > > clone() const
Return a clone.
TypeName("electrostaticDeposition")
Runtime type information.
electrostaticDepositionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
static tmp< fvPatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
fvPatchField< scalar > fvPatchScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
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))
List< word > wordList
List of word.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void write(Ostream &) const
Write.
const scalarField & h() const noexcept
Return const access to film thickness patch field.
List< label > labelList
A List of labels.
A class for managing temporary objects.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.