|
[Sponsors] |
adding IAPWS thermophysical model undefined reference error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 23, 2011, 10:28 |
adding IAPWS thermophysical model undefined reference error
|
#1 |
New Member
abcdef123
Join Date: Dec 2009
Posts: 17
Rep Power: 16 |
Hi, I am attempting to add a IAPWS thermophysicalModel, similarly as described in
http://www.cfd-online.com/Forums/ope...roperties.html I've added IAPWSgas, IAPWSThermo, and IAPWSTransport and then finally added makeBasicRhoThermo ( hRhoThermo, pureMixture, IAPWSTransport, IAPWSThermo, IAPWSgas ); to hRhoThermos.C, and then I rebuild libbasicThermophysicalModels.so with no problems. The issue is now when I try to build any heatTransfer solver (not just custom solvers) I get libbasicThermophysicalModels.so: undefined reference to `Foam:ureMixture<Foam::IAPWSTransport<Foam::spec ieThermo<Foam::IAPWSThermo<Foam::IAPWSgas> > > >::typeName' If I remove the makeBasicRhoThermo addition to hRhoThermos.C everything works fine but I can't use the new thermophysical model (since it's not defined). Any advice? Thanks. |
|
October 23, 2011, 11:07 |
problem solved
|
#2 |
New Member
abcdef123
Join Date: Dec 2009
Posts: 17
Rep Power: 16 |
I figured this one out.. I had to add
makeBasicMixture ( pureMixture, IAPWSTransport, IAPWSThermo, IAPWSgas ); to baseMixtures.C also. Sorry for jumping the gun on the post. But maybe this will help someone else with a similar issue. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 07:25 |
checking the system setup and Qt version | vivek070176 | OpenFOAM Installation | 22 | June 1, 2010 13:34 |
Building OF 1.6 - CentOS 4.x | Pytthon | OpenFOAM | 1 | February 2, 2010 12:05 |