Skip to content
Snippets Groups Projects
Commit 989b8d58 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[kepsilon][problem] Use std::abs and std::log

parent 358c7eaa
No related branches found
No related tags found
1 merge request!1049[rans][twoeq] Implement turbulent dilation term
......@@ -325,6 +325,7 @@ public:
const SubControlVolumeFace& scvf,
const SubControlVolumeFace& localSubFace) const
{
using std::abs;
unsigned int elementID = asImp_().fvGridGeometry().elementMapper().index(element);
return FacePrimaryVariables(asImp_().tangentialMomentumWallFunction(elementID, abs(elemFaceVars[scvf].velocitySelf()))
* elemVolVars[scvf.insideScvIdx()].density());
......@@ -380,6 +381,7 @@ public:
const ElementFaceVariables& elemFaceVars,
const SubControlVolumeFace& scvf) const
{
using std::log;
auto wallFunctionFlux = CellCenterPrimaryVariables(0.0);
unsigned int elementID = asImp_().fvGridGeometry().elementMapper().index(element);
......@@ -414,6 +416,7 @@ public:
const ElementFaceVariables& elemFaceVars,
const SubControlVolumeFace& scvf) const
{
using std::log;
auto wallFunctionFlux = CellCenterPrimaryVariables(0.0);
unsigned int elementID = asImp_().fvGridGeometry().elementMapper().index(element);
// energy fluxes
......
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