18 #ifndef CT_TRANSPORT_H
19 #define CT_TRANSPORT_H
35 const int CK_Mode = 10;
209 size_t ldx,
const double*
const grad_X,
210 size_t ldf,
double*
const fluxes) {
229 const double*
const state2,
const double delta,
230 double*
const cfluxes) {
249 const double* state2,
double delta,
352 double* astar_coeffs,
353 double* bstar_coeffs,
354 double* cstar_coeffs)
const{
379 double* astar_coeffs,
380 double* bstar_coeffs,
381 double* cstar_coeffs,
bool flag){
A map of string keys to values whose type can vary at runtime.
An error indicating that an unimplemented function has been called.
Base class for a phase with thermodynamic properties.
Base class for transport property managers.
ThermoPhase * m_thermo
pointer to the object representing the phase
virtual void init(ThermoPhase *thermo, int mode=0, int log_level=0)
Initialize a transport manager.
virtual void getBinDiffusivityPolynomial(size_t i, size_t j, double *coeffs) const
Return the polynomial fits to the binary diffusivity of species pair (i, j)
virtual void setCollisionIntegralPolynomial(size_t i, size_t j, double *astar_coeffs, double *bstar_coeffs, double *cstar_coeffs, bool flag)
Modify the polynomial fits to the collision integral of species pair (i, j)
void checkSpeciesIndex(size_t k) const
Check that the specified species index is in range.
virtual double bulkViscosity()
The bulk viscosity in Pa-s.
virtual double electricalConductivity()
The electrical conductivity (Siemens/m).
Transport()=default
Constructor.
virtual void getSpeciesFluxes(size_t ndim, const double *const grad_T, size_t ldx, const double *const grad_X, size_t ldf, double *const fluxes)
Get the species diffusive mass fluxes wrt to the specified solution averaged velocity,...
virtual void getViscosityPolynomial(size_t i, double *coeffs) const
Return the polynomial fits to the viscosity of species i.
virtual void getThermalDiffCoeffs(double *const dt)
Return a vector of Thermal diffusion coefficients [kg/m/sec].
virtual void getMixDiffCoeffsMole(double *const d)
Returns a vector of mixture averaged diffusion coefficients.
virtual void getMolarFluxes(const double *const state1, const double *const state2, const double delta, double *const cfluxes)
Get the molar fluxes [kmol/m^2/s], given the thermodynamic state at two nearby points.
virtual void getConductivityPolynomial(size_t i, double *coeffs) const
Return the temperature fits of the heat conductivity of species i.
virtual string transportModel() const
Identifies the model represented by this Transport object.
AnyMap parameters() const
Return the parameters for a phase definition which are needed to reconstruct an identical object usin...
virtual void getMobilities(double *const mobil_e)
Get the Electrical mobilities (m^2/V/s).
virtual void setViscosityPolynomial(size_t i, double *coeffs)
Modify the polynomial fits to the viscosity of species i.
virtual void getMixDiffCoeffs(double *const d)
Returns a vector of mixture averaged diffusion coefficients.
virtual void getSpeciesViscosities(double *const visc)
Returns the pure species viscosities.
virtual void getMassFluxes(const double *state1, const double *state2, double delta, double *mfluxes)
Get the mass fluxes [kg/m^2/s], given the thermodynamic state at two nearby points.
virtual void setConductivityPolynomial(size_t i, double *coeffs)
Modify the temperature fits of the heat conductivity of species i.
virtual void getBinaryDiffCoeffs(const size_t ld, double *const d)
Returns the matrix of binary diffusion coefficients [m^2/s].
virtual double thermalConductivity()
Returns the mixture thermal conductivity in W/m/K.
virtual bool CKMode() const
Boolean indicating the form of the transport properties polynomial fits.
size_t m_nsp
Number of species.
ThermoPhase & thermo()
Phase object.
virtual void getMixDiffCoeffsMass(double *const d)
Returns a vector of mixture averaged diffusion coefficients.
void checkSpeciesArraySize(size_t kk) const
Check that an array size is at least nSpecies().
virtual double viscosity()
The viscosity in Pa-s.
virtual void getMultiDiffCoeffs(const size_t ld, double *const d)
Return the Multicomponent diffusion coefficients. Units: [m^2/s].
virtual void setBinDiffusivityPolynomial(size_t i, size_t j, double *coeffs)
Modify the polynomial fits to the binary diffusivity of species pair (i, j)
virtual void getCollisionIntegralPolynomial(size_t i, size_t j, double *astar_coeffs, double *bstar_coeffs, double *cstar_coeffs) const
Return the polynomial fits to the collision integral of species pair (i, j)
This file contains definitions of constants, types and terms that are used in internal routines and a...
Definitions for the classes that are thrown when Cantera experiences an error condition (also contain...
Namespace for the Cantera kernel.