5 #ifndef CT_GAS_TRANSPORT_H
6 #define CT_GAS_TRANSPORT_H
115 virtual void update_T();
116 virtual void update_C() = 0;
175 doublereal& f_sigma);
230 size_t j, doublereal xk, doublereal xj,
231 doublereal& fkj, doublereal& fjk);
virtual void updateSpeciesViscosities()
Update the pure-species viscosities.
void fitProperties(MMCollisionInt &integrals)
Generate polynomial fits to the viscosity, conductivity, and the binary diffusion coefficients...
DenseMatrix m_dipole
The effective dipole moment for (i,j) collisions.
bool m_visc_ok
Update boolean for mixture rule for the mixture viscosity.
std::vector< bool > m_polar
Vector of booleans indicating whether a species is a polar molecule.
std::vector< vector_fp > m_diffcoeffs
Polynomial fits to the binary diffusivity of each species.
virtual void getBinaryDiffCoeffs(const size_t ld, doublereal *const d)
Returns the matrix of binary diffusion coefficients.
Headers for the Transport object, which is the virtual base class for all transport property evaluato...
bool m_bindiff_ok
Update boolean for the binary diffusivities at unit pressure.
Base class for transport property managers.
DenseMatrix m_wratjk
Holds square roots of molecular weight ratios.
DenseMatrix m_bdiff
Matrix of binary diffusion coefficients at the reference pressure and the current temperature Size is...
doublereal m_temp
Current value of the temperature at which the properties in this object are calculated (Kelvin)...
std::vector< vector_fp > m_cstar_poly
Fit for cstar collision integral.
virtual void updateViscosity_T()
Update the temperature-dependent viscosity terms.
void setupMM()
Prepare to build a new kinetic-theory-based transport manager for low-density gases.
Base class for a phase with thermodynamic properties.
int m_mode
Type of the polynomial fits to temperature.
std::vector< vector_fp > m_omega22_poly
Fit for omega22 collision integral.
doublereal m_sqrt_kbt
current value of Boltzmann constant times the temperature.
virtual void updateDiff_T()
Update the binary diffusion coefficients.
virtual void init(thermo_t *thermo, int mode=0, int log_level=0)
Initialize a transport manager.
vector_fp m_visc
vector of species viscosities (kg /m /s).
vector_fp m_spwork
work space length = m_kk
virtual void getMixDiffCoeffs(doublereal *const d)
Returns the Mixture-averaged diffusion coefficients [m^2/s].
std::vector< vector_fp > m_bstar_poly
Fit for bstar collision integral.
vector_fp m_sigma
Lennard-Jones diameter of the species in the current phase.
std::vector< vector_fp > m_astar_poly
Fit for astar collision integral.
vector_fp m_eps
Lennard-Jones well-depth of the species in the current phase.
vector_fp m_polytempvec
Powers of the ln temperature, up to fourth order.
bool m_spvisc_ok
Update boolean for the species viscosities.
virtual void getMixDiffCoeffsMole(doublereal *const d)
Returns the mixture-averaged diffusion coefficients [m^2/s].
std::vector< vector_int > m_poly
Indices for the (i,j) interaction in collision integral fits.
bool m_viscwt_ok
Update boolean for the weighting factors for the mixture viscosity.
DenseMatrix m_phi
m_phi is a Viscosity Weighting Function. size = m_nsp * n_nsp
virtual void getSpeciesViscosities(doublereal *const visc)
Get the pure-species viscosities.
doublereal m_t14
Current value of temperature to 1/4 power.
virtual void getMixDiffCoeffsMass(doublereal *const d)
Returns the mixture-averaged diffusion coefficients [m^2/s].
DenseMatrix m_reducedMass
This is the reduced mass of the interaction between species i and j.
void fitCollisionIntegrals(MMCollisionInt &integrals)
Generate polynomial fits to collision integrals.
vector_fp m_zrot
Rotational relaxation number for each species.
void getBinDiffCorrection(doublereal t, MMCollisionInt &integrals, size_t k, size_t j, doublereal xk, doublereal xj, doublereal &fkj, doublereal &fjk)
Second-order correction to the binary diffusion coefficients.
vector_fp m_sqvisc
vector of square root of species viscosities sqrt(kg /m /s).
DenseMatrix m_epsilon
The effective well depth for (i,j) collisions.
vector_fp m_crot
Dimensionless rotational heat capacity of each species.
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
vector_fp m_w_ac
Pitzer acentric factor.
doublereal m_sqrt_t
current value of temperature to 1/2 power
DenseMatrix m_diam
hard-sphere diameter for (i,j) collision
Headers for the DenseMatrix object, which deals with dense rectangular matrices and description of th...
doublereal m_logt
Current value of the log of the temperature.
DenseMatrix m_wratkj1
Holds square roots of molecular weight ratios.
void getTransportData()
Read the transport database.
void makePolarCorrections(size_t i, size_t j, doublereal &f_eps, doublereal &f_sigma)
Corrections for polar-nonpolar binary diffusion coefficients.
Calculation of Collision integrals.
DenseMatrix m_delta
Reduced dipole moment of the interaction between two species.
doublereal m_viscmix
Internal storage for the viscosity of the mixture (kg /m /s)
std::vector< vector_fp > m_condcoeffs
temperature fits of the heat conduction
doublereal m_kbt
Current value of Boltzmann constant times the temperature (Joules)
doublereal m_t32
Current value of temperature to the 3/2 power.
virtual doublereal viscosity()
Viscosity of the mixture (kg /m /s)
std::vector< vector_fp > m_visccoeffs
Polynomial fits to the viscosity of each species.
int m_log_level
Level of verbose printing during initialization.
A class for full (non-sparse) matrices with Fortran-compatible data storage, which adds matrix operat...
vector_fp m_molefracs
Vector of species mole fractions.
Class GasTransport implements some functions and properties that are shared by the MixTransport and M...
vector_fp m_alpha
Polarizability of each species in the phase.
vector_fp m_mw
Local copy of the species molecular weights.