Skip to content
Snippets Groups Projects
Commit 2e4315f6 authored by Hkorb's avatar Hkorb
Browse files

move calcOmega to TurbulentViscosity

parent c4a03f39
No related branches found
No related tags found
1 merge request!273Fix turbulent viscosity
...@@ -390,11 +390,6 @@ __inline__ __device__ void writeInverse(Distributions27& destination, const List ...@@ -390,11 +390,6 @@ __inline__ __device__ void writeInverse(Distributions27& destination, const List
(destination.f[DIR_MMM])[indices.k_MMM] = f[DIR_PPP]; (destination.f[DIR_MMM])[indices.k_MMM] = f[DIR_PPP];
} }
__inline__ __device__ real calculateOmega(const real omega_old, real turbulenceViscosity)
{
return omega_old / (c1o1 + c3o1 * omega_old * turbulenceViscosity);
}
} }
#endif #endif
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