mixing. Previously there was a LiquidTranMixingModel specification
and one or more matrices to describe interactions. For example, we had
the following for viscosity:
LiquidTranMixingModel viscMixModel;
DenseMatrix m_visc_Eij;
DenseMatrix m_visc_Sij;
The new model puts all of this into a new class
LiquidTranInteraction. This class is built in the TransportFactory
and loaded into LiquidTransport Params. In
LiquidTransport::initLiquid() pointers to these objects are
transferred to the following members:
LiquidTranInteraction *m_viscMixModel;
LiquidTranInteraction *m_lambdaMixModel;
LiquidTranInteraction *m_diffMixModel;
LiquidTranInteraction *m_radiusMixModel;
With these, the structure of methods that compute the mixture
transport properties is greatly simplified. It should be possible to
only call these interaction models (they take as arguments the vectors
of individual species models that were previously added), but I need
to check this still.
I have also removed all binary diffusion coefficient matrices except
for m_bdiff. Mainly this means that I removed the m_DiffCoeff_StefMax
member. Also removed is m_logViscSpecies[k] which was used only in the
mixture viscosity computation now handles outside.
|
||
|---|---|---|
| .. | ||
| 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