File mttroot/mtt/lib/examples/Thermal/ThermodynamicProcesses/Isobaric/Isobaric_sspar.r artifact c0e371332c part of check-in 276d928686


% Steady-state parameter file (Isobaric_sspar.r)
% Generated by MTT at Wed Mar  4 11:02:40 GMT 1998

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % $Id$
% % $Log$
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


% Set a pressure of 1 bar
P_0 := 10^5;

% Unit initial volume
V_0 := 1;

% Internal energy
U_0 := P_0*V_0/(gamma_g-1);

% Set initial temperature of 300k
T_0 := 300;

% Deduce the mass of gas
m :=  U_0/(T_0*c_v);

% Entropy
S_0 := U_0/T_0;

% Steady-state states
MTTX1 := 	U_0;         % Isobaric_cycle_gas (c)
%MTTX2 := 	V_0;         % Isobaric_cycle_gas (c)
MTTX2 := 	S_0;         % Isobaric_cycle_entropy (3)
MTTX3 := 	V_0;         % Isobaric_cycle_volume (3)

% Steady-state inputs
MTTU1 := 	0; % Isobaric (Heat)
;;END;


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]