Overview
Comment:Initial revision
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 0115025df2fcf45b2600050c1c344a220572f595dc344c5d21f0468ec09d62ff
User & Date: gawthrop@users.sourceforge.net on 1998-08-10 14:42:13
Other Links: branch diff | manifest | tags
Context
1998-08-10
15:51:06
Comments may now be prefaced by # as well as % check-in: c4e82c31ac user: gawthrop@users.sourceforge.net tags: origin/master, trunk
14:42:13
Initial revision check-in: 0115025df2 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
14:29:05
Removed -s (switches) stuff check-in: 75312bdbbd user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Added mttroot/mtt/lib/examples/Thermal/ThermodynamicCycles/OttoCycle/OttoCycle_input.txt version [205901be92].













































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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 ]