|
[Sponsors] |
myThermo using makeThermo.H symbol lookup error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 7, 2018, 07:45 |
myThermo using makeThermo.H symbol lookup error
|
#1 |
Member
Robin Kamenicky
Join Date: Mar 2016
Posts: 74
Rep Power: 11 |
Hi Foamers,
I wonder whether somebody could help me with symbol lookup error I am getting. I want to make non-newtonian trasport model for compressible flow. Till now I have just tried to copy other transport model, rename it and run. The compilation runs fine, I can also choose the transport model in a solver. However, when I run in a case I get following error: Code:
rhoPimpleFoam: symbol lookup error: /home/robin/OpenFOAM/robin-5.0-debug/platforms/linux64GccDPInt32Debug/lib/libmyThermos.so: undefined symbol: _ZN4Foam21nonNewtonianTransportINS_7species6thermoINS_1 2eConstThermoINS_10perfectGasINS_6specieEEEEENS_22sensibleInternalEnergyEEEEC1ERKNS_10dictionaryE Code:
nm -C Code:
U Foam::nonNewtonianTransport<Foam::species::thermo<Foam::eConstThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleInternalEnergy> >::nonNewtonianTransport(Foam::dictionary const &) I have done following step:
Any help is very appreciated, Thank you, Robin |
|
August 16, 2018, 10:08 |
|
#2 |
Member
Robin Kamenicky
Join Date: Mar 2016
Posts: 74
Rep Power: 11 |
Hi,
The problem was commenting out following lines in nonNewtonianTransport.H Code:
#ifdef NoRepository #include "nonNewtonianTransport.C" #endif Robin |
|
November 12, 2018, 06:48 |
similar Problem
|
#3 |
New Member
Stefan
Join Date: Oct 2015
Posts: 24
Rep Power: 11 |
Hi Robin,
how is it going? just found your Thread and see that we are aiming the same goal. In my case it is the multiphase solver compressibleInterFoam where I want to make one phase a nonNewtonian fluid with OF 5.x. So far i coppied the polynomial transport model, called it nnTransport and implemented the necessary headers in makeReaktion.H reactionTypes.H psiThermos.C rhoThermos.C thermoPhysicsTypes.H and also the model in psiThermos.C rhoThermos.C I compiled everything started a calculation and it runs well so far, but still with the calculation of mu based on the Tempreture (like polynomialTransport) Now its time for changing the way how mu is calculated. Have you been successfull here? Any Hints would be really appreciated. Thanks a lot. Stefan |
|
December 16, 2018, 18:05 |
|
#4 | |
Member
Robin Kamenicky
Join Date: Mar 2016
Posts: 74
Rep Power: 11 |
Quote:
sorry for a late answer. How is it going? I have not finished the nonNewtonian model implementation, I had to move over to other topic. I do work on reactingTwoPhaseEulerFoam where I am particularly interested in bulk and wall boiling models. I hope , I will be able to return to nonNewtonian model implementation in February. Have a nice day, Robin |
||
Tags |
compilation, makethermo, symbol lookup error |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Caffa 3D code | Waliur Rahman | Main CFD Forum | 0 | May 29, 2018 01:53 |
DPM udf error | haghshenasfard | FLUENT | 0 | April 13, 2016 07:35 |
Undeclared Identifier Errof UDF | SteveGoat | Fluent UDF and Scheme Programming | 7 | October 15, 2014 08:11 |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 10:31 |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 08:24 |