CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

A trial of implementing of CVODE as ODESolver

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By luiscardona

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 14, 2012, 16:12
Default
  #7
New Member
 
Joseph Urich
Join Date: Mar 2009
Location: Pittsburgh, PA
Posts: 21
Rep Power: 17
jurich is on a distinguished road
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.
jurich is offline   Reply With Quote

 

Tags
cvode, odesolver, sundials


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
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


All times are GMT -4. The time now is 11:47.