Skip to content
Snippets Groups Projects
Commit 324d54fe authored by Henry's avatar Henry
Browse files

eddyViscosity: Allow external classes to modify nut

parent b04b8eb5
Branches
Tags
No related merge requests found
......@@ -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
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment