|
[Sponsors] |
Are OSIG TurboMachinery libraries able to work under OpenFOAM-1.6-ext? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
May 17, 2014, 02:25 |
turboPerformance for openfoam 2.3.0
|
#1 |
New Member
Mohammed Ameenuddin
Join Date: Feb 2014
Posts: 15
Rep Power: 12 |
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 |
|
June 8, 2014, 15:22 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
Tags |
1.5-dev, 1.6-ext, osig, turbomachinery |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
kOmegaSST in openfoam 1.6 | Gearb0x | OpenFOAM | 2 | March 3, 2010 06:02 |
Openfoam 1.6 | ar_mofidi | OpenFOAM | 1 | November 4, 2009 05:26 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 14:25 |
Turbomachinery at OpenFOAM Workshop Milan 2008 | hani | OpenFOAM | 0 | March 21, 2008 02:33 |
OpenFOAM Debian packaging current status problems and TODOs | oseen | OpenFOAM Installation | 9 | August 26, 2007 13:50 |