Wind Velocity Profile in ANSYS CFX
Hi,
I'm trying to use CFX to model wind behaviors around tall buildings and have a few problems. 1. How can I insert the equation to the inlet to create a velocity profile? 2. Do I have to modify the inlet surface mesh to get accurate ABL or the automatic mesh with the prismatic elements near the ground and the equation for the velocity profile is enough? Thank You Very Much in advance! :) 
1I assume you are using logaritmic law to define your ABL which is
U(z) = (U*/k) ln(z/z0) U* (Ufrict) and Z0 should be determined by a curve fit to wind data recorded at the mast located around the boundary. you also need to define k and epsilon values in your turbolence model, use the following expressions to do so: Cmu = 0.09 ufrict = xxx [m s^1] hz = zSurfaceElevation kappa = 0.41 z0 = xxx [m] Uz = (ufrict/kappa)*loge(max(1[m],hz)/z0) tke = Cmu^(0.5)*ufrict^2 eps = ufrict^3/(kappa*max(0.00001[m],hz)) Uz is the velocity variable you need to put into your inlet boundary 2 the inlet surface elevation is important in Uz expression, hence you either need to make the boundary flat (some people prefer this method by extending the booundary out) our create a line profile and define it as a function to return the surfcae elevation at each given xyz. 
Thanks a lot AliTr
However I'm trying to use another function u(z) = (Uref*ln(z/z0))/(ln(zref/z0)) my problem with this is that once the z=0, the expression becomes meaningless. How can I overcome this problem? 
Your function is not meaningful for z=0 as it returns negative infinity. My guess is who ever developed this relation only meant it to be applied to some minimum value of z.

use max(1[m],z) instead of z
This will keep z>0 for all values. The assumptions here are: z0<1 and your mesh does not have elements thinner than 1m close to ground. 
Are you sure about this Alitr? This means the velocity at 1m the velocity will be a large negative number  this does not sound right to me! That is why I suggest that this equation has a much larger minimum value than 1m.

Quote:

U* vs Uref and Zref
Thanks Everyone!
However I have another 2 problems. :D 1. Do we need to analyse this problem as steady state or transient? Since we are taking the turbulence into consideration, is it correct to assume that a steady state analysis will provide the dynamic response for the pressure on the building. 2. We have no data to calculate the U* value. Therefore I have omitted it and have rearranged the equation to use a Uref and Zref. Is it correct to assume a Uref and Zref using the Australian Wind code to get the wind profile? Thanks in advance. :) 
All times are GMT 4. The time now is 23:36. 