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

UDF for an annular disc.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 26, 2016, 15:14
Default UDF for an annular disc.
  #1
New Member
 
Alex Skerhut
Join Date: Mar 2016
Posts: 10
Rep Power: 10
alexskerhut is on a distinguished road
Hey I have an annular disc whose radius goes from 5mm to 10mm and I need to write a UDF as a function of angle and radius in cylindrical co-ordinate system. I will use the DEFINE_PROFILE function but I am not able to understand how to in corporate the radius and the angle variation in disc.

Kindly help, I have searched a lot but not able to figure out the solution.
alexskerhut is offline   Reply With Quote

Old   May 26, 2016, 20:18
Default
  #2
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
Are you running Fluent with Cartesian coordinates? You can convert between cylindrical to Cartesian coordinates with (x,y) = (r cos(theta),r sin(theta)). Note: you need to account for the displacement of the circle if it's not centred about the origin.
`e` is offline   Reply With Quote

Old   June 3, 2016, 03:27
Default
  #3
New Member
 
Alex Skerhut
Join Date: Mar 2016
Posts: 10
Rep Power: 10
alexskerhut is on a distinguished road
Yes, I am running fluent with cartesian coordinates. My global coordinate system is 10mm above the centre of the annular disc and I want to define heat flux using DEFINE_PROFILE as a function of radial distance and angular position. Heat flux if of type = r - sin(theta) form multiplied by some constants. I am unable to write UDF for such function in cylindrical coordinates. Also theta is the angle measured from which of the axis. I need to measure theta in anticlockwise sense from the x axis along z axis. Please help me writing the UDF for the above function.

Please help me and thanks in Advance.
alexskerhut is offline   Reply With Quote

Old   December 30, 2017, 07:12
Default
  #4
Member
 
Join Date: Apr 2017
Location: india
Posts: 96
Rep Power: 9
sooraj546 is on a distinguished road
DID u find a solution for it @alexskerhut?
sooraj546 is offline   Reply With Quote

Reply

Tags
rotary parts, rotating boundary, rotating disc, rotating disk, udf code


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 for valve closing a pipe using dynamic mesh chem engineer Fluent UDF and Scheme Programming 2 May 13, 2017 10:39
Fluent Radiation/porous media Schmitt pierre-Louis FLUENT 26 September 1, 2016 11:29
Simulation of Axial Fan Flow using A Momentum Source Subdomain Liam CFX 28 July 16, 2013 09:24
fan driven flow, Fan BC validation (getting lost) soonic OpenFOAM Running, Solving & CFD 0 July 7, 2013 20:16
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 05:03


All times are GMT -4. The time now is 00:46.