diff --git a/samples/matlab/periodic_cstr.m b/samples/matlab/periodic_cstr.m index 0aa766ab7..bffbf45c0 100644 --- a/samples/matlab/periodic_cstr.m +++ b/samples/matlab/periodic_cstr.m @@ -45,7 +45,7 @@ upstream = Reservoir(gas); % Now set the gas to the initial temperature of the reactor, and create % the reactor object. set(gas, 'T', t, 'P', p); -cstr = Reactor(gas); +cstr = IdealGasReactor(gas); % Set its volume to 10 cm^3. In this problem, the reactor volume is % fixed, so the initial volume is the volume at all later times. diff --git a/samples/matlab/reactor1.m b/samples/matlab/reactor1.m index 26a2a958c..90b61994e 100644 --- a/samples/matlab/reactor1.m +++ b/samples/matlab/reactor1.m @@ -25,7 +25,7 @@ P = oneatm set(gas,'T',1001.0,'P',P,'X','H2:2,O2:1,N2:4'); % create a reactor, and insert the gas -r = Reactor(gas); +r = IdealGasReactor(gas); % create a reservoir to represent the environment a = IdealGasMix('air.cti'); diff --git a/samples/matlab/reactor2.m b/samples/matlab/reactor2.m index 52c21ff14..a0627e9b5 100644 --- a/samples/matlab/reactor2.m +++ b/samples/matlab/reactor2.m @@ -20,7 +20,7 @@ nsp = nSpecies(gas); set(gas,'T',1001.0,'P',oneatm,'X','H2:2,O2:1,N2:4'); % create a reactor, and insert the gas -r = Reactor(gas); +r = IdealGasReactor(gas); % create a reactor network and insert the reactor network = ReactorNet({r}); diff --git a/samples/matlab/surfreactor.m b/samples/matlab/surfreactor.m index 160019504..33018eeac 100644 --- a/samples/matlab/surfreactor.m +++ b/samples/matlab/surfreactor.m @@ -21,7 +21,7 @@ setTemperature(surf, t); nsp = nSpecies(gas); % create a reactor, and insert the gas -r = Reactor(gas); +r = IdealGasReactor(gas); setInitialVolume(r, 1.0e-6) % create a reservoir to represent the environment