Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/OttoCycle/OttoCycle_input.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/OttoCycle/OttoCycle_input.txt +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/OttoCycle/OttoCycle_input.txt @@ -4,35 +4,38 @@ # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ +# %% Revision 1.2 2000/12/28 18:15:52 peterg +# %% To RCS +# %% # %% Revision 1.1 1998/08/10 14:42:13 peterg # %% Initial revision # %% # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # Set the inputs if ((t>=0.0)&&(t<1.0)) #Compression - u(1) = 0.0; # Entropy flow - u(2) = -0.8; # Volume rate-of-change + OttoCycle_Heat = 0.0; # Entropy flow + OttoCycle_Work = -0.8; # Volume rate-of-change endif; if ((t>=1.0)&&(t<2.0)) #Heating - u(1) = 1000; # Entropy flow - u(2) = 0.0; # Volume rate-of-change + OttoCycle_Heat = 1000; # Entropy flow + OttoCycle_Work = 0.0; # Volume rate-of-change endif; if ((t>=2.0)&&(t<3.0)) #Expansion - u(1) = 0.0; # Entropy flow - u(2) = 0.8; # Volume rate-of-change + OttoCycle_Heat = 0.0; # Entropy flow + OttoCycle_Work = 0.8; # Volume rate-of-change endif; if (t>=3.0) #Cooling - u(1) = -1000; # Entropy flow - u(2) = 0.0; # Volume rate-of-change + OttoCycle_Heat = -1000; # Entropy flow + OttoCycle_Work = 0.0; # Volume rate-of-change endif; Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/OttoCycle/OttoCycle_lbl.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/OttoCycle/OttoCycle_lbl.txt +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/OttoCycle/OttoCycle_lbl.txt @@ -4,21 +4,26 @@ %DESCRIPTION o Isentropic compression %DESCRIPTION o Heating at constant volume %DESCRIPTION o Isentropic expansion %DESCRIPTION o Cooling at constant volume -%VAR P_0 -%VAR T_0 -%VAR V_0 +%PAR P_0 +%PAR T_0 +%PAR V_0 +%NOTPAR ideal_gas + %% Label file for system OttoCycle (OttoCycle_lbl.txt) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ +% %% Revision 1.3 1998/08/10 16:05:52 peterg +% %% Added VARs and parameters +% %% % %% Revision 1.2 1998/07/21 15:15:27 peterg % %% Documentation + new format % %% % %% Revision 1.1 1998/07/21 15:12:21 peterg % %% Initial revision ADDED mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/OttoCycle/OttoCycle_state.txt Index: mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/OttoCycle/OttoCycle_state.txt ================================================================== --- /dev/null +++ mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/OttoCycle/OttoCycle_state.txt @@ -0,0 +1,13 @@ +## -*-octave-*- Put Emacs into octave-mode ## + +## +## System OttoCycle, representation state, language txt; +## File OttoCycle_state.txt; +## Generated by MTT on Thu Dec 28 18:37:57 GMT 2000; + + + +OttoCycle_cycle_1_entropy_1_mtt3 = 0.0; # Default +OttoCycle_cycle_1_gas_1_c = 0.0; # Default +OttoCycle_cycle_1_gas_1_c = 0.0; # Default +OttoCycle_cycle_1_volume_1_mtt3 = 0.0; # Default