Symbol lookup error related with a custom thermophysical model in foam-extend 4.0
1 Attachment(s)
Hey folks,
I followed instructions given here http://www.tfd.chalmers.se/~hani/kur...3-or-2.4.x.pdf(Part I) to compile my custom thermophysical library and link it to a solver. The difference is that I am using foam-extend 4.0. Now, I'm trying to figure out why I'm getting the following symbol lookup error Code:
symbol lookup error: /home/of/OpenFOAM/icpaxiof/fe40/lib/linux64GccDPOpt/libbasicThermophysicalModels.so: undefined symbol: _ZN4Foam11pureMixtureINS_18kineticArTransportINS_12specieThermoINS_12hConstThermoINS_10perfectGasEEEEEEEE8typeNameE Code:
Foam::pureMixture<Foam::kineticArTransport<Foam::specieThermo<Foam::hConstThermo<Foam::perfectGas> > > >::typeName I uploaded the modified library here: https://www63.zippyshare.com/v/LpyM6bZf/file.html In the attachments you can find two compilation log files of running "wmake libso" in /basic and /specie directories, respectively, and the Make/options file of the solver. Best regards Christian |
Hello everyone,
finally I found the source of the error in /src/thermophysicalModels/basic/psiThermo/psiThermos.C : Code:
#include "makeBasicPsiThermo.H" Code:
//- Return the instantiated type name My workaround to make my custom thermophysical model run in foam-extend 4.0 was to modify the OF standard transport and thermo models like hConst,.. However, this is not very elegant and I am still curious, where and how the typeName words of the thermophysical models are defined in foam-extend 4.0. Actually, I tried to add the above word defintion to my kineticArTransport.H, but this didn't work here, either. Best regards Christian |
All times are GMT -4. The time now is 09:07. |