|
[Sponsors] |
October 19, 2009, 23:11 |
C_H_G problem!
|
#1 |
New Member
Join Date: Oct 2009
Posts: 6
Rep Power: 16 |
Hi there,
I include the macro C_H_G in my energy source term,then fluent show me the error: Error: FLUENT received fatal signal (ACCESS_VIOLATION) 1. Note exact events leading to error. 2. Save case/data under new name. 3. Exit program and restart to continue. 4. Report error to your distributor. Error Object: () my source term: DEFINE_SOURCE(energy_source,c,t,dS,eqn) { real x[ND_ND]; real source; real jr,jx; C_CENTROID(x,c,t); jr=-b*C_UDSI_G(c,t,0)[1]; jx=-b*C_UDSI_G(c,t,0)[0]; source=(pow(jx,2)+pow(jr,2))/b +(2.5*kB/e)*((jx*C_H_G(c,t)[0]+jr*C_H_G(c,t)[1])/C_CP(c,t)) -sr; dS[eqn]=0; return source; } I have displaced variables in my source term by constants one by one, and fluent can run except MACRO C_H_G, how can I use the macro? Please help me!!! |
|
October 26, 2009, 07:13 |
|
#2 |
Member
Krishna
Join Date: Oct 2009
Posts: 34
Rep Power: 16 |
Hi,
As a thumb rule you can assume that if combustion is occuring, energy equation in the form of enthalpy is solved else energy equation in form of temperature is used. Can you please describe your problem? Rgds, |
|
|
|