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

How can I extend simpleFunctionObjects module

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 23, 2008, 15:47
Default Hi: I'd like to extend the
  #1
New Member
 
Alex Schenkman
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 13
Rep Power: 17
alesch is on a distinguished road
Hi:

I'd like to extend the class patchAverageFunction, which is part of the contributed module simpleFunctionObjects.

As a first, and easy, step I've created a new folder, with a .H and a .C file inside.

How should I modify the build files so my new class gets built as well?

I've added my source to Make/files, but when running wmake libso, it complains about missing dependencies for my source file.

wmake does not want to build this .dep file, that I've seen in the other classes.

Thanks in advance, and Merry Christmas!
alesch is offline   Reply With Quote

Old   December 29, 2008, 09:17
Default After a night's sleep I found
  #2
New Member
 
Alex Schenkman
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 13
Rep Power: 17
alesch is on a distinguished road
After a night's sleep I found the solution, :-)

I added the line with my .C file at the end of the build list rather than on top.

That solved it!
alesch is offline   Reply With Quote

Reply


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
How can I extend the domain in Fluent? gabrielg FLUENT 1 November 12, 2008 01:44
can MAPLE extend an equation into each component? Hui Main CFD Forum 1 July 13, 2008 12:56
how to extend FSI 2D codes to 3D, need advises abouziar Main CFD Forum 1 May 30, 2008 05:08
How to extend the time for particles track? Mary FLUENT 0 February 8, 2006 01:05
how to extend mesh in ICEM5? ICEMuser CFX 2 November 23, 2004 01:27


All times are GMT -4. The time now is 20:31.