|
[Sponsors] |
June 3, 2004, 18:24 |
UDF CALL FOR PRESSURE
|
#1 |
Guest
Posts: n/a
|
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 |
|
June 3, 2004, 21:00 |
Re: UDF CALL FOR PRESSURE
|
#2 |
Guest
Posts: n/a
|
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 |
|
June 3, 2004, 22:46 |
Re: UDF CALL FOR PRESSURE
|
#3 |
Guest
Posts: n/a
|
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to call FORTRAN files as UDF? | Ehsan-F | Fluent UDF and Scheme Programming | 6 | September 11, 2012 12:03 |
UDF call function | naftalena | FLUENT | 0 | September 27, 2010 05:12 |
how to call diffusivity from Fluent to UDF | Kim | FLUENT | 0 | June 18, 2008 13:52 |
2D CFD code using SIMPLE algorithm | bfan | Main CFD Forum | 3 | June 22, 2002 23:01 |
Routine call in UDF | Christian | FLUENT | 0 | May 21, 2002 04:49 |