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

UDF Beginner

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2004, 15:45
Default UDF Beginner
  #1
Bob
Guest
 
Posts: n/a
I am new to Fluent and UDF's. My problem. I have two cubes stacked on top of each other with a gap of 0.06 inch between the cubes. The cubes are attached by a cylinder and where all have been unioned. My problem is that I am to create a UDF at the pressure outlet of the top cause so that the mass flow rate through the hole between the two cubes is held constant. I have read the UDF manual and I am confused. What would be the best way to start the UDF? Any Help?
  Reply With Quote

Old   April 20, 2004, 06:40
Default Re: UDF Beginner
  #2
Alamgir
Guest
 
Posts: n/a
just like velocity profile.... write a udf for pressure outflow and interprete it and then call it whr necessary

Alamgir
  Reply With Quote

Old   April 20, 2004, 15:31
Default Re: UDF Beginner
  #3
Bob
Guest
 
Posts: n/a
I could use some guidance. The hole doesn't have any boundary conditions. It is defined as an internal boundary. There are two internal bc's, one where the hole is in the top cube and one at the top of bottom cube. As explained earlier the two cubes are connected by a 0.06 height hollow cylinder. I am to set up the problem to have a set mass flow rate through the cylinder(hole). To have this done I must adjust the back pressure at the outlet. I am having a hard time developing this since the hole is defined as a internal bc and relating the hole to the pressure outlet. My Pressure at the outlet is defined by this equation: ([mass flow rate(hole)/.6(Area(hole))]^2)*(1/2*(density)). I start with an initial guess and have a low range and a high range until the solution converges to a pressure at the preset mass flow rate at the hole. Any help will be appreciated.
  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
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 08:37
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 22:38
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 05:01
UDF Beginner M. A. Rakib FLUENT 1 June 6, 2000 12:23


All times are GMT -4. The time now is 06:58.