# 3D model velocity profile

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 LinkBack Thread Tools Display Modes
 September 18, 2012, 13:17 3D model velocity profile #1 New Member   rayolau Join Date: Aug 2012 Posts: 23 Rep Power: 7 Hi! 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 x[ND_ND]; real y; // Vertical Distance face_t f; begin_f_loop(f, thread) { F_CENTROID(x,f,thread); y = x[2]; F_PROFILE(f, thread, position) = (I need help here) } end_f_loop(f, thread) } Thanks for your help!

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post ChristineL Fluent UDF and Scheme Programming 15 November 25, 2016 07:45 baranii2000 Main CFD Forum 6 November 12, 2015 04:40 Lcw FLUENT 3 August 3, 2012 05:53 eRzBeNgEl STAR-CCM+ 6 March 26, 2012 05:16 nickvinn Main CFD Forum 0 February 29, 2012 11:11

All times are GMT -4. The time now is 03:40.

 Contact Us - CFD Online - Privacy Statement - Top