mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
eddyViscosity: Allow external classes to modify nut
This commit is contained in:
@ -102,6 +102,13 @@ public:
|
|||||||
//- Re-read model coefficients if they have changed
|
//- Re-read model coefficients if they have changed
|
||||||
virtual bool read() = 0;
|
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
|
//- Return the turbulence viscosity
|
||||||
virtual tmp<volScalarField> nut() const
|
virtual tmp<volScalarField> nut() const
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user