cantera/interfaces/matlab/toolbox/constants.m
2015-08-02 23:06:16 -04:00

12 lines
354 B
Matlab

function [atm, r] = constants
% CONSTANTS Get the values of important constants.
% [atm,r] = constants
% :return:
% If one output argument is given, returns one atmosphere in
% Pascals. If two output arguments are given, returns one
% atmosphere in Pascals and the universal gas constant in
% J/kmol-K.
%
atm = 101325.0;
r = 8314.4621;