|
[Sponsors] |
November 22, 2011, 10:47 |
simpleFunctionObjects and OpenFOAM 2.0.x
|
#1 |
Member
Oliver Lauer
Join Date: Mar 2009
Location: Coburg
Posts: 57
Rep Power: 17 |
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 |
|
November 22, 2011, 15:26 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Oliver,
Here's a quote from the wiki page dedicated to simpleFunctionObjects: Quote:
Best regards, Bruno
__________________
|
||
November 22, 2011, 17:48 |
|
#3 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
||
November 23, 2011, 04:50 |
|
#4 |
Member
Oliver Lauer
Join Date: Mar 2009
Location: Coburg
Posts: 57
Rep Power: 17 |
Thank you very much.
As always, it is an advantage if you can read Nevertheless, my original posting wasn't completely useless |
|
|
|
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 07:55 |
OpenFOAM 2.0.x libscotch issues | gfilip | OpenFOAM Installation | 4 | July 11, 2011 12: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 07:25 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 06:56 |