CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   UDF CALL FOR PRESSURE (https://www.cfd-online.com/Forums/fluent/33879-udf-call-pressure.html)

D Harvey June 3, 2004 17:24

UDF CALL FOR PRESSURE
 
Hi!

I am running a test loop to verify a call for pressure. I use a Define_on_demand and I loop through all threads in the domain and store the pressure in a UDMI. I am calling pressure via C_P(c,t). Now when I view this UDMI , it is not similar to ANY of the pressure plots available. It does NOT resemble static, absolute, dynamic, total or relative total. For example the maximum value on my static pressure is approx 30 pascals and the maximum value via the C_P call is 11 pascals. What is C_P supposed to be returning? (I thought it was the static value?) (My Fluent version is 6.1.22)

Thanks,

DH

STK June 3, 2004 20:00

Re: UDF CALL FOR PRESSURE
 
Hi! C_P is the static pressure corresponding to each cell thread. When you execute the define_on_demand? you must execute it after the last iteration! i think this is your mistake. If it isn't send the code.

I want to ask you which are in brief the basic improvements of 6.1.22 comparely to 6.1.18? thanks

D Harvey June 3, 2004 21:46

Re: UDF CALL FOR PRESSURE
 
Hi!

I fixed it, oddly, I forgot to initialize something...that didn't appear related, but apparently was!

The improvements in 6.1.22 are given by fluent in a little list included in the html help files, I don't remember most of the fixes as they really didn't apply to my work. But there is a bug in 6.1.18 that I didn't see in the list. The bug relates to attempting to define diffusivities for a multicomponent species model. It outright does not work in 6.1.18 and is fixed in 6.1.19 and further. In 6.1.18 you are only passed a 0,1 for the i index, but you require 0,1,2.

Thanks,

DH


All times are GMT -4. The time now is 10:28.