myThermo using makeThermo.H symbol lookup error
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 |
Hi,
The problem was commenting out following lines in nonNewtonianTransport.H Code:
#ifdef NoRepository Robin |
similar Problem
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 |
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 |
All times are GMT -4. The time now is 04:15. |