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

Undefined symbol error using new transport model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 29, 2017, 16:17
Post Undefined symbol error using new transport model
  #1
Senior Member
 
Lasse Brams Vinther
Join Date: Oct 2015
Posts: 118
Rep Power: 11
Swagga5aur is on a distinguished road
Hello openFOAM'ers,

I developed a sutherland transport model alternative for OFv4 and I'm trying to update it for OFv5, but get the following error when using it in a model:
Code:
--> FOAM Warning : 
    From function void* Foam::dlOpen(const Foam::fileName&, bool)
    in file POSIX.C at line 1210
    dlopen error : /home/lbv/OpenFOAM/lbv-5.0/platforms/linux64GccDPInt32Opt/lib/libktTransport.so: undefined symbol: _ZN4Foam25chemistryTabulationMethodINS_17psiChemistryModelENS_11ktTransportINS_7species6thermoINS_12porousThermoINS_10perfectGasINS_6specieEEEEENS_16sensibleEnthalpyEEEEEE30dictionaryConstructorTablePtr_E
--> FOAM Warning : 
    From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 105
    could not load "libktTransport.so"
I read in post: Undefined symbol error after compiling a new LES model, that this indicates that a lib reference is missing in the options folder, however have not determined the necessary library.

To utilise the model change the transport model to ktTransport and janaf to porousThermo in the thermophysicalproperties directory.

I have attached the solver for OFv5.

Any help is greatly appreciated.
Swagga5aur is offline   Reply With Quote

Old   September 8, 2019, 03:07
Default
  #2
Senior Member
 
Nguyen Duy Trong
Join Date: Apr 2014
Posts: 124
Rep Power: 12
ndtrong is on a distinguished road
Quote:
Originally Posted by Swagga5aur View Post
Hello openFOAM'ers,

I developed a sutherland transport model alternative for OFv4 and I'm trying to update it for OFv5, but get the following error when using it in a model:
Code:
--> FOAM Warning : 
    From function void* Foam::dlOpen(const Foam::fileName&, bool)
    in file POSIX.C at line 1210
    dlopen error : /home/lbv/OpenFOAM/lbv-5.0/platforms/linux64GccDPInt32Opt/lib/libktTransport.so: undefined symbol: _ZN4Foam25chemistryTabulationMethodINS_17psiChemistryModelENS_11ktTransportINS_7species6thermoINS_12porousThermoINS_10perfectGasINS_6specieEEEEENS_16sensibleEnthalpyEEEEEE30dictionaryConstructorTablePtr_E
--> FOAM Warning : 
    From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 105
    could not load "libktTransport.so"
I read in post: Undefined symbol error after compiling a new LES model, that this indicates that a lib reference is missing in the options folder, however have not determined the necessary library.

To utilise the model change the transport model to ktTransport and janaf to porousThermo in the thermophysicalproperties directory.

I have attached the solver for OFv5.

Any help is greatly appreciated.
Dear Lasse


Have you resolve this issues.

I am facing with the same error like you.
Could you please guide me the way to fix error.


Thanks
ndtrong is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] ParaView Installation: Python problem KateEisenhower OpenFOAM Installation 5 August 24, 2017 06:27
-Xlinker --add-needed -Xlinker --no-as-needed NH1994 OpenFOAM Programming & Development 7 December 31, 2014 11:24
species transport model or mixture model? achaokaoyan Main CFD Forum 0 July 10, 2010 11:52
Compiling new Solver with wmake lin123 OpenFOAM 3 April 13, 2010 15:18
Building OpenFoAm on SGI Altix 64bits anne OpenFOAM Installation 8 June 15, 2006 10:27


All times are GMT -4. The time now is 04:25.