17 lines
358 B
Matlab
17 lines
358 B
Matlab
function c = concentrations(s)
|
|
% CONCENTRATIONS - Surface concentrations
|
|
%
|
|
c = surfmethods(thermo_hndl(s), 101);
|
|
if nargout == 0
|
|
figure
|
|
set(gcf,'Name','Concentrations')
|
|
bar(c);
|
|
colormap(summer);
|
|
nm = speciesNames(s);
|
|
legend(nm);
|
|
xlabel('Species Number');
|
|
ylabel('Concentration [kmol/m2]');
|
|
title('Surface Species Concentrations');
|
|
end
|
|
|
|
|