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