30 MixTransport::MixTransport() :
76 GasTransport::operator=(right);
106 return (dynamic_cast<Transport*>(tr));
123 for (
size_t i = 0; i <
m_nsp; i++) {
141 for (
size_t k = 0; k <
m_nsp; k++) {
174 doublereal sum1 = 0.0, sum2 = 0.0;
175 for (
size_t k = 0; k <
m_nsp; k++) {
195 for (
size_t k = 0; k <
m_nsp; k++) {
226 size_t ldx,
const doublereal*
const grad_X,
227 size_t ldf, doublereal*
const fluxes)
239 for (
size_t n = 0; n < ndim; n++) {
240 for (
size_t k = 0; k <
m_nsp; k++) {
241 fluxes[n*ldf + k] = -rhon * mw[k] *
m_spwork[k] * grad_X[n*ldx + k];
242 sum[n] += fluxes[n*ldf + k];
246 for (
size_t n = 0; n < ndim; n++) {
247 for (
size_t k = 0; k <
m_nsp; k++) {
248 fluxes[n*ldf + k] -= y[k]*sum[n];
267 "negative temperature "+
fp2str(t));
269 GasTransport::update_T();
293 for (
size_t k = 0; k <
m_nsp; k++) {
305 for (
size_t k = 0; k <
m_nsp; k++) {
309 for (
size_t k = 0; k <
m_nsp; k++) {
328 if (m_crot[kSpecies] == 0.0) {
330 }
else if (m_crot[kSpecies] == 1.0) {
335 td.
diameter = m_diam(kSpecies, kSpecies) * 1.0E10;