17 class GasTransportParams;
28 return cPecosTransport;
51 copy(m_visc.begin(), m_visc.end(), visc);
162 const doublereal*
const grad_T,
164 const doublereal*
const grad_X,
165 size_t ldf, doublereal*
const fluxes);
202 std::vector<vector_fp> m_visccoeffs;
203 std::vector<vector_fp> m_condcoeffs;
204 std::vector<vector_fp> m_diffcoeffs;
209 double a[500], b[500], c[500];
219 std::vector<std::vector<int> > m_poly;
220 std::vector<vector_fp> m_astar_poly;
221 std::vector<vector_fp> m_bstar_poly;
222 std::vector<vector_fp> m_cstar_poly;
223 std::vector<vector_fp> m_om22_poly;
239 doublereal m_temp, m_logt, m_kbt, m_t14, m_t32;
240 doublereal m_sqrt_kbt, m_sqrt_t;
248 doublereal m_viscmix;
253 void updateThermal_T();
290 void correctBinDiffCoeffs();
Class PecosTransport implements mixture-averaged transport properties for ideal gas mixtures...
virtual doublereal thermalConductivity()
Returns the mixture thermal conductivity.
This structure holds transport model parameters relevant to transport in ideal gases with a kinetic t...
virtual void getThermalDiffCoeffs(doublereal *const dt)
Return the thermal diffusion coefficients.
Factory class for creating new instances of classes derived from Transport.
virtual void getSpeciesViscosities(doublereal *const visc)
Returns the pure species viscosities.
Headers for the Transport object, which is the virtual base class for all transport property evaluato...
thermo_t * m_thermo
pointer to the object representing the phase
Base class for transport property managers.
virtual doublereal viscosity()
Viscosity of the mixture.
doublereal molarDensity() const
Molar density (kmol/m^3).
void read_blottner_transport_table()
Reads the transport table specified (currently defaults to internal file)
virtual int model() const
Transport model.
virtual void update_C()
This is called the first time any transport property is requested from Mixture after the concentratio...
virtual void getMixDiffCoeffs(doublereal *const d)
Mixture-averaged diffusion coefficients [m^2/s].
void getMixDiffCoeffsMass(doublereal *const d)
Returns the mixture-averaged diffusion coefficients [m^2/s].
virtual void getSpeciesFluxes(size_t ndim, const doublereal *const grad_T, size_t ldx, const doublereal *const grad_X, size_t ldf, doublereal *const fluxes)
Get the species diffusive mass fluxes wrt to the mass averaged velocity, given the gradients in mole ...
virtual void getMobilities(doublereal *const mobil)
Get the Electrical mobilities (m^2/V/s).
void updateDiff_T()
Update the binary diffusion coefficients.
virtual void getBinaryDiffCoeffs(const size_t ld, doublereal *const d)
binary diffusion coefficients
void updateSpeciesViscosities()
Update the pure-species viscosities.
doublereal pressure_ig() const
Calculate the pressure from the ideal gas law.
void updateCond_T()
Update the temperature-dependent parts of the mixture-averaged thermal conductivity.
doublereal temperature() const
Temperature (K).
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
Headers for the DenseMatrix object, which deals with dense rectangular matrices and description of th...
const doublereal GasConstant
Universal Gas Constant. [J/kmol/K].
void updateViscosity_T()
Update the temperature-dependent viscosity terms.
void getMixDiffCoeffsMole(doublereal *const d)
Returns the mixture-averaged diffusion coefficients [m^2/s].
virtual bool initGas(GasTransportParams &tr)
Initialize the transport object.
A class for full (non-sparse) matrices with Fortran-compatible data storage, which adds matrix operat...