Minor changes to reflect changes in LiquidTransportParams,
LiquidTransportData and TransportParams. However, the last set of changes broke AqueosTransport because it uses the same property coefficient vectors as those now moved to GasTransportParams.
This commit is contained in:
parent
dbef25a481
commit
e52797d335
3 changed files with 9 additions and 6 deletions
|
|
@ -87,9 +87,12 @@ namespace Cantera {
|
|||
m_thermo->molecularWeights().end(), m_mw.begin());
|
||||
|
||||
// copy polynomials and parameters into local storage
|
||||
m_visccoeffs = tr.visccoeffs;
|
||||
m_condcoeffs = tr.condcoeffs;
|
||||
m_diffcoeffs = tr.diffcoeffs;
|
||||
//m_visccoeffs = tr.visccoeffs;
|
||||
//m_condcoeffs = tr.condcoeffs;
|
||||
//m_diffcoeffs = tr.diffcoeffs;
|
||||
cout << "In AqueousTransport::initLiquid we need to replace" << endl
|
||||
<< "LiquidTransportParams polyniomial coefficients with" << endl
|
||||
<< "those in LiquidTransportData as in SimpleTransport." << endl;
|
||||
|
||||
m_mode = tr.mode_;
|
||||
|
||||
|
|
|
|||
|
|
@ -296,7 +296,7 @@ namespace Cantera {
|
|||
"hydroradius model is not constant for species " + spName0);
|
||||
}
|
||||
vector_fp &kentry = m_coeffHydroRadius_Ns[k];
|
||||
kentry.push_back(ltd.hydroradius);
|
||||
kentry = ltd.hydroRadiusCoeffs;
|
||||
} else {
|
||||
if (dm != dm0) {
|
||||
throw CanteraError(" SimpleTransport::initLiquid",
|
||||
|
|
|
|||
|
|
@ -310,7 +310,7 @@ namespace Cantera {
|
|||
*/
|
||||
virtual void getFluidMobilities(doublereal* const mobil_f);
|
||||
|
||||
//! Specify the valpdaue of the gradient of the voltage
|
||||
//! Specify the value of the gradient of the voltage
|
||||
/*!
|
||||
*
|
||||
* @param grad_V Gradient of the voltage (length num dimensions);
|
||||
|
|
@ -450,7 +450,7 @@ namespace Cantera {
|
|||
* Types of temperature dependencies:
|
||||
* 0 - Independent of temperature (only one implemented so far)
|
||||
* 1 - extended arrhenius form
|
||||
* 2 - power law form
|
||||
* 2 - polynomial in temperature form
|
||||
*/
|
||||
int tempDepType_;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue