Skip to content
Snippets Groups Projects
Commit df43c8cb authored by Thomas Fetzer's avatar Thomas Fetzer
Browse files

[kepsilon] Do not limit uStarNominal

parent 47cd79f0
No related branches found
No related tags found
1 merge request!1040Freeflow/kepsilon wallfunction rebased
......@@ -254,12 +254,11 @@ public:
//! \brief Returns the nominal wall shear stress velocity (accounts for poor approximation of viscous sublayer)
const Scalar uStarNominal(unsigned int elementID) const
{
using std::max;
using std::pow;
using std::sqrt;
unsigned int matchingPointID = matchingPointID_[asImp_().wallElementID_[elementID]];
return pow(cMu(), 0.25)
* sqrt(max(storedTurbulentKineticEnergy_[matchingPointID],1e-8));
* sqrt(storedTurbulentKineticEnergy_[matchingPointID]);
}
/*!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment