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

Adjust reaction rates

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2006, 11:37
Default Adjust reaction rates
  #1
Martin Skov Rasmussen
Guest
 
Posts: n/a
I want to model a chemically reacting flow. The flow is laminar and involves 6 species in 4 reactions. The rate expressions I have at hand do, however, not comply with the modified Arrhenius expression applied in Fluent although "my" rate expressions only differ by a multiplication of an additional term (1-B).

r = k*T^n*exp(-Ea/RT)*(1-B)

Does anyonw know if it is possible to simply make an adjustment in UDF of the rate calculated by Fluent?

I have considdered to make the adjustment via the macro DEFINE_VR_RATE...

Any help?
  Reply With Quote

Old   February 27, 2006, 03:42
Default Re: Adjust reaction rates
  #2
RoM
Guest
 
Posts: n/a
Is (1-B)=const ? In this case you could include it in k.

RoM
  Reply With Quote

Old   February 27, 2006, 07:07
Default Re: Adjust reaction rates
  #3
Martin Skov Rasmussen
Guest
 
Posts: n/a
No, B is a function of species concentrations and thermodynamic properties, but I have all these data and properties at hand and can easily write this into a UDF...
  Reply With Quote

Old   February 27, 2006, 07:58
Default Re: Adjust reaction rates
  #4
RoM
Guest
 
Posts: n/a
In this case a DEFINE_VR_RATE udf would be the best option.

RoM
  Reply With Quote

Old   February 27, 2006, 08:49
Default Re: Adjust reaction rates
  #5
Martin Skov Rasmussen
Guest
 
Posts: n/a
I have tried this using an interpreted as well as compiled version and both fails to run. I recieve an error during the first iteration. Do you know if a turbulence model must be invoked in order for the UDF to work. Even the example IU have found in the UDF manual seems to fail when the flow is laminar...
  Reply With Quote

Old   February 27, 2006, 11:11
Default Re: Adjust reaction rates
  #6
HS
Guest
 
Posts: n/a
If not already doing so, try assigning values to both *rate and *rr_t (FLUENT will pick the limiting one as in the Eddy Viscosity model), i.e.

*rate = (whatever your formula is);

*rr_t = *rate;

Maybe this helps!

/Henrik

  Reply With Quote

Old   February 28, 2006, 06:27
Default Re: Adjust reaction rates
  #7
rom
Guest
 
Posts: n/a
Have you tried the soultion procedure outlined in the fluent manual? Try to start with a cold flow solution with no reactions and then gradually add the reactions one by one. If the system is numerical stiff it will then start to diverge and you need to use the stiff chemistry solver.

RoM
  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
Segmentation fault in running alternateSteadyReactingFoam,why? NewKid OpenFOAM 18 January 20, 2011 17:55
combustion - reaction rates - urgent help needed siri Main CFD Forum 2 March 3, 2007 13:25
EDC l- Reaction Rates are Zero for some Reactions Atul FLUENT 2 October 7, 2005 11:38
chemical reaction - decompostition La S. Hyuck CFX 1 May 23, 2001 01:07
Reaction rates Szasz Robert FLUENT 1 May 10, 2000 07:06


All times are GMT -4. The time now is 01:04.