cantera/interfaces/matlab/toolbox/@Transport/multiDiffCoeffs.m
Ray Speth 2528df0f75 Reorganized source tree structure
These changes make it unnecessary to copy header files around during
the build process, which tends to confuse IDEs and debuggers. The
headers which comprise Cantera's external C++ interface are now in
the 'include' directory.

All of the samples and demos are now in the 'samples' subdirectory.
2012-02-12 02:27:14 +00:00

20 lines
687 B
Matlab
Executable file

function v = multiDiffCoeffs(a)
%MULTIDIFFCOEFFS Multicomponent diffusion coefficients (m^2/s).
%
% d = multiDiffCoeffs(gas)
%
% returns in d the array of multicomponent diffusion
% coefficients. Object 'gas' must belong to a class derived from
% Transport, and that was constructed by specifying the 'Multi'
% option. If 'Multi' was not specified, you will get the error message
%
% **** Method getMultiDiffCoeffs not implemented. ****
%
% In this case, try method 'mixDiffCoeffs', or create a new gas
% mixture model that uses a multicomponent transport manager,
% for example:
%
% gas = GRI30('Multi')
%
v = trans_get(a.id, 22, nSpecies(a.th));