11#ifndef CT_DUSTYGASTRAN_H
12#define CT_DUSTYGASTRAN_H
79 void getMolarFluxes(span<const double> state1, span<const double> state2,
80 const double delta, span<double> fluxes)
override;
Headers for the DenseMatrix object, which deals with dense rectangular matrices and description of th...
Headers for the Transport object, which is the virtual base class for all transport property evaluato...
A class for full (non-sparse) matrices with Fortran-compatible data storage, which adds matrix operat...
vector< double > m_mw
Local copy of the species molecular weights [kg/kmol].
double m_diam
Particle diameter.
DenseMatrix m_multidiff
Multicomponent diffusion coefficients.
bool m_bulk_ok
Update-to-date variable for Binary diffusion coefficients.
vector< double > m_x
mole fractions
DustyGasTransport()=default
default constructor
vector< double > m_dk
Knudsen diffusion coefficients.
double m_porosity
Porosity.
void updateTransport_T()
Update temperature-dependent quantities within the object.
bool m_knudsen_ok
Update-to-date variable for Knudsen diffusion coefficients.
vector< double > m_spwork
work space of size m_nsp;
void updateBinaryDiffCoeffs()
Private routine to update the dusty gas binary diffusion coefficients.
double m_perm
Permeability of the media.
double m_tortuosity
Tortuosity.
void eval_H_matrix()
Calculate the H matrix.
void updateTransport_C()
Update concentration-dependent quantities within the object.
void updateMultiDiffCoeffs()
Update the Multicomponent diffusion coefficients that are used in the approximation.
void updateKnudsenDiffCoeffs()
Update the Knudsen diffusion coefficients.
void setMeanParticleDiameter(double dbar)
Set the mean particle diameter [m].
void setTortuosity(double tort)
Set the tortuosity [dimensionless].
void setPorosity(double porosity)
Set the porosity [dimensionless].
vector< double > m_spwork2
work space of size m_nsp;
Transport & gasTransport()
Return a reference to the transport manager used to compute the gas binary diffusion coefficients and...
unique_ptr< Transport > m_gastran
Pointer to the transport object for the gas phase.
void setPermeability(double B)
Set the permeability [m²] of the media.
void getMolarFluxes(span< const double > state1, span< const double > state2, const double delta, span< double > fluxes) override
Get the molar fluxes [kmol/m²/s], given the thermodynamic state at two nearby points.
string transportModel() const override
Identifies the model represented by this Transport object.
double m_pore_radius
Pore radius (meter).
friend class TransportFactory
Make the TransportFactory object a friend, because this object has restricted its instantiation to cl...
void initialize(shared_ptr< ThermoPhase > phase, Transport *gastr)
Initialization routine called by TransportFactory.
void setMeanPoreRadius(double rbar)
Set the mean pore radius [m].
void getMultiDiffCoeffs(const size_t ld, span< double > d) override
Return the multicomponent diffusion coefficients [m²/s].
DenseMatrix m_d
binary diffusion coefficients
double m_gradP
Pressure Gradient.
Base class for transport property managers.
Transport()=default
Constructor.
Namespace for the Cantera kernel.