CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

Fluent 5.2, UDF and Pressure BC's

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

LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2000, 07:02
Default Fluent 5.2, UDF and Pressure BC's
Alfonso Ferrandez
Posts: n/a
Dear all,

I've been working on a UDF for a loooong time now and there's something that's been baffling me ever since I started with it. Here's the details:

1) 2D Unsteady Incompressible

2) Pressure Inlet BC's (set with UDF and/or CONSTANT param)

3) Pressure Outlet BC's (set with UDF and/or CONSTANT param)

Now, I need to determine/set the pressure on any of the 1D outlet boundaries, which I can do. Also I need to determine/set the pressure on any of a whole lot of 1D interior entities, of these I can calculate the pressure but I cannot figure out how to impose it across the entity. So, the problem(s):

1) I need to be able to IMPOSE a pressure value across any of my INTERIOR 1D threads.

2) When I calculate pressure across a 1D thread (with F_P()) I can obtain a "face averaged" value, but this is not accurate enough. in fact, if I "Report" on the pressure and choose "Facet Averaged" I get the same value as my UDF, but if I use "Vertex Averaged" I get the exact Pressure I expected (the value I need in my UDF).

Sorry for the long post, but this is been driving me mad for a long time now and I know there's quite a few fine Fluent users here that might have the answer straight away.

Thanks for your help! AL

  Reply With Quote


Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF to adjust pressure outlet a.lynchy FLUENT 4 February 15, 2021 00:50
Transient pressure UDF for parallel fluent droberts Fluent UDF and Scheme Programming 5 October 11, 2010 04:13
UDF to define or adjust pressure??? engahmed FLUENT 0 July 6, 2010 17:19
correct UDF code for unsteady pressure boundary James W FLUENT 0 November 2, 2005 11:38
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 13:52.