|
[Sponsors] |
June 24, 2016, 01:16 |
Divergence problem in domain??
|
#1 |
New Member
Yousef
Join Date: Dec 2015
Posts: 14
Rep Power: 11 |
Hello,
I am trying to simulate a homogeneous atmospheric boundary layer in FLUENT using steady state RANS. I am using a Standard k-e model with inlet UDF functions for velocity, k, and epsilon as specified by Richards and Hoxey (1993). For the most part, I seem to have set up the model correctly. Here is a comparison of the inlet and outlet profiles (which would collapse for a perfectly homogeneous ABL): However, there seems to be a divergence issue at the bottom corner of the domain near the outlet (right hand side), which particularly affects the kinetic energy throughout the entire domain. It seems to occur in the boundary layer. The solution is fully converged with residual values dropping to 10E-7. Here is the velocity contour (note the blue (=0 velocity) on the bottom right): There is a concentration of negative pressure at that corner. Interestingly, no warnings of reverse flow appeared: The turbulent kinetic energy contour shows values blowing up near that corner: Zoomed pics with mesh shown: Pressure: TKE: Epsilon: Any ideas on how to resolve this issue would be greatly appreciated. Thanks in advance. |
|
November 23, 2016, 13:33 |
|
#2 |
New Member
U.S
Join Date: Jan 2016
Posts: 16
Rep Power: 10 |
hey man.
I have the same problem. Have you figured it out ? |
|
November 23, 2016, 22:13 |
|
#3 |
New Member
Yousef
Join Date: Dec 2015
Posts: 14
Rep Power: 11 |
Hi Sariug,
It turns out the problem is due to the standard wall function (SWF) in ANSYS Fluent, which is ideal for mechanical applications, not so much for atmospheric boundary flow. The roughness value specified for the SWF in ANSYS Fluent is based on the equivalent sand grain roughness (Ks), whereas the log-law ABL equation is based on the aerodynamic roughness height (y0). The relationship between the two has been derived in the literature for the ANSYS Fluent code as follows: Ks = 9.793*y0/Cs (default value of roughness constant: Cs = 0.5). The problem here is that in urban flows (y0 = 0.5 - 2m) the resulting Ks value is very large (9.8 - 39.2 m). Fluent requires the centroid height of the near-ground cell (yp) to be at least equal to the equivalent sand grain roughness (yp>Ks). This means that your total first cell height would be unreasonably large (20-80m) and would not allow you to achieve high mesh refinement near the ground surface. Ignoring the condition (yp>Ks) results in the problem described in this post, where there is an imbalance between the equations for the inlet profile, the turbulence model, and the SWF. This manifests as an initial acceleration of the flow near the ground surface, and a spike in the turbulent kinetic energy. However, as the flow travels across the domain, it adapts to the SWF, and the spike in TKE disappears. But you end up with a different Vel, tke, and epsilon profiles than what you specified at the inlet (i.e. an inhomogenous ABL). PS: I noticed that in the posted images, the inlet is at the right hand side (flow is in the +ve x direction). So the issues described occur at the inlet, not the outlet. This 2007 paper by Bert Blocken: (http://dx.doi.org/10.1016/j.atmosenv.2006.08.019) discusses the problem in more detail and suggests remedial measures to reduce this error. There is no easy fix to this problem, but a few thing you can try:
Good luck Y.A.Z |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Rotating domain problem | danielom | ANSYS | 0 | November 22, 2013 11:16 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |
Divergence problem | Smaras | FLUENT | 13 | February 21, 2013 06:03 |
Different conductivities for a SINGLE domain for CHT problem in CFX | Mehul | CFX | 3 | August 3, 2012 10:01 |