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

Fluent 5.2, UDF and Pressure BC's

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 4, 2000, 07:02
Default Fluent 5.2, UDF and Pressure BC's
  #1
Alfonso Ferrandez
Guest
 
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

Reply

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
UDF to adjust pressure outlet a.lynchy FLUENT 3 February 13, 2012 05:03
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 12: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 04:17.