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

Parabolic UDF velocity check in Fluent 17.1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 26, 2016, 08:11
Unhappy Parabolic UDF velocity check in Fluent 17.1
  #1
New Member
 
Amit Koikkarah Aji
Join Date: Oct 2016
Posts: 5
Rep Power: 9
averageindianjoe is on a distinguished road
Dear Members,

I am a new user to the FLUENT module and have just started to use user-defined function in FLUENT17.1
I wrote a user-defined function for a parabolic flow profile in 3d cylinder which is as follows:

#include "udf.h"
DEFINE_PROFILE(inlet_vel_parabolic, thread, index)
{
/******** user input *********/
real vel_avg=0.1;
real radius=0.0035;

/******** user input *********/
face_t face;
real xc[3];
begin_f_loop(face, thread)
{

F_CENTROID(xc,face,thread);
F_PROFILE(face, thread, index) = 2.*vel_avg*(1-((xc[1]*xc[1]+xc[2]*xc[2])/(radius*radius)));
}
end_f_loop(face, thread)
}

My simulation does not have a reverse flow during the simulation but however while checking the contour after simulation, it has a weird profile.The required profile at the inlet appears at the outlet and vice-versa.
This problem has only been encountered in the newer version of Fluent 17.1 and not in the older version.

Kindly guide me through this issue.
averageindianjoe 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
UDF in Fluent Andrew Fluent UDF and Scheme Programming 5 March 7, 2016 03:38
what's the udf name to check the availability of face value of velocity? aestas Fluent UDF and Scheme Programming 1 May 23, 2015 05:02
3-D parabolic velocity Inlet - Steady state - UDF Turbulent Flow mohibanwar Fluent UDF and Scheme Programming 10 May 18, 2015 10:34
3D UDF parabolic velocity profil le steph FLUENT 0 June 20, 2014 04:12
Ansys FLUENT UDF - Velocity profile (of known values) across edge / surface emmkell Fluent UDF and Scheme Programming 2 October 21, 2011 13:12


All times are GMT -4. The time now is 13:16.