# Need help on boundary layer meteorology

Hi, i am mech undergrad student, currently i am doing my thesis for CFD simulation of wind flow in urban area by using FLUENT. I am trying to apply logarithmic velocity profiles for my inlet boundary condition.
My question is that from the formula of logarithmic wind profile, the velocity will become negative when it less than certain height due to the ln function. Do i need to use power law profiles to describe the velocity profile under certain height?
Thanks.

Best regards.

This is a question you should find the answer to through journal papers.

minger
Why are you applying a logarithmic inlet condition? It doesn't make much sense to me. If you are trying to get the inlet condition to be as close as the actual velocity profile, then don't worry about.

Expand your domain to include some space outside of your physical domain. Send in a uniform constant flow and let it do what i wants.

I trying so save my computational time by create my own udf for the boundary condition and based on those journals i read.
Beside that, my moderator criticized my velocity profiles and ask me to rectify the problem as he said my velocity above my study area are not logic.
For actual urban area, the building height is relatively low compare to the atmosphere boundary layer.

minger
$$u(i,j,k) = log(z(i,j,k))$$
$$u(i,j,k) = log( z(i,j,k) - z(i,j,1) )$$