CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Inlet wind velosity Profile

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2017, 07:40
Default Inlet wind velosity Profile
  #1
New Member
 
Sameera Lakmal
Join Date: Aug 2017
Posts: 3
Rep Power: 9
sameera1st is on a distinguished road
i applied folowing UDF to get the inlet profile. but there is deferent in solidwork cfd and Fluent...in fluent velocity goes upward like this..can you give me a solution.
#include "udf.h"

DEFINE_PROFILE(inlet_x_velocity, thread, position)

{

real x[ND_ND];

real z; // Vertical Distance

face_t f;

begin_f_loop(f, thread)

{

F_CENTROID(x,f,thread);

z = x[2];

F_PROFILE(f, thread, position) = 3.5815 *log(z) +30.192;

}

end_f_loop(f, thread)

}


i think problem in my boundary condition not in the code.. please help me

https://drive.google.com/open?id=0B7...DBQc1VBeExjM0E

https://drive.google.com/open?id=0B7...GxzOUNGOGNLczg
sameera1st is offline   Reply With Quote

Reply


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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
simulating wind shear profile for a wind turbine--> How??? mohammad CFX 14 August 25, 2014 10:09
extracting outlet velocity profile from one case to another case's inlet tonggysun OpenFOAM 2 September 13, 2013 05:19
How to apply an outlet velocity profile to another inlet? siw FLUENT 4 April 10, 2013 12:19
Half parabolic profile for the velocity inlet adele FLUENT 4 July 19, 2012 12:43
translational periodic BC vs Fully Developed Profile at Inlet Prakash.Paudel FLUENT 1 August 20, 2010 12:01


All times are GMT -4. The time now is 18:57.