CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

UDF in Fluent to Match Mass Flow at Pressure Outlet

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

LinkBack Thread Tools Display Modes
Old   April 29, 1999, 02:58
Default UDF in Fluent to Match Mass Flow at Pressure Outlet
Jonas Larsson
Posts: n/a
I'm running a case in Fluent where I need to match the outlet massflow to a certain given value. The outlet is a simple pressure outlet. Until now I have been doing this manually by iteratively adjusting the pressure until the massflow becomes correct. There must be a better way to do this automatically with a UDF (user defined function) in Fluent.

The UDF should compute the average outlet massflow and then adjust the outlet pressure based on Bernoulli to eventually obtain the right mass-flow. This could be done say every 100th iteration or so - not to often, that will be unstable.

Has anyone done this? I don't want to re-invent the wheel.

Thanks in advance!

The case btw is a fighter aircraft. I'm simulating the whole external flow including the air-intakes and the duct down to the engine inlet. The mass-flow I want to match is the engine inlet mass-flow.

  Reply With Quote

Old   April 29, 1999, 10:44
Default Re: UDF in Fluent to Match Mass Flow at Pressure Outlet
John C. Chien
Posts: n/a
(1). The only concern is the possibility of exit plane flow separation in the inlet diffuser. It can happen at the steady-state solution or during iteration. (2). In the steady-state case, the flow separation depends on the operating condition of the aircraft, that is the flow approaching the inlet locally. For the flow separation during the iteration, it depends on the initial flow field guess and solver. (3). Since the specification of the pressure is at the down stream station, you have to wait long enough for the inlet condition to change so that the whole solution is converged. This is especially important for the transient compressible flow solver. (4). You can try to make it automatic if there is no exit plane flow separation. ( I havn't done it)
  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
Problems in pressure when using mass flow rate outlet rafiktharwat CFX 11 January 2, 2014 18:21
Pressure Outlet Guage pressure Mohsin FLUENT 34 January 12, 2012 06:45
Using pressure outlet BC Shreyansh FLUENT 0 November 5, 2010 15:57
Reversed flow at pressure outlet Seeker Phil FLUENT 9 January 2, 2010 06:21
Fluent 5.2, UDF and Pressure BC's Alfonso Ferrandez FLUENT 0 May 4, 2000 07:02

All times are GMT -4. The time now is 20:48.