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

UDF for outlet-vent pressure adaption

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

LinkBack Thread Tools Display Modes
Old   June 15, 2012, 10:08
Default UDF for outlet-vent pressure adaption
Senior Member
Join Date: May 2011
Location: Germany
Posts: 130
Rep Power: 8
Zigainer is on a distinguished road

following case:

I do have 3 pressure-vent outlets. At the end I want to have a specific mass flow rate at each outlet (-+5%). If I use target mass flow rate my calculations crash (pressure is adapted every time step, right?)

So I want somehow a function (UDF?) which check the mass flow after 1000 iterations. If it is within a limit its fine, if not the pressure should be adapted (lets say old_pressure - 1000) ... and this gain every 1000 iterations ...

Can you help me with this? I had no experience with UDF so far and I just did it manually (stop after 1000 iterations, check mass flow, change pressure) ...

Zigainer is offline   Reply With Quote


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
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
Accelerating pre and checking the mfr at exit how to hook udf to Pressure inlet(BC) kokoory Fluent UDF and Scheme Programming 0 August 17, 2011 08:20
UDF Hydrostatic Pressure Outlet Bridget FLUENT 0 May 16, 2006 17:55
Hydrostatic pressure in 2-phase flow modeling (long) DS & HB Main CFD Forum 0 January 8, 2000 16:00
UDF in Fluent to Match Mass Flow at Pressure Outlet Jonas Larsson Main CFD Forum 1 April 29, 1999 10:44

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