File mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/OttoCycle/OttoCycle_input.txt artifact 205901be92 part of check-in 3d5110fe1b


# Numerical parameter file (OttoCycle_input.txt)
# Generated by MTT at Thu Dec  4 11:17:09 GMT 1997

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

# Set the inputs

if ((t>=0.0)&&(t<1.0))		#Compression
  u(1) = 0.0;			# Entropy flow
else
  u(2) = -0.8;			# Volume rate-of-change
endif;

if ((t>=1.0)&&(t<2.0))		#Heating
  u(1) = 1000;			# Entropy flow
else
  u(2) = 0.0;			# Volume rate-of-change
endif;

if ((t>=2.0)&&(t<3.0))		#Expansion
  u(1) = 0.0;			# Entropy flow
else
  u(2) = 0.8;			# Volume rate-of-change
endif;

if (t>=3.0)			#Cooling
  u(1) = -1000;			# Entropy flow
else
  u(2) = 0.0;			# Volume rate-of-change
endif;





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