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

Linking new class to solver

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 25, 2005, 06:02
Default Hello, I would like write m
  #1
Senior Member
 
Markus Hartinger
Join Date: Mar 2009
Posts: 102
Rep Power: 17
hartinger is on a distinguished road
Hello,

I would like write my own class to extend icoFoam.
The class is defined in deflection.H and deflection.C, which are in the same directory as the solver. I included deflection.C in Make/files.
That works fines and everything compiles as long as I dont want to call any member functions of that class. If i call one of them it returns
> In function 'main':
> :undefined reference to 'main::deflection::test()'

I assume, I need to inclucde some command in Make/options, but I couldn't figure out which one.

thank you
Markus
hartinger is offline   Reply With Quote

 


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
linking several faces Christian F. FLUENT 1 June 6, 2008 06:29
How to access solver fields from fvPatchField%2360Type derived class that defines BC kar OpenFOAM Running, Solving & CFD 0 February 29, 2008 12:41
Problem for linking hsing OpenFOAM Running, Solving & CFD 2 April 19, 2006 04:07
Linking fortran and c vasanth Main CFD Forum 3 January 29, 2005 12:38
linking the script Mavinakere FLUENT 0 September 12, 2002 11:57


All times are GMT -4. The time now is 12:00.