|
[Sponsors] |
A trial of implementing of CVODE as ODESolver |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 14, 2012, 16:12 |
|
#7 |
New Member
Joseph Urich
Join Date: Mar 2009
Location: Pittsburgh, PA
Posts: 21
Rep Power: 17 |
Aleksey,
I've been looking into implementing CVODE or LSODE in OF 2.0.x, and came across your post. In yours, the line in BDF.C: f_data = new BDF(*this); tries to implement BDF using a copy constructor, which you didn't implement. That should be why the linker complains "undefined reference to ODESolver constructor" when you try to build an application. I think you should just be able to use: f_data = this; to get it working, but haven't tried it (I'm not running 1.6ext at the moment). Also, I hope you're aware of alternateChemistryModel, which implements Cantera and sundials/cvode? If not, it might be worth looking for. Regards. |
|
Tags |
cvode, odesolver, sundials |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 1.7 and CVODE | adhiraj | OpenFOAM | 6 | May 22, 2011 00:01 |
Problem implementing CVODE ODE solver | markusrehm | OpenFOAM | 20 | October 13, 2010 17:02 |
CVODE Error message | Robert | FLUENT | 2 | February 12, 2003 18:28 |