Closed GoogleCodeExporter closed 9 years ago
Dear Cantera user,
To define the curve parameter in file "refine.cpp", at line 156 (Cantera 1.8
beta), the variable "dz" is used. The problem seems to be that dz is defined at
line 181, after the for cycle used to refine the grid with slope and curve
parameters. So whatever the value of the curve parameter, it is not used. To
fixed that bug, I have replaced dz with z[j+1]-z[j] at line 156. It seems to
work well. I have sent the script in the attached file.
Regards.
Ludovic Ponty.
Original comment by cybervac...@yahoo.fr
on 17 Jan 2011 at 5:25
Attachments:
Hi Ludovic,
Yes, this is precisely what needs to be done to fix the bug in the code. This
change should be added to the source.
Best wishes,
Graeme Watson
Original comment by watso...@gmail.com
on 17 Jan 2011 at 6:09
Original comment by yarmond
on 28 May 2011 at 12:05
Fixed in r1393.
Original comment by yarmond
on 10 Apr 2012 at 3:14
Original issue reported on code.google.com by
watso...@gmail.com
on 27 Dec 2010 at 2:00