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

DEFINE_SR_RATE Reaction Data Structure

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 9, 2012, 03:29
Default DEFINE_SR_RATE Reaction Data Structure
  #1
New Member
 
Marcus
Join Date: Mar 2012
Posts: 6
Rep Power: 5
MarcusW is on a distinguished road
Hey,

When using DEFINE_SR_RATE (name,f,t,r,my,yi,rr) the fourth argument is:

Reaction *r - A pointer to data structure for the reaction.

Does anyone know where I can find info on this data structure?
What I'm trying to find out is if I can use something like:

if (r == 0)
{
}
else if (r == 1)
{
}

to do different things for different reactions?

Any tips would be much appreciated.
Thanks, Marcus

Last edited by MarcusW; March 12, 2012 at 05:25.
MarcusW is offline   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
export data at nodes Meenu FLUENT 1 December 30, 2011 02:24
Fluent data structure and geometry Steven FLUENT 2 April 22, 2003 11:25
Meshing data structure Weiqing Yee Main CFD Forum 3 February 21, 2001 14:48
Structure of case and data files Frederic Nicolas FLUENT 1 August 4, 2000 11:54
Data Structure for the unstructured finite volume method Anthony Main CFD Forum 4 February 2, 1999 20:24


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