Generate ramjet and turbofan data.

------------------------------------------------------------------------
See also EngineExample, EngineTable, SaveStructure
------------------------------------------------------------------------

Contents

%---------------------------------------------------------------------------
%   Copyright (c) 2009 Princeton Satellite Systems, Inc.
%   All rights reserved.
%---------------------------------------------------------------------------

Turbofan

%---------
d               = EngineExample('turbofan');
d.m0Dot         = 6*d.m0Dot;
m               = linspace(0,2);
h               = [0 5 10 15 20 25 30]*1000;

Control settings

%-----------------
p.afterburner   = 0;                % 0 means no afterburner
p.throttleRatio = 1;                % Throttle ratio
p.tT4           = 2904*5/9;         % Combustor temperature (K)
p.tT7           = 3600*5/9;         % Afterburner temperature (K)

s = [];
[s.turbofan.thrust, s.turbofan.sFC] = EngineTable( 'turbofan', h, m, d, p );
s.turbofan.m = m;
s.turbofan.h = h;

Ramjet

%-------
d               = EngineExample('ramjet');
m               = linspace(1.5,5.5);
h               = [0 5 10 15 20 25 30]*1000;

[s.ramjet.thrust, s.ramjet.sFC] = EngineTable( 'ramjet', h, m, d );
s.ramjet.m = m;
s.ramjet.h = h;

SaveStructure( s, 'EngineData.mat');



%--------------------------------------