28 lines
493 B
C++
28 lines
493 B
C++
|
|
/*
|
|
* $Author$
|
|
* $Date$
|
|
* $Revision$
|
|
*
|
|
* Copyright 2002 California Institute of Technology
|
|
*
|
|
*/
|
|
|
|
//#include "Cantera.h"
|
|
#include "IdealGasMix.h"
|
|
#include "ChemEquil.h"
|
|
|
|
int main(int argc, char **argv) {
|
|
try {
|
|
IdealGasMix g("silane.xml");
|
|
g.setState_TPX(2000.0, 100.0, "SIH4:0.01, H2:0.99");
|
|
equilibrate(g, TP);
|
|
printSummary(g, cout);
|
|
return 0;
|
|
}
|
|
catch (CanteraError) {
|
|
showErrors(cerr);
|
|
cerr << "program terminating." << endl;
|
|
return -1;
|
|
}
|
|
}
|