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

UDF CALL FOR PRESSURE

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 3, 2004, 17:24
Default UDF CALL FOR PRESSURE
  #1
D Harvey
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
  Reply With Quote

Old   June 3, 2004, 20:00
Default Re: UDF CALL FOR PRESSURE
  #2
STK
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
  Reply With Quote

Old   June 3, 2004, 21:46
Default Re: UDF CALL FOR PRESSURE
  #3
D Harvey
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
  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
How to call FORTRAN files as UDF? Ehsan-F Fluent UDF and Scheme Programming 6 September 11, 2012 11:03
UDF call function naftalena FLUENT 0 September 27, 2010 04:12
how to call diffusivity from Fluent to UDF Kim FLUENT 0 June 18, 2008 12:52
2D CFD code using SIMPLE algorithm bfan Main CFD Forum 3 June 22, 2002 22:01
Routine call in UDF Christian FLUENT 0 May 21, 2002 03:49


All times are GMT -4. The time now is 19:30.