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

Drawing a velocity profile as inlet boundary condition in Fluent ANSYS ????

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 17, 2015, 23:51
Lightbulb Drawing a velocity profile as inlet boundary condition in Fluent ANSYS ????
  #1
Member
 
Hassan Iftekhar
Join Date: Jan 2015
Posts: 40
Rep Power: 11
hasanifte is on a distinguished road
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
hasanifte is offline   Reply With Quote

Old   February 18, 2015, 02:11
Default
  #2
Member
 
Join Date: Nov 2014
Posts: 31
Rep Power: 11
maverick123 is on a distinguished road
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
maverick123 is offline   Reply With Quote

Old   February 18, 2015, 12:44
Default
  #3
Member
 
Hassan Iftekhar
Join Date: Jan 2015
Posts: 40
Rep Power: 11
hasanifte is on a distinguished road
Thank you Maverick.. your post is very helpful. I will try doing that
hasanifte 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
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
UDF inlet velocity profile mismatch with Fluent ChristineL Fluent UDF and Scheme Programming 15 November 25, 2016 06:45
The fluent stopped and errors with "Emergency: received SIGHUP signal" yuyuxuan FLUENT 0 December 3, 2013 22:56
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05


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