11#ifndef CT_DUSTYGASTRAN_H
12#define CT_DUSTYGASTRAN_H
95 const doublereal*
const state2,
const doublereal delta,
96 doublereal*
const fluxes);
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...
Class DustyGasTransport implements the Dusty Gas model for transport in porous media.
void setMeanPoreRadius(doublereal rbar)
Set the mean pore radius (m)
virtual void setThermo(ThermoPhase &thermo)
Specifies the ThermoPhase object.
vector_fp m_mw
Local copy of the species molecular weights.
DenseMatrix m_multidiff
Multicomponent diffusion coefficients.
bool m_bulk_ok
Update-to-date variable for Binary diffusion coefficients.
vector_fp m_x
mole fractions
vector_fp m_spwork2
work space of size m_nsp;
std::unique_ptr< Transport > m_gastran
Pointer to the transport object for the gas phase.
virtual void getMultiDiffCoeffs(const size_t ld, doublereal *const d)
Return the Multicomponent diffusion coefficients. Units: [m^2/s].
DustyGasTransport(ThermoPhase *thermo=0)
default constructor
doublereal m_perm
Permeability of the media.
virtual void getMolarFluxes(const doublereal *const state1, const doublereal *const state2, const doublereal delta, doublereal *const fluxes)
Get the molar fluxes [kmol/m^2/s], given the thermodynamic state at two nearby points.
doublereal m_temp
temperature
void setPermeability(doublereal B)
Set the permeability of the media.
void updateTransport_T()
Update temperature-dependent quantities within the object.
bool m_knudsen_ok
Update-to-date variable for Knudsen diffusion coefficients.
void initialize(ThermoPhase *phase, Transport *gastr)
Initialization routine called by TransportFactory.
void updateBinaryDiffCoeffs()
Private routine to update the dusty gas binary diffusion coefficients.
void setTortuosity(doublereal tort)
Set the tortuosity (dimensionless)
doublereal m_gradP
Pressure Gradient.
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.
doublereal m_tortuosity
Tortuosity.
void updateKnudsenDiffCoeffs()
Update the Knudsen diffusion coefficients.
doublereal m_porosity
Porosity.
Transport & gasTransport()
Return a reference to the transport manager used to compute the gas binary diffusion coefficients and...
doublereal m_diam
Particle diameter.
virtual std::string transportType() const
Identifies the Transport object type.
doublereal m_pore_radius
Pore radius (meter)
void setPorosity(doublereal porosity)
Set the porosity (dimensionless)
vector_fp m_dk
Knudsen diffusion coefficients.
vector_fp m_spwork
work space of size m_nsp;
DenseMatrix m_d
binary diffusion coefficients
void setMeanParticleDiameter(doublereal dbar)
Set the mean particle diameter.
Base class for a phase with thermodynamic properties.
Factory class for creating new instances of classes derived from Transport.
Base class for transport property managers.
Namespace for the Cantera kernel.
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.