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

Problem Accessing Obscure Data Variables in Fluent

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 10, 2013, 16:31
Unhappy Problem Accessing Obscure Data Variables in Fluent
  #1
New Member
 
Phil
Join Date: Jun 2013
Posts: 11
Rep Power: 13
randomPhil is on a distinguished road
hi all,

I'm writing a udf to time average certain variables (for NOx model-LES-combustion) that aren't done normally by Fluent but could really use some help...

Can anyone advise how to retrieve data for obscure variables such as premixed-g-equation, and species concentrations for o2 and n2 using a udf? The problem is that I need to import time-averaged data into the corresponding instantaneous data variables for the NOx post-processing model to use, but the udf manual only has the names for common variables like temperature and mixture fraction

Alternatively can anyone suggest how I may be able to work out the variable names?

Any help is greatly appreciated!!!
randomPhil is offline   Reply With Quote

Old   December 11, 2013, 13:27
Default
  #2
Senior Member
 
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17
macfly is on a distinguished road
In the udf manual release 14.5, see Table 3.8: Macros for cell flow variables... You can access species mass fractions with the C_YI(c,t,i) macro.
macfly is offline   Reply With Quote

Old   December 12, 2013, 12:35
Default
  #3
New Member
 
Phil
Join Date: Jun 2013
Posts: 11
Rep Power: 13
randomPhil is on a distinguished road
hi, thanks for the response!

the problem is that I am using the flamelet model so the code you gave doesn't give the species concentrations as they are mixture fraction quantities instead of being species mass fractions, I was wondering if there is any way to work out the code to use to call the variables not listed in the udf guide?

... I think another similar post suggested writing a data file to see them so possibly this is the solution
randomPhil is offline   Reply With Quote

Old   December 12, 2013, 12:42
Default
  #4
Senior Member
 
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17
macfly is on a distinguished road
Still in udf manual release 14.5, section 3.2.3.6.1. says you can retrieve mole/mass fractions into arrays.
macfly is offline   Reply With Quote

Reply

Tags
combustion, fluent, les, udf, variable


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
The fluent stopped and errors with "Emergency: received SIGHUP signal" yuyuxuan FLUENT 0 December 3, 2013 23:56
[GAMBIT] periodic faces not matching Aadhavan ANSYS Meshing & Geometry 6 August 31, 2013 12:25
problem in importing fluent case nad data files to tecplot ganeshranakoti Tecplot 1 March 5, 2013 17:59
problem opening case and data in fluent Adam FLUENT 1 February 15, 2007 17:53
venturi-meter validation problem in accessing data Micheal Deren FLUENT 0 December 27, 2005 03:31


All times are GMT -4. The time now is 16:07.