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

DEFINE_NET_REACTION_RATE problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 21, 2018, 05:47
Default DEFINE_NET_REACTION_RATE problem
  #1
New Member
 
Join Date: May 2018
Posts: 29
Rep Power: 8
CFDJonas is on a distinguished road
Hello everyone again,

I'm trying to switch to the stiff chemistry solver, thus my understanding is I have to swtich from DEFINE_VR_RATE to DEFINE_NET_REACTION_RATE (or DEFINE_CHEM_STEP). My problem is, when I hook the DEFINE_NET_REACTION_RATE the solver interrups even before going into the UDF once, because of a "Non-physical Specific Heat = 0.000000e+00". Even when I set the rate for each species to zero/or have a Message output in the first line of this UDF, nothing happens.

I also tried to achieve my goal by using the DEFINE_CHEM_STEP but then I have to assign new mass fracs. This is a little bit inconvinient as my rates are molar rates. However I managed to get some kind of result by calculating the concentration, calculating the rate, and then adding up the rate*CURRENT_TIMESTEP to the last concentration and then convert back to a mass fraction. However this does not deliver correct results (the CURRENT_TIMESTEP is always 1 so this multiplication is kinda weird to me).

Does anybody have a little bit of experience about chemistry using the stiff chemistry solver? I really don't know how to approach this problem.
CFDJonas is offline   Reply With Quote

Old   December 15, 2021, 20:58
Default
  #2
New Member
 
Jinshan Yi
Join Date: Dec 2021
Posts: 7
Rep Power: 5
study_CFD is on a distinguished road
Have you solved it? I have a similar problem
study_CFD is offline   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 compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 05:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 06:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 07:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 20:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 15:52


All times are GMT -4. The time now is 21:25.