CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   turboPerformance in OF 2.1 (http://www.cfd-online.com/Forums/openfoam-programming-development/101933-turboperformance-2-1-a.html)

BigPapi34 May 17, 2012 08:44

turboPerformance in OF 2.1
 
Hi there,

I am a new OF user and am currently running v2.1. Something which would be useful for me to use is the functionObject Library 'turboPerformance'. However, this was originally only supported by v1.5-dev and v1.6-ext and I am having difficulty performing wmake libso in order to compile it, with the specific error:

forces/forces.C: In member function ‘virtual void Foam::forces::read(const Foam::dictionary&)’:
forces/forces.C:191:70: error: no matching function for call to ‘Foam::polyBoundaryMesh::patchSet(Foam::wordList) const’

forces/forces.C:191:70: note: candidate is:
/opt/openfoam210/src/OpenFOAM/lnInclude/polyBoundaryMesh.H:173:22: note: Foam::labelHashSet Foam::polyBoundaryMesh::patchSet(const Foam::UList<Foam::wordRe>&, bool) const

/opt/openfoam210/src/OpenFOAM/lnInclude/polyBoundaryMesh.H:173:22: note: no known conversion for argument 1 from ‘Foam::wordList {aka Foam::List<Foam::word>}’ to ‘const Foam::UList<Foam::wordRe>&’

make: *** [Make/linux64GccDPOpt/forces.o] Error 1

I have attempted to modify the forces.C file, trying to alter the wordList section with little success.

I am wondering if anyone has had experienced of attempting to use turboPerformance in 2.1?

Any info (good or bad) would be appreciated.

Thanks

renyun0511 May 7, 2013 08:13

Hi, BigPapi,

I have the same question with you. Do you solve it ? I'd like to hear from you! Thank you very much!

Regards,

Yun Ren


All times are GMT -4. The time now is 14:01.