|
[Sponsors] |
February 11, 2013, 14:17 |
cantera 2.0.1 and OpenFOAM-1.7.1
|
#1 |
Senior Member
Adhiraj
Join Date: Sep 2010
Location: Karnataka, India
Posts: 187
Rep Power: 16 |
Hi all,
I am trying to use cantera 2.0.1 with OpenFOAM 1.7.1 for equilibrium calculations. I created a model that has a cantera IdealGasMix as a member. Code:
Cantera::vector_fp Ymol; Cantera::IdealGasMix g; Code:
g.setState_TPY(T[ignCell], p[ignCell], DATA_PTR(Ymol)); equilibrate(g, "HP"); Any help will be appreciated, thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SpalartAllmaras wall function in OpenFOAM 2.0.1 | moser_r | OpenFOAM Running, Solving & CFD | 4 | September 18, 2013 18:37 |
OpenFOAM 1.7.1. using openmpi on Ubuntu 12.04 | dasMopo | OpenFOAM Installation | 5 | February 17, 2013 11:14 |
OpenFoam 1.7.1 on Fedora 12 Help... | Alphax | OpenFOAM Installation | 7 | November 2, 2012 15:33 |
linearUpwind scheme in OpenFOAM 2.0.1 ??? | cabul | OpenFOAM | 8 | November 9, 2011 07:57 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |