CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Bugs

readCHEMKINIII

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 13, 2009, 06:19
Default readCHEMKINIII
  #1
Senior Member
 
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 128
Rep Power: 8
wouter is on a distinguished road
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
wouter is offline   Reply With Quote

Old   November 13, 2009, 10:35
Default
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
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
mattijs is offline   Reply With Quote

Old   November 13, 2009, 19:43
Default
  #3
Senior Member
 
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 128
Rep Power: 8
wouter is on a distinguished road
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
wouter is offline   Reply With Quote

Old   November 16, 2009, 16:01
Default
  #4
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
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
mattijs is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ReadCHEMKINIII donbt work mavimo OpenFOAM Bugs 1 August 23, 2007 11:49


All times are GMT -4. The time now is 05:21.