Class SingleCellSampler

Inheritance Relationships

Base Type

Class Documentation

class SingleCellSampler : public Sampler

Class for sampling data to the wall models for a single cell per face.

Contributors/Copyright: 2019 Timofey Mukha.

Contributors/Copyright: 2018-2021 Timofey Mukha

Source files

Source files

Public Functions

SingleCellSampler(const fvPatch&, scalar averagingTime, const word interpolationType = "cell", const word cellFinderType = "Tree", const word lengthScaleType = "CubeRootVol", bool hIsIndex = false, bool excludeWallAdjacent = false)
SingleCellSampler(const word &samplerName, const fvPatch &p, scalar averagingTime, const word interpolationType = "cell", const word cellFinderType = "Tree", const word lengthScaleType = "CubeRootVol", bool hIsIndex = false, bool excludeWallAdjacent = false)
SingleCellSampler(const SingleCellSampler&) = default
virtual ~SingleCellSampler()
virtual void addField(SampledField*) override
inline const labelList &indexList() const
inline const scalarField &h() const
inline virtual const scalarField &lengthList() const
inline label operator[](const label i) const
virtual void sample() const override

Protected Functions

virtual void createIndexList() override
virtual void createLengthList(const word lengthScaleType) override
void createLengthListCubeRootVol()
void createLengthListWallNormalDistance()

Protected Attributes

labelList indexList_
scalarField lengthList_
scalarField h_