CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Problem accessing Pressure (https://www.cfd-online.com/Forums/fluent/47178-problem-accessing-pressure.html)

Babar Sharfuddin January 30, 2008 22:15

Problem accessing Pressure
 
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.

Phil January 31, 2008 07:34

Re: Problem accessing Pressure
 
In multiphase flows Fluent uses a common pressure ... discussed in manual.


All times are GMT -4. The time now is 21:47.