CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   readCHEMKINIII (http://www.cfd-online.com/Forums/openfoam-bugs/70057-readchemkiniii.html)

wouter November 13, 2009 06:19

readCHEMKINIII
 
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

mattijs November 13, 2009 10:35

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

wouter November 13, 2009 19:43

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

mattijs November 16, 2009 16:01

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


All times are GMT -4. The time now is 04:54.