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

simpleFunctionObjects and OpenFOAM 2.0.x

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By gschaider

Reply
 
LinkBack Thread Tools Display Modes
Old   November 22, 2011, 10:47
Default simpleFunctionObjects and OpenFOAM 2.0.x
  #1
Member
 
Oliver Lauer
Join Date: Mar 2009
Location: Coburg
Posts: 57
Rep Power: 8
olauer is on a distinguished road
Hello everybody,

is there already a version of simpleFunctionObjects which compiles with OpenFOAM 2.0.x? For me
wmake libso
ends up with

SOURCE=patch/patchAverageFunctionObject/patchAverageFunctionObject.C ; g++-4.3 -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Woldstyle-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/data/rod/simulation/OpenFOAM/OpenFOAM-2.0.x/src/finiteVolume/lnInclude -I/data/rod/simulation/OpenFOAM/OpenFOAM-2.0.x/src/meshTools/lnInclude -I/data/rod/simulation/OpenFOAM/OpenFOAM-2.0.x/src/sampling/lnInclude -I/data/rod/simulation/OpenFOAM/OpenFOAM-2.0.x/src/triSurface/lnInclude -I/data/rod/simulation/OpenFOAM/OpenFOAM-2.0.x/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/data/rod/simulation/OpenFOAM/OpenFOAM-2.0.x/src/OpenFOAM/lnInclude -I/data/rod/simulation/OpenFOAM/OpenFOAM-2.0.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/patchAverageFunctionObject.o
/data/rod/simulation/OpenFOAM/OpenFOAM-2.0.x/src/OpenFOAM/lnInclude/functionObject.H: In static member function 'static Foam::autoPtr<Foam::functionObject> Foam::functionObject::adddictionaryConstructorToTa ble<functionObjectType>::New(const Foam::word&, const Foam::Time&, const Foam::dictionary&) [with functionObjectType = Foam::PatchAverageFunctionObject]':
/data/rod/simulation/OpenFOAM/OpenFOAM-2.0.x/src/OpenFOAM/lnInclude/functionObject.H:91: instantiated from 'Foam::functionObject::adddictionaryConstructorToT able<functionObjectType>::adddictionaryConstructor ToTable(const Foam::word&) [with functionObjectType = Foam::PatchAverageFunctionObject]'
patch/patchAverageFunctionObject/patchAverageFunctionObject.C:44: instantiated from here
/data/rod/simulation/OpenFOAM/OpenFOAM-2.0.x/src/OpenFOAM/lnInclude/functionObject.H:84: error: cannot allocate an object of abstract type 'Foam::PatchAverageFunctionObject'
patch/patchAverageFunctionObject/patchAverageFunctionObject.H:54: note: because the following virtual functions are pure within 'Foam::PatchAverageFunctionObject':
/data/rod/simulation/OpenFOAM/OpenFOAM-2.0.x/src/OpenFOAM/lnInclude/functionObject.H:152: note: virtual bool Foam::functionObject::execute(bool)
make: *** [Make/linux64GccDPOpt/patchAverageFunctionObject.o] Error 1

Thanks for any ideas

Oliver
olauer is offline   Reply With Quote

Old   November 22, 2011, 15:26
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Oliver,

Here's a quote from the wiki page dedicated to simpleFunctionObjects:
Quote:
Originally Posted by http://openfoamwiki.net/index.php/Contrib_simpleFunctionObjects
Note: This library will be integrated into swak4Foam starting with OF 2.0. The library is still compilable independently of the other parts of swak


Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   November 22, 2011, 17:48
Default
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by wyldckat View Post
Greetings Oliver,

Here's a quote from the wiki page dedicated to simpleFunctionObjects:


Best regards,
Bruno
There is even a link to download it via SVN at the bottom of the page. Haven't you seen it? It's been there for .... er .... almost 2 minutes
wyldckat likes this.
gschaider is offline   Reply With Quote

Old   November 23, 2011, 04:50
Thumbs up
  #4
Member
 
Oliver Lauer
Join Date: Mar 2009
Location: Coburg
Posts: 57
Rep Power: 8
olauer is on a distinguished road
Thank you very much.

As always, it is an advantage if you can read

Quote:
Originally Posted by gschaider View Post
There is even a link to download it via SVN at the bottom of the page. Haven't you seen it? It's been there for .... er .... almost 2 minutes
Nevertheless, my original posting wasn't completely useless
olauer is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Intel Compiler 12.1 + Ubuntu 11.10 (gcc 4.6) + OpenFOAM 2.0.x wyldckat OpenFOAM Installation 0 November 4, 2011 15:52
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
OpenFOAM 2.0.x libscotch issues gfilip OpenFOAM Installation 4 July 11, 2011 11:23
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56


All times are GMT -4. The time now is 18:49.