|
[Sponsors] |
November 13, 2009, 05:19 |
readCHEMKINIII
|
#1 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 17 |
Trying to wmake readCHEMKINIII in the applications/test directory I get the following error:
readCHEMKINIII.C: In function ‘int main(int, char**)’: readCHEMKINIII.C:60: error: ‘reaction’ is not a member of ‘Foam::chemkinReader’ readCHEMKINIII.C:60: error: ‘reaction’ is not a member of ‘Foam::chemkinReader’ readCHEMKINIII.C:60: error: template argument 1 is invalid readCHEMKINIII.C:60: error: invalid type in declaration before ‘=’ token readCHEMKINIII.C:60: error: cannot convert ‘const Foam::SLPtrList<Foam::Reaction<Foam::sutherlandTra nsport<Foam::specieThermo<Foam::janafThermo<Foam:: perfectGas> > > > >’ to ‘int’ in initialization readCHEMKINIII.C:73: error: ‘reaction’ is not a member of ‘Foam::chemkinReader’ readCHEMKINIII.C:73: error: ‘reaction’ is not a member of ‘Foam::chemkinReader’ readCHEMKINIII.C:73: error: template argument 1 is invalid readCHEMKINIII.C:73: error: invalid type in declaration before ‘(’ token readCHEMKINIII.C:75: error: request for member ‘size’ in ‘testReactions’, which is of non-class type ‘int’ readCHEMKINIII.C:77: error: request for member ‘set’ in ‘testReactions’, which is of non-class type ‘int’ readCHEMKINIII.C:80: error: ‘Foam::chemkinReader::reaction’ has not been declared readCHEMKINIII.C:83: error: ‘class Foam::chemkinReader’ has no member named ‘specieThermo’ make: *** [Make/linuxGccDPOpt/readCHEMKINIII.o] Error 1 My C++ is to rusty to solve this problem, can any body help? thanks wouter |
|
November 13, 2009, 09:35 |
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
I've updated that application and pushed to 1.6.x. Runs fine with e.g.
readCHEMKINIII CHEMKINdata/chem.inp_ch4 -thermo CHEMKINdata/therm.dat Thanks for reporting, Mattijs |
|
November 13, 2009, 18:43 |
|
#3 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 17 |
Hello Mattijs,
no problem, but can you tell me how I can run this as well. I cannot even compile it. What do I download? and how. I am quit new to Ubuntu and OpenFOAM(r). thanks Wouter |
|
November 16, 2009, 15:01 |
|
#4 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
1.6.x is the bug-fix version of 1.6 and lives in a Git repository. See http://www.opencfd.co.uk/openfoam/download.html on how to obtain it.
Regards, Mattijs |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ReadCHEMKINIII donbt work | mavimo | OpenFOAM Bugs | 1 | August 23, 2007 11:49 |