Class ExplicitLawOfTheWall

Inheritance Relationships

Base Type

  • public refCount

Derived Types

Class Documentation

class ExplicitLawOfTheWall : public refCount

Base abstract class for explicit laws of the wall.

It is to be used in conjuction with the ExplicitWallModel wall model. The law of the wall provides an expression to compute the wall stress.

Contributors/Copyright: 2024-2026 Timofey Mukha

Subclassed by CaiSagautExplicitLawOfTheWall, EquilibriumODEExplicitLawOfTheWall, ReichardtExplicitLawOfTheWall, SpaldingExplicitLawOfTheWall

Public Functions

inline ExplicitLawOfTheWall(const dictionary &dict)

Construct from dictionary.

inline ExplicitLawOfTheWall(const word &lawName, const dictionary &dict)

Construct from TypeName and dictionary.

ExplicitLawOfTheWall() = default

Default constructor.

ExplicitLawOfTheWall &operator=(const ExplicitLawOfTheWall&) = default

Assignment.

inline ExplicitLawOfTheWall(const ExplicitLawOfTheWall &orig)

Copy constructor.

inline virtual ~ExplicitLawOfTheWall()

Destructor.

virtual autoPtr<ExplicitLawOfTheWall> clone() const = 0

Clone.

inline virtual void addFieldsToSampler(Sampler &sampler)

Add necessary sampled fields to the sampler.

virtual void printCoeffs() const = 0

Print info to terminal.

virtual scalar uTau(const SingleCellSampler &sampler, label index, scalar nu) const = 0

Return the value of the friction velocity.

virtual void write(Ostream &os) const

Write information about the law to stream.

inline dictionary constDict() const

Return the dictionary with the constants.

Public Static Functions

static autoPtr<ExplicitLawOfTheWall> New(const dictionary &dict)
static autoPtr<ExplicitLawOfTheWall> New(const word &lawName, const dictionary &dict)

Protected Attributes

dictionary constDict_

Dictionary holding the model constants that the law uses.