|
[Sponsors] | |||||
Drawing a velocity profile as inlet boundary condition in Fluent ANSYS ???? |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Member
Hassan Iftekhar
Join Date: Jan 2015
Posts: 40
Rep Power: 12 ![]() |
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
|
|
|
|
|
|
|
|
|
#2 |
|
Member
Join Date: Nov 2014
Posts: 31
Rep Power: 13 ![]() |
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 |
|
|
|
|
|
|
|
|
#3 |
|
Member
Hassan Iftekhar
Join Date: Jan 2015
Posts: 40
Rep Power: 12 ![]() |
Thank you Maverick.. your post is very helpful. I will try doing that
|
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |