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

UDF reading species data of pdf simulations

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2001, 18:15
Default UDF reading species data of pdf simulations
  #1
Jamiro
Guest
 
Posts: n/a
Hi CFD friends!

I'm implementing a UDF for NOx calculations on a pdf solution: I'm using the built-in DEFINE_SOURCE function to add a customized reaction rate to NO transport equation. To do this my UDF must read the values of some mass fraction species (variables C_YI(c,t,i)), already calculated in the main simulation. But running it, I don't succeed in performing one iteration at all because an error "SEGMENTATION VIOLATION..." appears. I guess it is because in pdf calculations only 'fmean' and 'fvar' are variable solutions, while species mass fractions are calculated in post-processing by means of look-up tables. In fact, running the same UDF on a finite-chemistry solution no problem was encountered.

Anyone may clarify that and purpose a solution for pdf species data to be read (or pointed) by this kind of UDF for NOx?

I'm thanking you a lot for any suggestion.

Jamiro
  Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF (write a data file) problem lichun Dong FLUENT 2 July 29, 2005 12:39
Retrieving species in UDF Fernando FLUENT 0 September 3, 2004 09:22
UDF and PDF species mass fractions Ale FLUENT 0 July 18, 2003 10:04
Reading data file MON FLUENT 4 September 20, 2002 15:25
Accessing solution data in UDF Ale FLUENT 1 June 12, 2002 01:25


All times are GMT -4. The time now is 11:56.