|
[Sponsors] |
Drawing a velocity profile as inlet boundary condition in Fluent ANSYS ???? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 18, 2015, 00:51 |
Drawing a velocity profile as inlet boundary condition in Fluent ANSYS ????
|
#1 |
Member
Hassan Iftekhar
Join Date: Jan 2015
Posts: 40
Rep Power: 11 |
I have a velocity profile equation which I want to give as inlet boundary condition in ANSYS Fluent. How this is possible.??? Please guide me step wise. Comments are really appreciated
|
|
February 18, 2015, 03:11 |
|
#2 |
Member
Join Date: Nov 2014
Posts: 31
Rep Power: 12 |
Hi..
You have to use UDF for defining velocity profile at inlet. Code:
/********************************************************************** udfexample.c UDF for specifying a steady-state velocity profile boundary condition **********************************************************************/ #include "udf.h" /* must be at the beginning of every UDF you write */ DEFINE_PROFILE(x_velocity,thread,index) { real x[ND_ND]; /* this will hold the position vector */ real y; face_t f; begin_f_loop(f,thread) /* loops over all faces in the thread passed in the DEFINE macro argument */ { F_CENTROID(x,f,thread); y = x[1]; F_PROFILE(f,thread,index) = 20. - y*y/(.0745*.0745)*20.; } end_f_loop(f,thread) } You may refer http://aerojet.engr.ucdavis.edu/flue...df/node224.htm |
|
February 18, 2015, 13:44 |
|
#3 |
Member
Hassan Iftekhar
Join Date: Jan 2015
Posts: 40
Rep Power: 11 |
Thank you Maverick.. your post is very helpful. I will try doing that
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
UDF inlet velocity profile mismatch with Fluent | ChristineL | Fluent UDF and Scheme Programming | 15 | November 25, 2016 07:45 |
The fluent stopped and errors with "Emergency: received SIGHUP signal" | yuyuxuan | FLUENT | 0 | December 3, 2013 23:56 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |
RPM in Wind Turbine | Pankaj | CFX | 9 | November 23, 2009 05:05 |