Rolled back some of the changes that Victor made that actually
changed the S-M formula.
This commit is contained in:
parent
985b1f07a8
commit
64d252fdbf
1 changed files with 3 additions and 3 deletions
|
|
@ -1692,7 +1692,7 @@ void LiquidTransport::stefan_maxwell_solve()
|
|||
//if ( !( m_bdiff(i,j) > 0.0 ) )
|
||||
//throw CanteraError("LiquidTransport::stefan_maxwell_solve",
|
||||
// "m_bdiff has zero entry in non-diagonal.");
|
||||
tmp = m_molefracs_tran[i] * m_molefracs_tran[j] * m_bdiff(i,j);
|
||||
tmp = m_molefracs_tran[j] * m_bdiff(i,j);
|
||||
m_A(i,i) -= tmp;
|
||||
m_A(i,j) = tmp;
|
||||
}
|
||||
|
|
@ -1756,7 +1756,7 @@ void LiquidTransport::stefan_maxwell_solve()
|
|||
//if ( !( m_bdiff(i,j) > 0.0 ) )
|
||||
//throw CanteraError("LiquidTransport::stefan_maxwell_solve",
|
||||
// "m_bdiff has zero entry in non-diagonal.");
|
||||
tmp = m_molefracs_tran[i] * m_molefracs_tran[j] * m_bdiff(i,j);
|
||||
tmp = m_molefracs_tran[j] * m_bdiff(i,j);
|
||||
m_A(i,i) -= tmp;
|
||||
m_A(i,j) = tmp;
|
||||
}
|
||||
|
|
@ -1801,7 +1801,7 @@ void LiquidTransport::stefan_maxwell_solve()
|
|||
//if ( !( m_bdiff(i,j) > 0.0 ) )
|
||||
//throw CanteraError("LiquidTransport::stefan_maxwell_solve",
|
||||
// "m_bdiff has zero entry in non-diagonal.");
|
||||
tmp = m_molefracs_tran[i] * m_molefracs_tran[j] * m_bdiff(i,j);
|
||||
tmp = m_molefracs_tran[j] * m_bdiff(i,j);
|
||||
m_A(i,i) -= tmp;
|
||||
m_A(i,j) = tmp;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue