Skip to content

atmBuoyancyTurbSource not working for RNGkEpsilon

Tried to run the atmForestStability verification case with the RNGkEpsilon model. I got the following error:

--> FOAM FATAL ERROR: (openfoam-2112) failed lookup of RNGkEpsilon:GbyNu (objectRegistry region0) available objects of type volScalarField::Internal: 20 (rhok ...)

I think this is because atmBuoyancyTurbSource needs access to GbyNu.

In kEpsilon.C line 248 this->type() + ":GbyNu", is missing from the respective RNGkEpsilon.C file.

When this line is inserted in RNGkEpsilon.C it seems to work.

I guess the same applies to the realizableKE.

Many thanks