CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

UDF in Cylindrical Coordinates

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   April 19, 2012, 03:14
Default UDF in Cylindrical Coordinates
New Member
Aydın Dönmez
Join Date: Feb 2012
Posts: 4
Rep Power: 7
donmezayd is on a distinguished road
dear all,
first of all, the problem is 3D and in cylindrical coordinates.
i have to specify a tangential velocity profile as a function of radius "r", but i think somthing is wrong with it. the values obtained from the udf does not match with real values (i also computed it with excell). i couldn't understand where the problem is. would you please have a look at the code? thanks!

#include "udf.h"
real x[ND_ND]; /* this will hold the position vector */
real r,R,omega;
face_t f;

F_PROFILE(f,t,i) = (omega*R*R/r)*(1-exp(-r*r/R*R));

Last edited by donmezayd; April 19, 2012 at 04:27.
donmezayd is offline   Reply With Quote


cylindrical coordinate, velocity profile

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF in Cylindrical Coordinate mas_viper Fluent UDF and Scheme Programming 17 January 12, 2018 06:04
working in cylindrical coordinates in fluent Randheer Yadav FLUENT 2 January 18, 2015 17:25
SIMPLE algorithm in 3D cylindrical coordinates zouchu Main CFD Forum 1 January 20, 2014 18:02
Finite Volume Method For Cylindrical Coordinates falopsy Main CFD Forum 44 January 15, 2014 03:17
Calculation in cylindrical coordinates Franz Wingelhofer CFX 0 December 28, 1999 08:46

All times are GMT -4. The time now is 10:55.