updating, even if it is not working... will fiddle further
This commit is contained in:
parent
be97b0e7ba
commit
66c9d4c1f0
1 changed files with 9 additions and 6 deletions
|
|
@ -33,15 +33,10 @@ int main(int argc, char** argv)
|
|||
try
|
||||
{
|
||||
int k;
|
||||
IdealGasMix g("test_stat_trans.xml");
|
||||
IdealGasMix g("test_stat_trans.xml", "example");
|
||||
int nsp = g.nSpecies();
|
||||
double pres = 1.0E5;
|
||||
|
||||
// init pecos transport
|
||||
int log_level = 0;
|
||||
Transport * tran = newTransportMgr("Pecos", &g, log_level=0);
|
||||
PecosTransport * tranMix = dynamic_cast<PecosTransport *>(tran);
|
||||
|
||||
vector_fp Xset(nsp, 0.0);
|
||||
Xset[0] = 0.5 ;
|
||||
Xset[1] = 0.5;
|
||||
|
|
@ -49,6 +44,14 @@ int main(int argc, char** argv)
|
|||
g.setState_TPX(1500.0, pres, DATA_PTR(Xset));
|
||||
equilibrate(g, "TP", -1);
|
||||
|
||||
// init pecos transport
|
||||
int log_level = 0;
|
||||
Transport * tran = newTransportMgr("Pecos", &g, log_level=0);
|
||||
PecosTransport * tranMix = dynamic_cast<PecosTransport *>(tran);
|
||||
|
||||
cout << "here";
|
||||
|
||||
|
||||
vector_fp cp_R(nsp, 0.0);
|
||||
g.getCp_R(DATA_PTR(cp_R));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue