velocity. This allows selection of a mass-averaged, mole-averaged or
solvent specified reference velocity using the member m_velocityBasis
or the methods setVelocityBasis() and getVelocityBasis(). Parsing of
input needs to be added for this still. An enum has been added
enum VelocityBasis {
VB_MOLEAVG = -2,
VB_MASSAVG = -1 };
Other values can correspond to species indices.
In LiquidTransport, the Stefan Maxwell solve now checks to see what
the m_velocityBasis member says the reference velocity should be and
fills the matrix accordingly. To allow mass averaged we have added
members m_massfracs and m_massfracs_tran.
Added methods to extract the diffusion velocity in a similar manner to
the diffusive fluxes. The diffusion velocity will be needed to not
force the porosity/tortuosity into the Transport classes for
porous flow. These methods are getSpeciesVdiff() and
getSpeciesVdiffES().
|
||
|---|---|---|
| .. | ||
| clib | ||
| cxx | ||
| fortran | ||
| lib | ||
| matlab | ||
| python | ||
| src | ||
| user | ||
| cmake_install.cmake | ||
| CMakeLists.txt | ||
| Makefile.in | ||
| README.txt | ||
This directory contains the source for Cantera and its various
language interfaces.
clib - the library of C-callable functions used by the Python and
Matlab interfaces.
cxx - files that are only required for C++ application programs.
matlab - the Cantera Matlab toolbox
python - the Cantera Python package
src - the Cantera kernel, used by Cantera in all its forms