CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Are OSIG TurboMachinery libraries able to work under OpenFOAM-1.6-ext? (https://www.cfd-online.com/Forums/openfoam-installation/83584-osig-turbomachinery-libraries-able-work-under-openfoam-1-6-ext.html)

linnemann March 2, 2011 04:25

2 Attachment(s)
1.6 ext versions of transientSimpleDyMFoam and turboPerformance library.

BigPapi34 August 30, 2012 06:05

Hi there,

Quick question really - is turboPerformance something that will work with OpenFoam 2.1.x?

Any info would be great.

Cheers

hani August 30, 2012 06:30

turboPerformance has been merged with 2.0.x, and I guess that it should be possible to use that merge also with 2.1.x, or at least with minor modifications. I didn't test though.

See:
http://openfoam-extend.svn.sourcefor...boPerformance/

Håkan

BigPapi34 August 30, 2012 07:02

Just downloaded and compiled this version in 2.1.x - works brilliantly! Exactly what I'm looking for and makes things neater.

Many thanks for the link.

renyun0511 May 9, 2013 20:54

Hi,

Because the website posted by Hani cannot be linked now. If you upload the turboPerformance on version-2.1.0 to share, I will appreciate it !


Thanks,

Yun Ren

ameen@cfd May 17, 2014 02:25

turboPerformance for openfoam 2.3.0
 
Hello everyone,

I am trying to use Sig turbomachinery library turbo performance for OpenFOAM 2.3.0, but when I compile the libraries of 2.0 as given in link below I get many errors. Are there any such libraries that I can use for OpenFOAM 2.3.0.

http://openfoamwiki.net/index.php/Sig_Turbomachinery_Library_turboPerformance#Downlo ad_and_compile

The errors are

Code:

SOURCE=forces/forces.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/opt/openfoam230/src/finiteVolume/lnInclude -I/opt/openfoam230/src/meshTools/lnInclude -I/opt/openfoam230/src/sampling/lnInclude -I/opt/openfoam230/src/transportModels -I/opt/openfoam230/src/turbulenceModels -I/opt/openfoam230/src/turbulenceModels/LES/LESdeltas/lnInclude -I/opt/openfoam230/src/thermophysicalModels/basic/lnInclude -IlnInclude -I. -I/opt/openfoam230/src/OpenFOAM/lnInclude -I/opt/openfoam230/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/forces.o
forces/forces.C: In member function ‘Foam::tmp<Foam::GeometricField<Foam::SymmTensor<double>, Foam::fvPatchField, Foam::volMesh> > Foam::forces::devRhoReff() const’:
forces/forces.C:77:28: error: ‘const class Foam::incompressible::LESModel’ has no member named ‘devBeff’
forces/forces.C:86:24: error: ‘const class Foam::basicThermo’ has no member named ‘mu’
In file included from /opt/openfoam230/src/OpenFOAM/lnInclude/objectRegistry.H:242:0,
                from /opt/openfoam230/src/OpenFOAM/lnInclude/Time.H:42,
                from /opt/openfoam230/src/OpenFOAM/lnInclude/GeometricField.C:27,
                from /opt/openfoam230/src/OpenFOAM/lnInclude/GeometricField.H:601,
                from /opt/openfoam230/src/OpenFOAM/lnInclude/GeometricScalarField.H:38,
                from /opt/openfoam230/src/OpenFOAM/lnInclude/GeometricFields.H:34,
                from /opt/openfoam230/src/finiteVolume/lnInclude/volFields.H:37,
                from forces/forces.C:28:
/opt/openfoam230/src/OpenFOAM/lnInclude/objectRegistryTemplates.C: In member function ‘const Type& Foam::objectRegistry::lookupObject(const Foam::word&) const [with Type = Foam::singlePhaseTransportModel]’:
forces/forces.C:95:35:  instantiated from here
/opt/openfoam230/src/OpenFOAM/lnInclude/objectRegistryTemplates.C:178:9: error: reference to ‘Foam::singlePhaseTransportModel::typeName’ is ambiguous
/opt/openfoam230/src/transportModels/incompressible/transportModel/transportModel.H:66:5: error: candidates are: const Foam::word Foam::transportModel::typeName
/opt/openfoam230/src/OpenFOAM/lnInclude/IOdictionary.H:72:5: error:                const Foam::word Foam::IOdictionary::typeName
forces/forces.C:95:35:  instantiated from here
/opt/openfoam230/src/OpenFOAM/lnInclude/objectRegistryTemplates.C:195:9: error: reference to ‘Foam::singlePhaseTransportModel::typeName’ is ambiguous
/opt/openfoam230/src/transportModels/incompressible/transportModel/transportModel.H:66:5: error: candidates are: const Foam::word Foam::transportModel::typeName
/opt/openfoam230/src/OpenFOAM/lnInclude/IOdictionary.H:72:5: error:                const Foam::word Foam::IOdictionary::typeName
/opt/openfoam230/src/OpenFOAM/lnInclude/objectRegistryTemplates.C:195:9: error: reference to ‘Foam::singlePhaseTransportModel::typeName’ is ambiguous
/opt/openfoam230/src/transportModels/incompressible/transportModel/transportModel.H:66:5: error: candidates are: const Foam::word Foam::transportModel::typeName
/opt/openfoam230/src/OpenFOAM/lnInclude/IOdictionary.H:72:5: error:                const Foam::word Foam::IOdictionary::typeName
forces/forces.C: In member function ‘Foam::tmp<Foam::GeometricField<Foam::SymmTensor<double>, Foam::fvPatchField, Foam::volMesh> > Foam::forces::devRhoReff() const’:
forces/forces.C:120:1: warning: control reaches end of non-void function [-Wreturn-type]
make: *** [Make/linux64GccDPOpt/forces.o] Error 1

Thank you.

wyldckat June 8, 2014 15:22

Greetings to all!

I've given this a try and have adapted the "turboPerformance" library to OpenFOAM 2.1.x, 2.2.x and 2.3.x, based on the source code meant for OpenFOAM 2.0.x. It is now available here: https://github.com/wyldckat/OSIG-Tur...formance-OF2.x - I've also added a link for this repository at the wiki page, in the new section "Forks": http://openfoamwiki.net/index.php/Si...formance#Forks

I have only taken care of making the necessary changes to the library source code, for it to build with each OpenFOAM version. I have not tested if it's working as intended on all versions.
Therefore, if anyone has the time and resources, please test this first with OpenFOAM 2.0.x and then with the version of OpenFOAM you need to use, in order to confirm if everything is working as intended!

Best regards,
Bruno


All times are GMT -4. The time now is 19:07.