CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Problem accessing Pressure

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

LinkBack Thread Tools Display Modes
Old   January 30, 2008, 23:15
Default Problem accessing Pressure
Babar Sharfuddin
Posts: n/a
Hi, I need to find the difference in pressure of gas and liquid phase flow in my packed bed. I have used the macro C_P(cell,thread) with the liquid and gas phase threads, but Fluent gives the same value for both. Is there a way to access separate phase pressures? A part of my UDF is given below. Please help.

C_UDMI(c,t,0) = C_P(c,tp_g); /* Gas phase pressure */ C_UDMI(c,t,1) = C_P(c,tp_l); /* Liquid phase pressure */ C_UDMI(c,t,2) = C_P(c,tp_l)-C_P(c,tp_g); /* This returns zero */

PS: I have looked at the phase pressures (dynamic) contours, it is different for both the phases.
  Reply With Quote

Old   January 31, 2008, 08:34
Default Re: Problem accessing Pressure
Posts: n/a
In multiphase flows Fluent uses a common pressure ... discussed in manual.
  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
Pressure inlet problem Laci FLUENT 2 October 5, 2010 04:51
Pressure calculation problem maolongliu OpenFOAM 1 August 15, 2010 08:05
pressure gradient term in low speed flow Atit Koonsrisuk Main CFD Forum 2 January 10, 2002 11:52
A problem on the pressure John Main CFD Forum 6 November 18, 2000 07:41
Hydrostatic pressure in 2-phase flow modeling (long) DS & HB Main CFD Forum 0 January 8, 2000 16:00

All times are GMT -4. The time now is 14:52.