eddyViscosity: Allow external classes to modify nut
This commit is contained in:
parent
3d8f0aa575
commit
1471d3df87
1 changed files with 7 additions and 0 deletions
|
|
@ -102,6 +102,13 @@ public:
|
|||
//- Re-read model coefficients if they have changed
|
||||
virtual bool read() = 0;
|
||||
|
||||
//- Return non-const access to the turbulence viscosity
|
||||
// to allow modification by means other than derivation
|
||||
volScalarField& evNut()
|
||||
{
|
||||
return nut_;
|
||||
}
|
||||
|
||||
//- Return the turbulence viscosity
|
||||
virtual tmp<volScalarField> nut() const
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue