print pure species thermal conductivities
This commit is contained in:
parent
15a9eb74a6
commit
74ddb91998
1 changed files with 9 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue