Changed the makefile to use the BUILDBIN variable. The converter

programs are no longer in ../bin.
This commit is contained in:
Harry Moffat
2007-10-19 16:59:09 +00:00
parent 40e450ca8e
commit ebab5dfe87
3 changed files with 14 additions and 2 deletions

View File

@@ -6,4 +6,4 @@ diamond.xml
liquidvapor.xml
testdest.xml
testdest2.xml
ck2cti.log

View File

@@ -6,8 +6,10 @@ SUFFIXES= .inp .log .dat
# list all mechanism files here
MECHS =
BUILDBIN=@buildbin@
all: gri30.xml
gri30.xml: gri30.cti
../../bin/cti2ctml gri30.cti
$(BUILDBIN)/cti2ctml gri30.cti

10
data/inputs/mkxml.in Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
# run ck2cti to convert Chemkin-format files to Cantera format
#
BUILDBIN="@buildbin@"
#
$BUILDBIN/ck2cti -i gri30.inp -id gri30 -tr ../transport/gri30_tran.dat > gri30.cti
$BUILDBIN/ck2cti -i air.inp -id air -t gri30.inp -tr ../transport/gri30_tran.dat > air.cti
$BUILDBIN/ck2cti -i h2o2.inp -id ohmech -tr ../transport/gri30_tran.dat > h2o2.cti
$BUILDBIN/ck2cti -i silane.inp -id silane -tr ../transport/misc_tran.dat > silane.cti
$BUILDBIN/ck2cti -i argon.inp -id argon -t gri30.inp -tr ../transport/gri30_tran.dat > argon.cti