|
[Sponsors] |
December 21, 2018, 05:47 |
DEFINE_NET_REACTION_RATE problem
|
#1 |
New Member
Join Date: May 2018
Posts: 29
Rep Power: 8 |
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. |
|
December 15, 2021, 20:58 |
|
#2 |
New Member
Jinshan Yi
Join Date: Dec 2021
Posts: 7
Rep Power: 5 |
Have you solved it? I have a similar problem
|
|
|
|
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 |