CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

UDF reading species data of pdf simulations

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

LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2001, 17:15
Default UDF reading species data of pdf simulations
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.

  Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 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 11:39
Retrieving species in UDF Fernando FLUENT 0 September 3, 2004 08:22
UDF and PDF species mass fractions Ale FLUENT 0 July 18, 2003 09:04
Reading data file MON FLUENT 4 September 20, 2002 14:25
Accessing solution data in UDF Ale FLUENT 1 June 12, 2002 00:25

All times are GMT -4. The time now is 15:38.