|September 18, 2012, 13:17||
3D model velocity profile
Join Date: Aug 2012
Posts: 23Rep Power: 6
I am simulating the air flow over desert surface. I need to define a parabolic function of the wind in the inlet domain. My model is 3D. The function I have to define is: u (z) = u * / k ln (z / zo), where u = average wind speed (m / s), u * = friction velocity (m / s); k = von Karman constant = 0.4, z = height above the surface (m) = zo = 0.00008 surface roughness.
I want to define a maximum speed in function, for example, 6 m/s.
I need help with the UDF, I read the ANSYS FLUENT UDF Manual and exemples in this forum and I think that the macro is the following:
DEFINE_PROFILE(inlet_x_velocity, thread, position)
real y; // Vertical Distance
y = x;
F_PROFILE(f, thread, position) = (I need help here)
Thanks for your help!
|Thread||Thread Starter||Forum||Replies||Last Post|
|UDF inlet velocity profile mismatch with Fluent||ChristineL||Fluent UDF and Scheme Programming||11||October 5, 2016 04:24|
|Shear stress from velocity profile||baranii2000||Main CFD Forum||6||November 12, 2015 04:40|
|velocity profile inlet boundary condition question||Lcw||FLUENT||3||August 3, 2012 05:53|
|Export & Import Velocity profile as Inlet||eRzBeNgEl||STAR-CCM+||6||March 26, 2012 05:16|
|Initial pressure and transverse velocity fields to initialize turbulence model||nickvinn||Main CFD Forum||0||February 29, 2012 11:11|