print pure species thermal conductivities

This commit is contained in:
Yeongdo Park 2018-12-27 03:56:32 -05:00
parent 15a9eb74a6
commit 74ddb91998

View file

@ -83,7 +83,7 @@ class LogWriter
label numTests() {return testCount_;}
void operator() (
bool operator() (
word name,
scalar T,
scalar ofVal,
@ -104,6 +104,8 @@ class LogWriter
<< ctVal << token::TAB
<< 100*(relError(ofVal, ctVal))
<< endl;
return (exceedTolerence(relError(ofVal, ctVal)));
}
};
@ -209,6 +211,10 @@ int main(int argc, char *argv[])
}
scalarField kSp (diff.kpure(thermo.T()[0], p[0], XY));
forAll(thermo.composition().species(), k)
{
logWriter
@ -238,6 +244,8 @@ int main(int argc, char *argv[])
tr_->thermalConductivity()
)
;
Info << kSp << nl << endl;
}
Info << logWriter.numErrors() << " / " << logWriter.numTests() << " End" << nl << endl;