This just picks an arbitrary condition, calculates all of the interfacial properties, and dumps it to an ascii file. We want to ensure that the answer doesn't change over time.
34 lines
817 B
Bash
Executable file
34 lines
817 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
#
|
|
|
|
temp_success="1"
|
|
/bin/rm -f output.txt outputa.txt
|
|
tname="multiGasTransport"
|
|
|
|
#################################################################
|
|
#
|
|
#################################################################
|
|
CANTERA_DATA=${CANTERA_DATA:=../../data/inputs}; export CANTERA_DATA
|
|
|
|
CANTERA_BIN=${CANTERA_BIN:=../../bin}
|
|
./multiGasTransport > output.txt
|
|
retnStat=$?
|
|
if [ $retnStat != "0" ]
|
|
then
|
|
temp_success="0"
|
|
echo "$tname ($tname test) returned with bad status, $retnStat, check output"
|
|
fi
|
|
|
|
../../bin/exp3to2.sh output.txt > outputa.txt
|
|
diff -w outputa.txt output_blessed.txt > diff_test.out
|
|
retnStat=$?
|
|
if [ $retnStat = "0" ]
|
|
then
|
|
echo "successful diff comparison on $tname test"
|
|
else
|
|
echo "unsuccessful diff comparison on $tname test"
|
|
echo "FAILED" > csvCode.txt
|
|
temp_success="0"
|
|
fi
|
|
|