Search the web
Sign In
New User? Sign Up
cantera · Cantera User's Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 1943 - 1972 of 1972   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries   (Group by Topic) Sort by Date ^  
#1943 From: Dave Goodwin <dgoodwin@...>
Date: Mon Oct 20, 2008 3:29 pm
Subject: Re: Modifying reaction rates
dggoodwin
Offline Offline
Send Email Send Email
 
Wouldn't it be easiest to make the modifications in the input file?


On Dec 17, 2007, at 7:00 AM, guillaume.albouze wrote:

> Hi,
>
> I would like to make some modifications to reaction rates ( w_k
> divided by  a value  F ) and thermal & molecular diffusivities (Dth
> and Dk replaced by F.Dth and F.Dk respectively).
>
> I began looking for the reaction rates routine and was finally looking
> for a routine getNetProductionRates but I'm stuck !!! I'm lost !!! I
> finally don't know where to do my modifications.
>
> If someone has an idea, it would help me so much !!!
>
> Thanks a lot,
>
> Guillaume
>
>
>
>
> Yahoo! Groups Links
>
>
>

#1944 From: manoj kumar <manu370353@...>
Date: Thu Oct 23, 2008 10:02 am
Subject: deleting reactions one by one in cti files
manu370353
Offline Offline
Send Email Send Email
 


----- Forwarded Message ----
From: manoj kumar <manu370353@...>
To: cantera@yahoogroups.com
Cc: manu370353@...
Sent: Wednesday, October 1, 2008 12:41:53 PM
Subject: Re: [cantera] Examples of Cantera use



hello,
  I am a combustion student. I have created many cti files ,then I want to know how to delete the reactions one by one in cti files(eg:c3_41_mech.cti) inorder to find the changes in ignition delay period . I am a matlab user of cantera I expect the great help
 
 
                                                                         manoj



#1945 From: P Gokulakrishnan <pgokulak@...>
Date: Thu Oct 23, 2008 3:21 pm
Subject: Re: deleting reactions one by one in cti files
pgokulak
Offline Offline
Send Email Send Email
 
gas = importPhase('rxnmech.cti');
nrxns = nReactions(gas);

for k = 1:nrxns
  setMultlipiler(gas, 0.0, k); % set rate constant of rxn k to zero
  disp([fwdRateConstants(gas)(k)]);  % returns fwd rate constant = 0.0
  setMultlipiler(gas, 1.0, k); % set rate constant of rxn k back to initial value


--- On Thu, 10/23/08, manoj kumar <manu370353@...> wrote:
From: manoj kumar <manu370353@...>
Subject: [cantera] deleting reactions one by one in cti files
To: cantera@yahoogroups.com
Cc: manu370353@...
Date: Thursday, October 23, 2008, 6:02 AM



----- Forwarded Message ----
From: manoj kumar <manu370353@yahoo. com>
To: cantera@yahoogroups .com
Cc: manu370353@yahoo. com
Sent: Wednesday, October 1, 2008 12:41:53 PM
Subject: Re: [cantera] Examples of Cantera use



hello,
  I am a combustion student. I have created many cti files ,then I want to know how to delete the reactions one by one in cti files(eg:c3_ 41_mech.cti) inorder to find the changes in ignition delay period . I am a matlab user of cantera I expect the great help
 
 
                                                                         manoj




#1946 From: manoj kumar <manu370353@...>
Date: Fri Oct 24, 2008 7:19 am
Subject: Re: deleting reactions one by one in cti files
manu370353
Offline Offline
Send Email Send Email
 



dear gokul sir,
 I have done all things as you said when running matlab the following error comes

()-indexing must apper last in an index expression

 manoj
.



#1947 From: "Richard" <rwest@...>
Date: Thu Nov 13, 2008 1:30 am
Subject: Liquid phase (solution) modelling in Cantera?
r_west1e
Offline Offline
Send Email Send Email
 
Dear All,

I am trying to model liquid phase (solution) chemistry.

The "Defining Phases and Interfaces" document (2003) suggests that
defining ideal_solution instead of an ideal_gas in my cti file is the
way forwards, but this does not work for me. I have started to poke
around in the source code, and it at first glance it looks as if
some/much/all of the solution phase code is missing.

Eventually I will want to worry about solubilities, phase separation,
etc. but for now an ideal solution will be a useful start.

If someone could give me an idea where things stand I'd be most
grateful. Questions that spring to mind include:

Can I use Cantera to model reactions in liquids?
If not, how far off or broken is this functionality?
Is anyone working towards this?
How easy would it be for me to fix myself?
In the short term, is there a work-around? e.g. some way to use
ideal_gas phase to give useful results?

Many thanks,

Richard West


P.S. The following unanswered question along the same lines dates from
August 2007:
--- In cantera@yahoogroups.com, "crystl_jin" <crystl_jin@...> wrote:
>
> Hello, everyone,
>
> I try to use cantera model some peroxide liquid phase reactions.
> Does anyone have some document or modeling samples for the liquid fluid
> models?
> The document I have is " working with liquid/vapor fluid
> models"published 10/17/2004. Is there any updated document?
>
>
> Crystal
>

#1948 From: "Moffat, Harry K" <hkmoffa@...>
Date: Sat Nov 15, 2008 1:24 am
Subject: RE: Liquid phase (solution) modeling in Cantera?
hkmoffat
Offline Offline
Send Email Send Email
 
Hi,

I'm currently implementing liquid brine thermochemistry into Cantera, as well as
a more robust equilibrium solver that supports nonideal multiphase equilibrium
solves. Most of this is actually in the cvs version of Cantera right now. I hope
to complete a report on this capability within the month, where I verify that
the
EQ3 database is ported correctly. This work is located in the thermo directory
in the module HMWSoln.

This is mostly thermochemistry.  Liquid reactions are possible, though I haven't
generated any examples yet. I have several examples of common electrodes,
showing that Cantera can produce the correct interface voltages, i.e. E_r's.
Also, I have not yet generated transport in brines, though that is likely the
next thing I will tackle.

Note, this is all in the C++ layer of Cantera. I haven't added interfaces for
matlab and python yet.

I will also be adding constitutive models for lithium salts in the near future.
If you would like to help, let me know! All aboard. It's a big job, and I could
use the help.

There is also an ideal solution interface as well.

Best wishes,
Harry



Harry Moffat                                             (w) (505) 844-6912
Nanoscale and Reactive Processes            (f)   (505) 844-8251
Sandia National Laboratories                                   
hkmoffa@...
P. O. Box 5800-0836
Albuquerque, NM 87185-0836
-----Original Message-----
From: cantera@yahoogroups.com [mailto:cantera@yahoogroups.com] On Behalf Of
Richard
Sent: Wednesday, November 12, 2008 6:30 PM
To: cantera@yahoogroups.com
Subject: [cantera] Liquid phase (solution) modelling in Cantera?

Dear All,

I am trying to model liquid phase (solution) chemistry.

The "Defining Phases and Interfaces" document (2003) suggests that
defining ideal_solution instead of an ideal_gas in my cti file is the
way forwards, but this does not work for me. I have started to poke
around in the source code, and it at first glance it looks as if
some/much/all of the solution phase code is missing.

Eventually I will want to worry about solubilities, phase separation,
etc. but for now an ideal solution will be a useful start.

If someone could give me an idea where things stand I'd be most
grateful. Questions that spring to mind include:

Can I use Cantera to model reactions in liquids?
If not, how far off or broken is this functionality?
Is anyone working towards this?
How easy would it be for me to fix myself?
In the short term, is there a work-around? e.g. some way to use
ideal_gas phase to give useful results?

Many thanks,

Richard West


P.S. The following unanswered question along the same lines dates from
August 2007:
--- In cantera@yahoogroups.com, "crystl_jin" <crystl_jin@...> wrote:
>
> Hello, everyone,
>
> I try to use cantera model some peroxide liquid phase reactions.
> Does anyone have some document or modeling samples for the liquid fluid
> models?
> The document I have is " working with liquid/vapor fluid
> models"published 10/17/2004. Is there any updated document?
>
>
> Crystal
>



------------------------------------

Yahoo! Groups Links

#1949 From: "usenechal" <senechal@...>
Date: Thu Nov 20, 2008 1:40 pm
Subject: negative reaction-order
usenechal
Offline Offline
Send Email Send Email
 
Hi,

in a well known 1-step reaction-mechanism from Westbrook and Dryer
(SIMPLIFIED REACTION MECHANISMS FOR THE OXIDATION OF HYDROCARBON FUELS
IN FLAMES, DOI:    10.1080/00102208108946970) i found a negative
reaction order for methane. When I try with

reaction(  "CH4 + 2 O2 => CO2 + 2 H2O",  [8.30000E+012, 0, 30],
          order = " CH4:-0.3 O2:1.3")

in the cti-file I get:

Error: reaction order must be non-negative

Is it possible to bring such a reaction with into cantera?

best regards
ulf

P.S. looking forward to cantera-2.0 :)

#1950 From: "Moffat, Harry K" <hkmoffa@...>
Date: Thu Nov 20, 2008 4:18 pm
Subject: RE: negative reaction-order
hkmoffat
Offline Offline
Send Email Send Email
 
Hi,
    I've put in a feature request on sourceforge.net to add this capability in
the near future.
I think it would be particular useful to add an additional flag also indicating
that the user really means this, as the negative orders means there will be a
singularity as the concentration goes to zero that must be addressed in some
manner.

Best wishes,
Harry


Harry Moffat                                             (w) (505) 844-6912
Nanoscale and Reactive Processes            (f)   (505) 844-8251
Sandia National Laboratories                                   
hkmoffa@...
P. O. Box 5800-0836
Albuquerque, NM 87185-0836
-----Original Message-----
From: cantera@yahoogroups.com [mailto:cantera@yahoogroups.com] On Behalf Of
usenechal
Sent: Thursday, November 20, 2008 6:41 AM
To: cantera@yahoogroups.com
Subject: [cantera] negative reaction-order

Hi,

in a well known 1-step reaction-mechanism from Westbrook and Dryer
(SIMPLIFIED REACTION MECHANISMS FOR THE OXIDATION OF HYDROCARBON FUELS
IN FLAMES, DOI:    10.1080/00102208108946970) i found a negative
reaction order for methane. When I try with

reaction(  "CH4 + 2 O2 => CO2 + 2 H2O",  [8.30000E+012, 0, 30],
          order = " CH4:-0.3 O2:1.3")

in the cti-file I get:

Error: reaction order must be non-negative

Is it possible to bring such a reaction with into cantera?

best regards
ulf

P.S. looking forward to cantera-2.0 :)


------------------------------------

Yahoo! Groups Links

#1951 From: Charlie Westbrook <westbrook1@...>
Date: Thu Nov 20, 2008 6:21 pm
Subject: RE: negative reaction-order
westbrook1@...
Send Email Send Email
 
It's interesting to see this paper continue to be interesting to people.  When I ran the cases with negative values of the fuel exponents, I actually solved the singularity in two different ways.

1.  Set an artifical floor to the concentration of methane.  This could be something like 10 x exp(-20).  This had to be done with in-line code, and many codes don't let you do this.

2.  Add a reverse reaction with the same rate data, but with an even more extreme negative power on the fuel concentration.  If the fuel power was -0.3 for the forward reaction, the power for the reverse reaction would be -1.3.  Then the A factor of the reverse reaction could be set to give a low concentration at the equilibrium that would then be calculated.

At the same time, most kinetics software prohibits these negative values, and at one time, only our HCT code allowed fractional or negative exponents in these rate coefficients.

Charlie Westbrook




At 9:18 AM -0700 11/20/08, Moffat, Harry K wrote:
Hi,
I've put in a feature request on sourceforge.net to add this capability in the near future.
I think it would be particular useful to add an additional flag also indicating that the user really means this, as the negative orders means there will be a singularity as the concentration goes to zero that must be addressed in some manner.

Best wishes,
Harry

Harry Moffat (w) (505) 844-6912
Nanoscale and Reactive Processes (f) (505) 844-8251
Sandia National Laboratories hkmoffa@...
P. O. Box 5800-0836
Albuquerque, NM 87185-0836
-----Original Message-----
From: cantera@yahoogroups.com [mailto:cantera@yahoogroups.com] On Behalf Of usenechal
Sent: Thursday, November 20, 2008 6:41 AM
To: cantera@yahoogroups.com
Subject: [cantera] negative reaction-order

Hi,

in a well known 1-step reaction-mechanism from Westbrook and Dryer
(SIMPLIFIED REACTION MECHANISMS FOR THE OXIDATION OF HYDROCARBON FUELS
IN FLAMES, DOI: 10.1080/00102208108946970) i found a negative
reaction order for methane. When I try with

reaction( "CH4 + 2 O2 => CO2 + 2 H2O", [8.30000E+012, 0, 30],
order = " CH4:-0.3 O2:1.3")

in the cti-file I get:

Error: reaction order must be non-negative

Is it possible to bring such a reaction with into cantera?

best regards
ulf

P.S. looking forward to cantera-2.0 :)
------------------------------------

#1952 From: "galliumnitrid" <herzige@...>
Date: Thu Jan 8, 2009 12:43 pm
Subject: Problem with mixtures and maxTemp in Python
galliumnitrid
Offline Offline
Send Email Send Email
 
Dear all,
I am not sure if there are many users left in this group, however, I
have the following problem while using Cantera:

I am calculating multiphase equilibria. The data for some species are
not valid for the whole temperature range of interest. Therefore I
wanted to check this within the script -to avoid errors- using the
maxTemp() and minTemp() functions.

(My mixture is named mix.)

I all ways get the following error in Python:
------------------------------------------------
mix.maxTemp()

Traceback (most recent call last):
   File "<pyshell#0>", line 1, in <module>
     mix.maxTemp()
   File "c:\python25\lib\site-packages\Cantera\mixture.py", line 184,
in maxTemp
     return _cantera.mix_maxTemp(self._index)
AttributeError: Mixture instance has no attribute '_index'
>>>
------------------------------------------------

Is the syntax wrong? Or anything else?

It would be nice if anybody could help.

Regards
Burak

#1953 From: "Moffat, Harry K" <hkmoffa@...>
Date: Fri Jan 9, 2009 9:00 pm
Subject: RE: Problem with mixtures and maxTemp in Python
hkmoffat
Offline Offline
Send Email Send Email
 
Hi Burak,

    I have fixed the mixture.py class so that the maxTemp() and minTemp() member
functions now work as intended.
You will have to check out a fresh CVS version of the code.

Best wishes,
Harry

Harry Moffat                                             (w) (505) 844-6912
Nanoscale and Reactive Processes            (f)   (505) 844-8251
Sandia National Laboratories                                   
hkmoffa@...
P. O. Box 5800-0836
Albuquerque, NM 87185-0836

-----Original Message-----
From: cantera@yahoogroups.com [mailto:cantera@yahoogroups.com] On Behalf Of
galliumnitrid
Sent: Thursday, January 08, 2009 5:43 AM
To: cantera@yahoogroups.com
Subject: [cantera] Problem with mixtures and maxTemp in Python

Dear all,
I am not sure if there are many users left in this group, however, I
have the following problem while using Cantera:

I am calculating multiphase equilibria. The data for some species are
not valid for the whole temperature range of interest. Therefore I
wanted to check this within the script -to avoid errors- using the
maxTemp() and minTemp() functions.

(My mixture is named mix.)

I all ways get the following error in Python:
------------------------------------------------
mix.maxTemp()

Traceback (most recent call last):
   File "<pyshell#0>", line 1, in <module>
     mix.maxTemp()
   File "c:\python25\lib\site-packages\Cantera\mixture.py", line 184,
in maxTemp
     return _cantera.mix_maxTemp(self._index)
AttributeError: Mixture instance has no attribute '_index'
>>>
------------------------------------------------

Is the syntax wrong? Or anything else?

It would be nice if anybody could help.

Regards
Burak



------------------------------------

Yahoo! Groups Links

#1954 From: "galliumnitrid" <herzige@...>
Date: Sun Jan 11, 2009 5:53 pm
Subject: Re: Problem with mixtures and maxTemp in Python
galliumnitrid
Offline Offline
Send Email Send Email
 
Hi Harry,
first of all thank you! The error message diappeared, but I am not
sure if the function works correctly:


In the multiphase problem there is one gasphase and several pure solid
and liquid phases (iron and iron oxides).
The melting point of one iron oxide is 1650 K (FeO(s), see NASA.cti),
therefore the thermodynamic data end there for the solid. I added some
amount of FeO(s) to the initial composition. While doing the
calculations from 600 to 2000 K, every 100 K I print mix.maxTemp()
The output is always 3000 K instead of 1650 K.


Starting at 1650 K I get an additional error:
Logfile error.
    beginLogGroup: MultiPhase::equilibrate
    endLogGroup:   equilibrate

By the way, where can I find this logfile?



What do you think, am I doing something wrong?
Thanks  again!

Regards,

Burak

--- In cantera@yahoogroups.com, "Moffat, Harry K" <hkmoffa@...> wrote:
>
> Hi Burak,
>
>    I have fixed the mixture.py class so that the maxTemp() and
minTemp() member functions now work as intended.
> You will have to check out a fresh CVS version of the code.
>
> Best wishes,
> Harry
>
> Harry Moffat                                             (w) (505)
844-6912
> Nanoscale and Reactive Processes            (f)   (505) 844-8251
> Sandia National Laboratories
hkmoffa@...
> P. O. Box 5800-0836
> Albuquerque, NM 87185-0836
>
> -----Original Message-----
> From: cantera@yahoogroups.com [mailto:cantera@yahoogroups.com] On
Behalf Of galliumnitrid
> Sent: Thursday, January 08, 2009 5:43 AM
> To: cantera@yahoogroups.com
> Subject: [cantera] Problem with mixtures and maxTemp in Python
>
> Dear all,
> I am not sure if there are many users left in this group, however, I
> have the following problem while using Cantera:
>
> I am calculating multiphase equilibria. The data for some species are
> not valid for the whole temperature range of interest. Therefore I
> wanted to check this within the script -to avoid errors- using the
> maxTemp() and minTemp() functions.
>
> (My mixture is named mix.)
>
> I all ways get the following error in Python:
> ------------------------------------------------
> mix.maxTemp()
>
> Traceback (most recent call last):
>   File "<pyshell#0>", line 1, in <module>
>     mix.maxTemp()
>   File "c:\python25\lib\site-packages\Cantera\mixture.py", line 184,
> in maxTemp
>     return _cantera.mix_maxTemp(self._index)
> AttributeError: Mixture instance has no attribute '_index'
> >>>
> ------------------------------------------------
>
> Is the syntax wrong? Or anything else?
>
> It would be nice if anybody could help.
>
> Regards
> Burak
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>

#1955 From: "spartacusjhm" <spartacusjhm@...>
Date: Thu Jan 29, 2009 10:56 pm
Subject: Cantera Installation for Apple OS X and MS Vista
spartacusjhm
Offline Offline
Send Email Send Email
 
Hi fellow Cantera folks.  Dibble and I are in the midst of our yearly
Combustion course Cantera install, and I'm having some problems
setting up Cantera + MATLAB on Apple OS X and Windows Vista operating
systems.  We're pretty adept at XP, but it doesn't seem to translate
onto other operating systems.  If anyone has any recent installation
instructions (or is willing to type some out) for OSX or Vista, we'd
really appreciate it.  You can contact me via email at
hmack(at)me(dot)berkeley(dot)edu.

Thanks in advance.
Hunter Mack
UC Berkeley

#1956 From: "Dave Goodwin" <dgoodwin@...>
Date: Fri Mar 20, 2009 11:00 am
Subject: Please join us in our new Cantera group at google
dggoodwin
Offline Offline
Send Email Send Email
 
Email me at dave@... for more info!

Dave

#1957 From: Bhupinder Singh <bsingh@...>
Date: Fri May 29, 2009 7:55 am
Subject: Installation problems on a 64 bit ubuntu machine
bhupindersin...
Offline Offline
Send Email Send Email
 
Hi everyone,

I'm having trouble installing Cantera on a 64 bit ubuntu machine.
I understand that the error might have to do with adding the -fPIC
option in the make files. I added that option in preconfig file,
and that took care of quite a few errors I was getting. I feel
that the current message might have to do with similar changes to
the make files for the sundials package. But, I'm not sure and in
any case, I'm not sure where to make the changes.

I'd appreciate your help.

Regards,

Bhupinder

Here's the error message:
singh@bsingh-desktop:~/BHUPI/software/cantera-1.7/cantera-1.7.0/Cantera/python$
sudo make
touch src/pycantera.cpp
(CXX="g++"; export CXX; CC="g++"; export CC; /usr/bin/python2.5
setup.py build)
running build
running build_py
running build_ext
building 'Cantera._cantera' extension
creating build/temp.linux-x86_64-2.5
creating build/temp.linux-x86_64-2.5/src
g++ -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC -I../../build/include -Isrc
-I../clib/src -I/usr/include/python2.5 -c src/pycantera.cpp -o
build/temp.linux-x86_64-2.5/src/pycantera.o
cc1plus: warning: command line option "-Wstrict-prototypes" is
valid for Ada/C/ObjC but not for C++
src/pycantera.cpp: In function ???void init_cantera()???:
src/pycantera.cpp:89: warning: deprecated conversion from string
constant to ???char*???
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
build/temp.linux-x86_64-2.5/src/pycantera.o
-L/home/bsingh/BHUPI/software/cantera-1.7/cantera-1.7.0/build/lib/x86_64-unknown\
-linux-gnu
-L/home/bsingh/BHUPI/software/cantera-1.7/cantera-1.7.0/build/lib/x86_64-unknown\
-linux-gnu
-L/home/bsingh/sundials/lib -lclib -lzeroD -loneD -ltransport
-lcantera -lconverters -lctlapack -lctblas -lsundials_cvodes
-lsundials_nvecserial -lctmath -ltpx -lctf2c -lctf2c -lm -l-fPIC
-o build/lib.linux-x86_64-2.5/Cantera/_cantera.so
/usr/bin/ld: /usr/local/lib/libsundials_cvodes.a(cvodes.o):
relocation R_X86_64_32 against `a local symbol' can not be used
when making a shared object; recompile with -fPIC
/usr/local/lib/libsundials_cvodes.a: could not read symbols: Bad
value
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1
make: *** [_build] Error 1
bsingh@bsingh-desktop:~/BHUPI/software/cantera-1.7/cantera-1.7.0/Cantera/python$
sudo chmod 777 Makefile

--------------
Changes that I had to make to get rid of some errors:

1. added
#include <stdlib.h>
to stringUtils.h
in
/home/bsingh/BHUPI/software/cantera-1.7/cantera-1.7.0/Cantera/src

2. added
#include<string.h>
to ctml.h
in
/home/bsingh/BHUPI/software/cantera-1.7/cantera-1.7.0/Cantera/src

3. Modified (added -fPIC options)
preconfig
in /home/bsingh/BHUPI/software/cantera-1.7/cantera-1.7.0

# C++ compiler flags
CXXFLAGS=${CXXFLAGS:="-O3 -Wall -fPIC"}

FFLAGS=${FFLAGS:='-O -fPIC'}
-------------------------

On Wed Jan 09 10:29:57 EST 2008, Dave Goodwin
<dgoodwin@...> wrote:

> try this: edit file "setup.py" in Cantera/python, and comment out
> the  "try" and "except" statements, and the body of the "except"
> block.   Then run it again. You'll still get the error, but
> you'll get a more  detailed error message that hopefully reveals
> what the problem is.
>
> Dave
>
>
> On Jan 9, 2008, at 6:44 AM, scheskis wrote:
>
>> I am trying to install cantera (last CVS update) on SUSE 10.3
>> 64bit.
>> "Make" command finished with the following error:
>> ...
>> running build
>> running build_py
>> running build_ext
>> setup.py:108: DeprecationWarning: raising a string exception is
>> deprecated
>>   raise 'Error encountered while building or installing the
>> Cantera
>> python modules!'
>> Traceback (most recent call last):
>>   File "setup.py", line 108, in <module>
>>     raise 'Error encountered while building or installing the
>> Cantera
>> python modules!'
>> Error encountered while building or installing the Cantera
>> python  modules!
>> make[1]: *** [_build] Error 1
>> make[1]: Leaving directory
>> `/home/sergey/src/cantera_1/cantera/Cantera/python'
>> make: *** [python] Error 2.
>>
>> I would appreciate any help. May be somebody can advice how to
>> debug
>> this error.
>>
>> Thanks
>> Sergey Cheskis.
>>
>>
>>
>>
>>
>> Yahoo! Groups Links
>>
>>
>>
>
>



--
Bhupinder Singh
Department of Mechanical and Aerospace Engineering
University of Florida
Gainesville

Ph: 352-392-4442 (O)
     352-328-4486 (Cell)

#1958 From: "graham_goldin" <graham.goldin@...>
Date: Fri May 29, 2009 6:39 pm
Subject: Re: Installation problems on a 64 bit ubuntu machine
graham_goldin
Offline Offline
Send Email Send Email
 
Hi! Bhupinder,

I was able to build on ubuntu 64 with the latest sources, starting from scratch.
This is what I did:

1) cvs -z3 -d:pserver:anonymous@...:/cvsroot/cantera co
cantera

2) edit preconfig and
a) set CANTERA_CONFIG_PREFIX to my install dir
b) set USE_SUNDIALS to 'y' and SUNDIALS_HOME to the same install dir as 1)

3) donwload sundials2.3 and in the sundials2.3.0 dir
./configure --prefix=same install dir as 2a)
make
make install

4) in the cantera dir,
preconfig
make
make install

Everything builds fine.

Please note that Cantera user group has moved to google.

--- In cantera@yahoogroups.com, Bhupinder Singh <bsingh@...> wrote:
>
> Hi everyone,
>
> I'm having trouble installing Cantera on a 64 bit ubuntu machine.
> I understand that the error might have to do with adding the -fPIC
> option in the make files. I added that option in preconfig file,
> and that took care of quite a few errors I was getting. I feel
> that the current message might have to do with similar changes to
> the make files for the sundials package. But, I'm not sure and in
> any case, I'm not sure where to make the changes.
>
> I'd appreciate your help.
>
> Regards,
>
> Bhupinder

#1959 From: Bhupinder Singh <bsingh@...>
Date: Sat May 30, 2009 9:49 am
Subject: Re: Re: Installation problems on a 64 bit ubuntu machine
bhupindersin...
Offline Offline
Send Email Send Email
 
Hey,

Thanks a lot for your response!

Unforturnately, I still haven't been able to resolve my problem
completely. I did manage to get the python minimal installation
through and my Cantera test programs seem to be working. When I
manually try to run the python setup in Cantera/python, I still
see the same error I've been getting.

bsingh@bsingh-desktop:~/BHUPI/software/cantera-1.7/cantera-1.7.0/Cantera/python$
sudo python2.5 setup.py build
running build
running build_py
copying notused_setup.py -> build/lib.linux-x86_64-2.5
running build_ext
building 'Cantera._cantera' extension
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
build/temp.linux-x86_64-2.5/src/pycantera.o
-L/home/bsingh/BHUPI/software/cantera-1.7/cantera-1.7.0/build/lib/x86_64-unknown\
-linux-gnu
-L/home/bsingh/BHUPI/software/cantera-1.7/cantera-1.7.0/build/lib/x86_64-unknown\
-linux-gnu
-L/usr/local/lib -lclib -lzeroD -loneD -ltransport -lcantera
-lconverters -lctlapack -lctblas -lsundials_cvodes
-lsundials_nvecserial -lctmath -ltpx -lctf2c -lctf2c -lm -l-fPIC
-o build/lib.linux-x86_64-2.5/Cantera/_cantera.so
/usr/bin/ld: /usr/local/lib/libsundials_cvodes.a(cvodes.o):
relocation R_X86_64_32 against `a local symbol' can not be used
when making a shared object; recompile with -fPIC
/usr/local/lib/libsundials_cvodes.a: could not read symbols: Bad
value
collect2: ld returned 1 exit status
running build
running build_py

Any ideas/suggestions on how to get the full installation
working?

Regards,

Bhupinder

On Fri May 29 14:39:21 EDT 2009, graham_goldin
<graham.goldin@...> wrote:

> Hi! Bhupinder,
>
> I was able to build on ubuntu 64 with the latest sources,
> starting from scratch. This is what I did:
>
> 1) cvs -z3
> -d:pserver:anonymous@...:/cvsroot/cantera
> co cantera
>
> 2) edit preconfig and
> a) set CANTERA_CONFIG_PREFIX to my install dir
> b) set USE_SUNDIALS to 'y' and SUNDIALS_HOME to the same install
> dir as 1)
>
> 3) donwload sundials2.3 and in the sundials2.3.0 dir
> ./configure --prefix=same install dir as 2a)
> make
> make install
>
> 4) in the cantera dir,
> preconfig
> make
> make install
>
> Everything builds fine.
>
> Please note that Cantera user group has moved to google.
>
> --- In cantera@yahoogroups.com, Bhupinder Singh <bsingh@...>
> wrote:
>>
>> Hi everyone,
>>
>> I'm having trouble installing Cantera on a 64 bit ubuntu
>> machine. I understand that the error might have to do with
>> adding the -fPIC option in the make files. I added that option
>> in preconfig file, and that took care of quite a few errors I
>> was getting. I feel that the current message might have to do
>> with similar changes to the make files for the sundials package.
>> But, I'm not sure and in any case, I'm not sure where to make
>> the changes.
>>
>> I'd appreciate your help.
>>
>> Regards,
>>
>> Bhupinder
>
>
>
>



--
Bhupinder Singh
Department of Mechanical and Aerospace Engineering
University of Florida
Gainesville

Ph: 352-392-4442 (O)
     352-328-4486 (Cell)

#1960 From: "manu370353" <manu370353@...>
Date: Wed Jun 17, 2009 5:29 am
Subject: Re: Please join us in our new Cantera group at google
manu370353
Offline Offline
Send Email Send Email
 
sir,
please join me cantera users group

manoj

#1961 From: manu370353@...
Date: Tue Jul 7, 2009 5:45 am
Subject: Re: Examples of Cantera use
manu370353
Offline Offline
Send Email Send Email
 
hi,
 
        I dont know to plot reaction path please help me
 
 
 
 
 
 
                                                 manoj

#1962 From: Bhupinder Singh <bsingh@...>
Date: Tue Jul 7, 2009 6:09 am
Subject: Re: Examples of Cantera use
bhupindersin...
Offline Offline
Send Email Send Email
 
Hey Manoj,

Try looking at the demo files distributed with Cantera package.
Its a fairly straight forward process. First you generate a .dot
file, and then convert the .dot file to whatever format you want,
using another software (dot.exe/graphviz).

Please refer to the files that I've attached for details. These
are demo files distributed with Cantera (linux) and will
definitely be useful.

Regards,

Bhupinder


On Tue Jul 07 01:45:48 EDT 2009, manu370353@... wrote:

>
>
>
> hi,
> ??????????????????
>
????????????????????????????????????????????????????????????????????????????????\
??????????????????????????????????????????????
> I dont know to plot reaction path please help me
> ??????????????????
> ??????????????????
> ??????????????????
> ??????????????????
> ??????????????????
> ??????????????????
>
????????????????????????????????????????????????????????????????????????????????\
????????????????????????????????????????????????????????????????????????????????\
????????????????????????????????????????????????????????????????????????????????\
????????????????????????????????????????????????????????????????????????????????\
????????????????????????????????????????????????????????????????????????????????\
????????????????????????????????????????????????????????????????????????????????\
????????????????????????????????????????????????????????????????????????????????\
????????????????????????????????????????????????????????????????????????????????\
????????????????????????????????????????????????????????????????????????????????\
????????????????????????????????????????????????????????????????????????????????\
????????????????????????????????????????????????????????????????
> manoj
>
>
>



--
Bhupinder Singh
Department of Mechanical and Aerospace Engineering
University of Florida
Gainesville

Ph: 352-392-4442 (O)
     352-328-4486 (Cell)

2 of 2 File(s)


#1963 From: "manu370353" <manu370353@...>
Date: Thu Jul 9, 2009 3:58 am
Subject: transport properties
manu370353
Offline Offline
Send Email Send Email
 
hi,
I succeeded to generate the new reaction mechanism from the parent cti
file(eg:gri30.cti) but the new generated mechanism doen't contains the transport
properties.how can I add tranport properties in the new generated reaction
mechanism.

manoj

#1964 From: "graham_goldin" <graham.goldin@...>
Date: Thu Jul 9, 2009 10:26 am
Subject: Re: transport properties
graham_goldin
Offline Offline
Send Email Send Email
 
--- In cantera@yahoogroups.com, "manu370353" <manu370353@...> wrote:
>
> hi,
> I succeeded to generate the new reaction mechanism from the parent cti
file(eg:gri30.cti) but the new generated mechanism doen't contains the transport
properties.how can I add tranport properties in the new generated reaction
mechanism.

Manoj,
It's not clear when you say you 'generate' a mechanism: the .cti file should
have the transport props in it. Look at gri30.cti in the cantera\data\inputs and
search for "transport". Btw, if you are converting a Chemkin file, then use
something like:

ck2cti.exe -i h2-o2.che -t therm.dat -tr tran.dat -id ohmech -v
python ctml_writer.py h2-o2.cti

#1965 From: manoj kumar <manu370353@...>
Date: Fri Jul 10, 2009 4:48 am
Subject: Re: Re: transport properties
manu370353
Offline Offline
Send Email Send Email
 
I created the mechanism like this
enter the units here (unit length etc)
elements;H C O',
species';gri30;O2 H2 OH CO CO2',
reactions = gri30:all',
skip_undeclared elements'
skip_ undeclared species'
save this file as cti file say manoj.cti
open the matlab type, gas = importPhase('manoj.cti')
in the command window. I can see the species of manoj.cti
when I type reactioneqn(gas), I can see the reaction eqs of manoj.cti
but when I use manoj.cti in flame.m an error appears that  unknown transport properties
this is my problem
manoj
--- On Thu, 7/9/09, graham_goldin <graham.goldin@...> wrote:

From: graham_goldin <graham.goldin@...>
Subject: [cantera] Re: transport properties
To: cantera@yahoogroups.com
Date: Thursday, July 9, 2009, 3:56 PM

--- In cantera@yahoogroups .com, "manu370353" <manu370353@ ...> wrote:
>
> hi,
> I succeeded to generate the new reaction mechanism from the parent cti file(eg:gri30. cti) but the new generated mechanism doen't contains the transport properties.how can I add tranport properties in the new generated reaction mechanism.

Manoj,
It's not clear when you say you 'generate' a mechanism: the .cti file should have the transport props in it. Look at gri30.cti in the cantera\data\ inputs and search for "transport". Btw, if you are converting a Chemkin file, then use something like:

ck2cti.exe -i h2-o2.che -t therm.dat -tr tran.dat -id ohmech -v
python ctml_writer. py h2-o2.cti



#1966 From: "manu370353" <manu370353@...>
Date: Mon Jul 20, 2009 5:12 am
Subject: Fwd: transport properties
manu370353
Offline Offline
Send Email Send Email
 
--- In cantera@yahoogroups.com, "manu370353" <manu370353@...> wrote:

hi,
I succeeded to generate the new reaction mechanism from the parent cti
file(eg:gri30.cti) but the new generated mechanism doen't contains the transport
properties.how can I add tranport properties in the new generated reaction
mechanism.

manoj

--- End forwarded message ---

#1967 From: "asteroid_2000_2000" <asteroid_2000_2000@...>
Date: Tue Jul 21, 2009 4:00 am
Subject: Cometary Impacts
asteroid_200...
Offline Offline
Send Email Send Email
 
Dear colleagues: I am a geochemist who has been working for last several years
on the thermochemisty of cometary impacts into ocean. I published even a paper
related to this subject in respected Journal of the Impact Engineering.
Theoretical calculations in this report was carried out using the Chemkin
Collections® and the STANJAN method equilibrium calculations. I wish now to
improve these calculations. I wonder if someone in the Cantera Yahoo groups is
interested to work with me (as a coauthor) on this project.
Pavle I. Premovic

#1968 From: "manu370353" <manu370353@...>
Date: Wed Jul 22, 2009 3:55 am
Subject: Re: Cometary Impacts
manu370353
Offline Offline
Send Email Send Email
 
--- In cantera@yahoogroups.com, "asteroid_2000_2000" <asteroid_2000_2000@...>
wrote:
>
> Dear colleagues: I am a geochemist who has been working for last several years
on the thermochemisty of cometary impacts into ocean. I published even a paper
related to this subject in respected Journal of the Impact Engineering.
Theoretical calculations in this report was carried out using the Chemkin
Collections® and the STANJAN method equilibrium calculations. I wish now to
improve these calculations. I wonder if someone in the Cantera Yahoo groups is
interested to work with me (as a coauthor) on this project.
> Pavle I. Premovic
>
dear pavle
  let me know what you want to do using cantera
manoj

#1969 From: Karl Meredith <virgil.meredith@...>
Date: Wed Jul 22, 2009 3:59 am
Subject: Re: Re: Cometary Impacts
kvirgilm
Offline Offline
Send Email Send Email
 
Pavle,

I might be interested.  Tell me more about what it is that you want done.

Karl

On Jul 21, 2009, at 11:55 PM, manu370353 wrote:

--- In cantera@yahoogroups.com, "asteroid_2000_2000" <asteroid_2000_2000@...> wrote:
>
> Dear colleagues: I am a geochemist who has been working for last several years on the thermochemisty of cometary impacts into ocean. I published even a paper related to this subject in respected Journal of the Impact Engineering. Theoretical calculations in this report was carried out using the Chemkin Collections® and the STANJAN method equilibrium calculations. I wish now to improve these calculations. I wonder if someone in the Cantera Yahoo groups is interested to work with me (as a coauthor) on this project.
> Pavle I. Premovic
>
dear pavle
let me know what you want to do using cantera
manoj 



#1970 From: "Pavle I. Premovic" <asteroid_2000_2000@...>
Date: Wed Jul 22, 2009 5:18 am
Subject: Re: Re: Cometary Impacts
asteroid_200...
Offline Offline
Send Email Send Email
 
Dear Karl:
Dear Karl: Thank you for your interest for my proposal of the cometary impacts into ocean. My intenton is to  explore a possibility that some enormous comets of the early Earth period period with an appropriate energy/mass could create considerable amounts of free molecular oxygen (O2). This oxygen was generated through the thermal dissociation of cometary H2O vapour with subsequent escape of hydrogen into interplanetary space. In my previous report ( Premović, P.I. (2003) Cometary impacts into ocean: Thermochemical equilibrium calculations of high-temperature O2 generation on the early Earth. International Journal of Impact Engineering 29, 575-587.) 
 I performed thermochemical equilibrium calculations at different temperatures (from 1500 K up to 6000 K) and different pressures (from 1 mbar up to 270 bar) using the Gibbs-free-energy- minimization method (the STANJAN method) and JANAF thermochemical tables (the Chemkin collectionsâ). Then, I simply extrapolate my conclusions for temperatures higher than 6000 K but I was not happy with this. I wish now with someone to make thermochemical calculations for temperatures  higher up to 20,000 K, if it is possible at all. 
At the moment I am on vacation in Greece so I am not able to send to you a copy of this report. On the end of July I will be back in my Lab and I would you send this copy.
Looking for your reply.
Best regards,
Pavle  


Pavle I. Premovic
Laboratory for Geochemistry,Cosmochemistry&Astrochemistry
University of Nis, P. O. Box 91,
18000 Nis, Serbia

--- On Wed, 7/22/09, Karl Meredith <virgil.meredith@...> wrote:

From: Karl Meredith <virgil.meredith@...>
Subject: Re: [cantera] Re: Cometary Impacts
To: cantera@yahoogroups.com
Date: Wednesday, July 22, 2009, 5:59 AM

 
Pavle,

I might be interested.  Tell me more about what it is that you want done.

Karl

On Jul 21, 2009, at 11:55 PM, manu370353 wrote:

--- In cantera@yahoogroups .com, "asteroid_2000_ 2000" <asteroid_2000_ 2000@...> wrote:
>
> Dear colleagues: I am a geochemist who has been working for last several years on the thermochemisty of cometary impacts into ocean. I published even a paper related to this subject in respected Journal of the Impact Engineering. Theoretical calculations in this report was carried out using the Chemkin Collections® and the STANJAN method equilibrium calculations. I wish now to improve these calculations. I wonder if someone in the Cantera Yahoo groups is interested to work with me (as a coauthor) on this project.
> Pavle I. Premovic
>
dear pavle
let me know what you want to do using cantera
manoj 




#1971 From: "Pavle I. Premovic" <asteroid_2000_2000@...>
Date: Wed Jul 22, 2009 5:19 am
Subject: Re: Re: Cometary Impacts
asteroid_200...
Offline Offline
Send Email Send Email
 
Dear Manoj: Thank you for your interest for my proposal of the cometary impacts into ocean. My intenton is to  explore a possibility that some enormous comets of the early Earth period period with an appropriate energy/mass could create considerable amounts of free molecular oxygen (O2). This oxygen was generated through the thermal dissociation of cometary H2O vapour with subsequent escape of hydrogen into interplanetary space. In my previous report ( Premović, P.I. (2003) Cometary impacts into ocean: Thermochemical equilibrium calculations of high-temperature O2 generation on the early Earth. International Journal of Impact Engineering 29, 575-587.) 
 I performed thermochemical equilibrium calculations at different temperatures (from 1500 K up to 6000 K) and different pressures (from 1 mbar up to 270 bar) using the Gibbs-free-energy- minimization method (the STANJAN method) and JANAF thermochemical tables (the Chemkin collectionsâ). Then, I simply extrapolate my conclusions for temperatures higher than 6000 K but I was not happy with this. I wish now with someone to make thermochemical calculations for temperatures  higher up to 20,000 K, if it is possible at all. 
At the moment I am on vacation in Greece so I am not able to send to you a copy of this report. On the end of July I will be back in my Lab and I would you send this copy.
Looking for your reply.
Best regards,
Pavle  


Pavle I. Premovic
Laboratory for Geochemistry,Cosmochemistry&Astrochemistry
University of Nis, P. O. Box 91,
18000 Nis, Serbia

--- On Wed, 7/22/09, manu370353 <manu370353@...> wrote:

From: manu370353 <manu370353@...>
Subject: [cantera] Re: Cometary Impacts
To: cantera@yahoogroups.com
Date: Wednesday, July 22, 2009, 5:55 AM

 
--- In cantera@yahoogroups .com, "asteroid_2000_ 2000" <asteroid_2000_ 2000@...> wrote:
>
> Dear colleagues: I am a geochemist who has been working for last several years on the thermochemisty of cometary impacts into ocean. I published even a paper related to this subject in respected Journal of the Impact Engineering. Theoretical calculations in this report was carried out using the Chemkin Collections® and the STANJAN method equilibrium calculations. I wish now to improve these calculations. I wonder if someone in the Cantera Yahoo groups is interested to work with me (as a coauthor) on this project.
> Pavle I. Premovic
>
dear pavle
let me know what you want to do using cantera
manoj



#1972 From: manoj kumar <manu370353@...>
Date: Tue Sep 8, 2009 4:38 am
Subject: Re: Combustion Symposium in Montreal
manu370353
Offline Offline
Send Email Send Email
 
is it possible to me to get ic engine combustion
simulation code in python i am a cantera user
manoj

Messages 1943 - 1972 of 1972   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help