Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Rounak Agarwal
    @agarwalrounak
    I am familiar with Git and Github having contributed to Open Source projects before. You can read more about my previous Open Source contributions here: https://medium.com/@agarwalrounak
    I also have a lot of experience with Python as most of the projects I have worked on involved Python. For example https://github.com/agarwalrounak/Codigo_Maestro and many more on my Github profile: https://github.com/agarwalrounak
    I would like to know how I can move ahead with the ideas so that I can prepare a proposal.
    Archit
    @gargarchit
    @nishikeshKardak Thanks
    tangy11
    @tangy11
    Hello, I want to know if modules associated with ions, such as 'ion_free_flame', are available in cantera installed through conda. I cannot find it in the example folders of my computer. Thanks
    Rounak Agarwal
    @agarwalrounak
    Hi everyone! Hope you are doing great! This is just a reminder that the student application period for GSoC has begun. The final deadline to submit students applications, to be done strictly via the official GSoC platform, is April 9th 18:00 UTC.
    MehulDokania
    @MehulDokania
    Hello everyone, I have written a proposal to work on revamping Mixmaster for GSoC. Kindly review it and suggest any changes. Proposal Link: https://docs.google.com/document/d/1KJ4_QIYXdXOn6D1Qg6DUjuatbyJYgqFi1_V74M_DsYA/edit?usp=sharing
    Bryan W. Weber
    @bryanwweber
    @tangy11 Yes, all of the Python modules are available from the conda package. The examples folder can be found by following the instructions here: https://cantera.org/examples/python/index.html
    Bolarinwa Saheed Olayemi
    @refactormyself
    Hi, I am Saheed. I am here trying my luck at GSoC
    Bolarinwa Saheed Olayemi
    @refactormyself
    I am getting error trying to compile cantera
    (Win 7 64-bit, Anaconda, python 3.6.6)
    WARNING: Not building the full Python 2 package because the Python 2 
    interpreter 'python2' could not be found or a required dependency 
    (e.g. numpy) was not found.
    ERROR: Could not execute the Python 3 interpreter 'python3' or a 
    required dependency (e.g. numpy) could not be found.
    I don't know when it is trying to use Python 2
    Bolarinwa Saheed Olayemi
    @refactormyself
    In case any newbie like me is facing error relating to python3 command when you follow the build instruction and your build env setup. The default command for python 3 is python3. Use python3_cmd = 'python' to change it. See here
    Thanasis Mattas
    @ThanasisMattas
    Hello everyone! I am Thanasis Mattas, senior student at the Physics department of Aristotle University of Thessaloniki in Greece and I am strongy interested in Cantera and GSoC-2019. I have already introduced myself at the mailing list, so I keep this one breef!
    I have built cantera on my system (ubuntu 18.10), but an error occured while trying to compile, for example while, the simple C++ programm at the cantera.org: https://cantera.org/tutorials/cxx-guide/simple-example.html#sec-cxx-simple-example
    the command I run:
    g++ -o combustor -pthread -O3 -std=c++0x -I/usr/local/include -L/usr/local/lib -lcantera -lsundials_cvodes -lsundials_ida -lsundials_nvecserial combustor.cpp
    Thanasis Mattas
    @ThanasisMattas
    And the error:
    /usr/bin/ld: /tmp/cc25A0LA.o: in function simple_demo()': combustor.cpp:(.text+0x7a): undefined reference toCantera::newPhase(std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
    /usr/bin/ld: /tmp/cc25A0LA.o:(.data.rel.local.DW.ref._ZTIN7Cantera12CanteraErrorE[DW.ref._ZTIN7Cantera12CanteraErrorE]+0x0): undefined reference to `typeinfo for Cantera::CanteraError'
    collect2: error: ld returned 1 exit status
    I followed tha manual build-from-source with scons and the conda build in a differend env, and the same error occured while runnig the command activating both envs. (Default -> pyhton3.7.3)
    Thanasis Mattas
    @ThanasisMattas
    Can anyone please help! Thank you!
    Bryan W. Weber
    @bryanwweber
    @ThanasisMattas Where did you install Cantera? If you didn’t install Cantera, then you’ll have to include the build directory into your include and library search paths
    Thanasis Mattas
    @ThanasisMattas
    If it is ok, I will transfer the issue properly at Cantera Users' Group
    Bryan W. Weber
    @bryanwweber
    @ThanasisMattas that would be preferred :-)
    Rounak Agarwal
    @agarwalrounak
    There are a few hours left before the deadline (April 9 18:00 UTC). Please make sure you submit your final proposal (not draft) as well as a proof of enrollment in an eligible university program by the deadline. Google is very strict about deadlines.
    QBPA
    @QBPA
    I am a newcomer,and may i ask. If I use the .cti file, either gri30.cti or air.cti can't run,they will return CanteraError. But it works with gri30.xml. Do i need additional files to use .cti files?
    Thank you very much for any help.
    Thanasis Mattas
    @ThanasisMattas
    @QBPA Hello! I had the same problem. Have you installed all the dependencies? You need numpy for ct2ctml (witch makes the conversion) to work. If you use anaconda: conda install numpy (check version first - for python2 or 3). If you dont: 1. sudo apt-get install python-pip
    1. sudo pip install numpy (again, check the version first). If that is not the case, provide more info, like your system and your installation method.
    QBPA
    @QBPA
    @ThanasisMattas Thank you for you help. But i have install numpy with conda, and successful execution of ck2cti. and i tried to update the numpy and another error has caused.
    Thanasis Mattas
    @ThanasisMattas
    @QBPA You can downgrade I think. Ok. Maybe someone else can help you. In my case, though, I actually did install numpy with conda but the python interpreter wasn't set to the conda env directory. I think that was the cause of the error. After installing numpy with apt-get, I could then use .cti files.
    QBPA
    @QBPA
    @ThanasisMattas OK,i will try to repeat the reinstallment. Thak you for you help.
    QBPA
    @QBPA

    runfile('C:/cantera/reaction_path.py', wdir='C:/cantera')
    Traceback (most recent call last):

    File "<ipython-input-1-c66d3b7f663c>", line 1, in <module>
    runfile('C:/cantera/reaction_path.py', wdir='C:/cantera')

    File "F:\python\envs\cantera\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
    execfile(filename, namespace)

    File "F:\python\envs\cantera\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
    exec(compile(f.read(), filename, 'exec'), namespace)

    File "C:/cantera/reaction_path.py", line 17, in <module>
    gas = ct.Solution('gri30.cti')

    File "interfaces\cython\cantera\base.pyx", line 29, in cantera._cantera._SolutionBase.cinit

    File "interfaces\cython\cantera\base.pyx", line 50, in cantera._cantera._SolutionBase._init_cti_xml

    CanteraError

    I have reinstalled conda several times, and I still have the above problem. I use win7 with conda. and can see cantera 2.4.0 and numpy 1.16.3 after using the pip list command.
    Satyam Saxena
    @CyberDrudge
    @bryanwweber @decaluwe @speth can i get some insight about why my GSoC proposal didnt got selected for this summer?
    Bryan W. Weber
    @bryanwweber
    Hi @CyberDrudge Unfortunately, we were only assigned one slot from Google this year, and we were very limited with our mentoring capacity. It was a tough decision with a lot of good applications. Thank you for your effort on all the pull requests you’ve made! We hope that you will continue to contribute to Cantera in the future.
    ChenRuimoon
    @ChenRuimoon
    @ThanasisMattas Hello,I am a newcomer, and I had a problem. I can use lots of function except the function of AxisymmetricFlow, and the error: Undefined function or variable 'AxisymmetricFlow'. I can not even run the examples which include the function of AxisymmetricFlow, but can run others. Thank you very much for any help.
    Can anyone please help! Thank you!
    Markus Lohmayer
    @MarkusLohmayer
    Sorry I tried to find this info on the website etc. but couldn't. I am trying to use Cantera to give me various basic thermodynamic properties according to simple models (such as ideal gas) for Argon. Are such batteries included or do I need any input files? I am a new to the project and I would like to use the Python interface
    For example I would like to determine how much mass of argon do I need to have a certain known pressure and known temperature inside a known volume. And other questions of a similar kind.
    Thanks in advance for letting me know if Cantera can do this and if so how
    Bryan W. Weber
    @bryanwweber
    Hi @MarkusLohmayer Yes, you can do this, and yes you’ll need an input file
    Fortunately, one is already included with Cantera. This script should get you started:
    import cantera as ct
    gas = ct.Solution('air.cti')
    gas.TPX = 300, 101325, {'Ar': 1.0}
    If you have other questions, please feel free to post them on our Google Users’ Group: https://groups.google.com/forum/#!forum/cantera-users
    This channel is not monitored very closely, so you’ll get a faster response on the Google Group
    Markus Lohmayer
    @MarkusLohmayer
    @bryanwweber Thank you!
    Vasu Jaganath
    @fedvasu
    Hi, I have a veru basic install and usage question
    I have isntalled cantera using the launchpad ppa on 16.04 Ubuntu
    However I can't use cantera from python3 , due to this error undefined symbol: _Py_ZeroStruct, when importing
    I could only find these two threads, but I couldn't understand how to circumvent this problem without completely nuking my install or installing conda.
    Vasu Jaganath
    @fedvasu
    It is going in python-2.7 directory
    /usr/local/lib/python2.7/dist-packages/cantera/, nothing is in python2.5/dist-packages