[Transport] Use correct scaling factor when fitting conductivity

Fixes #345
This commit is contained in:
Ray Speth
2016-06-20 19:07:56 -04:00
parent e100ef9a09
commit b7e1a5f0bd
2 changed files with 6 additions and 6 deletions

View File

@@ -651,7 +651,7 @@ void GasTransport::fitProperties(MMCollisionInt& integrals)
}
}
polyfit(np, degree, tlog.data(), spvisc.data(), w.data(), c.data());
polyfit(np, degree, tlog.data(), spcond.data(), w.data(), c2.data());
polyfit(np, degree, tlog.data(), spcond.data(), w2.data(), c2.data());
// evaluate max fit errors for viscosity
for (size_t n = 0; n < np; n++) {

View File

@@ -161,15 +161,15 @@
CH2CHO 0
CH3CHO 0
Viscosity and thermal Cond vs. T
400 1.976e-05 0.06407
500 2.357e-05 0.07633
600 2.714e-05 0.08831
400 1.976e-05 0.0641
500 2.357e-05 0.07635
600 2.714e-05 0.08832
700 3.049e-05 0.1002
800 3.368e-05 0.112
900 3.673e-05 0.1238
900 3.673e-05 0.1237
1000 3.966e-05 0.1355
1100 4.247e-05 0.1471
1200 4.52e-05 0.1587
1200 4.52e-05 0.1586
1300 4.784e-05 0.1701
Binary Diffusion Coefficients H2 vs species
H2 - H2 0.001688 0.001688