No Title

GE 308 Thermodynamics Term Project

Due Date: 30 April 1999

Background Information

The idealized Diesel, Otto and Wankel (rotary) engines can be used to describe most automobile engines, even though an automobile engine is an irreversible engine. These idealized engines assume that the working substances are ideal gases, all processes are reversible, and there is no friction.

The Diesel engine has six processes:

The Otto engine represents an idealized gasoline engine and consists of six processes:

The Wankel engine represents an idealized rotary gasoline engine and also has six processes:

Although the Otto engine and the Wankel engine physically differ, the thermodynamic processes are identical.

In the CUPS software package which you will use, there are four programs: DIESEL, OTTO, WANKEL and ENGINE. These programs have been written in the Pascal language for MS-DOS platforms. The language is Borland/Turbo Pascal, and the minimum hardware configuration is an IBM-compatible 386-level machine preferably with math coprocessor, mouse, and VGA color monitor. Before you start, make sure your PC sees its mouse. If it does not, you must check to see if your CONFIG.SYS file includes a command for the mouse file, and if the mouse file actually exists in the specified path.

The software is installed on the 4th floor Computer Labs under directory CUPS. (If you prefer to work at your own PC at home or elsewhere, please contact the teaching assistant Ben Hadj Miled M. Khames to get a copy of the software. He has three copies of the software to circulate.)

The driver program (cupstp.exe) for running all programs can be found in the CUPSTP subdirectory under CUPS. You may run any of the programs using this driver program. There will be several subdirectories under CUPSCUPSTP. For this project, you will only be using the programs under the ENGINES subdirectory (but you may of course play with the other programs if you so choose). Instead of running the driver program, alternatively you may go to the ENGINES subdirectory and type in the file name (such as OTTO, WANKEL, DIESEL, ENGINE) to execute the program you wish to run.

The programs DIESEL, OTTO and WANKEL model idealized versions of common automobile engines. They demonstrate the relations between the movements of idealized physical engines and their thermodynamic properties. These programs provide animations of each of these types of engine. DIESEL illustrates an idealized DIESEL engine, OTTO illustrates an idealized gasoline engine, and WANKEL illustrates an idealized Wankel or rotary gasoline engine. The default initial conditions are T=300K and P=1 atm for the programs but these can be changed easily.

The program ENGINE allows the user to define an ideal gas engine cycle and study its thermodynamic properties. Use ENGINE to design an engine cycle for an ideal gas. The gases allowed are helium, argon, nitrogen, and steam. The processes allowed are adiabatic, isobaric, isochoric, and isothermal. The engine can be either reversible or irreversible. Irreversibility is simulated by a heat loss during the isobaric, isochoric, and isothermal processes. The user controls the percentage of heat loss.

The program ENGINE provides a graph of T versus S and P versus V during the cycle, and a list of the step number, process type, the final pressure, the final volume, the final temperature, the final entropy, the work done by the gas during the process, the heat absorbed by the gas during the process, and the change in internal energy of the gas. When the cycle is complete, i.e. the gas returns to its initial condition, the program determines if the cycle is an engine (the gas does work on its surroundings) or a refrigerator (the surroundings do work on the gas) and computes either efficiency of the engine or the coefficient of performance of the refrigerator.

The user defines the gas's initial temperature and volume, then builds the engine by specifying a series of processes and their durations. To select a process, the user needs to click the mouse when the cursor is on the appropriate radio button. Once a process is selected, sliders for the temperature, volume, and/or pressure appear. They are used to determine that process's final temperature, volume, pressure, and entropy. The program checks that the values for the temperature, etc., are within the limits specified by the plots. If they are not within these limits, an error message appears on the screen.

ENGINE creates a disk file that contains data that may be helpful in the analysis of the results.

What to Do

1) DIESEL Engine, OTTO Engine and the WANKEL Engine

Run each of the programs DIESEL, OTTO and WANKEL to examine the relationship between the engine's physical processes and the corresponding changes in the thermodynamic properties. Briefly describe what you observe.

2) Design Your Own Engine

a) For the Otto engine, let be the temperature of the gas at the end of the adiabatic compression and let be the temperature of the gas at the end of the first isochoric process. Using nitrogen and reversible Otto engine, for constant and varying from 650 K to 850 K, plot the total work produced versus the efficiency, and the work produced versus the total heat absorbed. While varying the temperature, take 50 K increments. Let =15XX K, 16YY K, 17XX K, 18YY K, 19XX K, and 2000 K. (XX and YY are the last two digits of your and your project partner's ID numbers). Include all plots in your report but do not include all the output files. Instead, extract the total work, total heat and efficiency values from the output files and tabulate these.

b) Repeat using a reversible Diesel engine. For the Diesel engine, is again the temperature of the gas at the end of the adiabatic compression. is the temperature of the gas at the end of the isobaric process. There may not be a solution for some pairs . That is, during some part of the cycle, the temperature, volume, pressure, or entropy may go out of the graph's limits. In this case, take the largest value possible that remains within the limits.

c) Analyze the results. If they are unusual, try deriving the expression(s) to explain the results.

3) Efficiencies of Different Cycles

Rate the efficiencies of the different engine cycles. Design your own reversible engine cycles which are different than those in part 2. Make sure their thermodynamic parameters stay within the limits of the plots. Whenever possible, use the same upper and lower temperatures for each engine.

Try to achieve an efficiency that is as close to the equivalent Carnot cycle efficiency as possible. (i.e. a Carnot cycle operating between the same upper and lower temperatures.) Try to exceed the Carnot efficiency and see that this is not feasible.

4) Irreversible Engines

Select an irreversible engine and study the effects of heat loss on the engine's efficiency by varying the percentage of heat loss. Plot the efficiencies versus heat loss percentages for identical cycles. Vary heat loss percentage from 0 to 99 with 5 % increments.

5) Effects of Different Gases

Choose an engine cycle and study the effects of changing the gas on the engine's efficiency. What accounts for the differences?

6) Refrigerators

Reverse the cycles in step 3) and study the coefficient of performance of each cycle.

For each step of the project, write what you have done and what you have observed clearly and briefly. Interpret your results in detail. Use any wordprocessor for writing your report. For the plots, use one of MATLAB, EXCEL or XVGR. For each part of the project, include all plots, tabulated results and a representative output file. Keep all your other output files until your project has been graded. All plots should be labeled and scaled properly.

Details of the Programs:

ENGDRV is the driver program that can be used to call the programs: DIESEL, OTTO, WANKEL, and ENGINE (Design Your Own Engine). These programs also can be called directly by typing their names.

Maximum operating temperature of the engine: Integer between 1000 and 2000

 Compression ratio: Number between 15 and 25 for Diesel engine

Number between 5 and 12 for the Otto or Wankel engines.

The compression ratio equals , where is the initial volume and is the final volume after adiabatic expansion. This data combined with the initial conditions (T=300 K and P=1 atm) is sufficient to define the engine's cycle.

Input Screen Options for ENGINE

 Select engine type Reversible engine

Irreversible engine

Select Gas Helium (He)

Argon (Ar)

Nitrogen (N)

Steam

Initial Conditions:

Temperature (K) A number between 300 and 2000 for He, Ar, or N

A number between 500 and 2000 for steam

Pressure (atm) A number between 1 and 75

% of heat loss A number between 0 and 99

(for irreversible engines only)

Output file name The output disk file name

The output file name only appears at the

beginning of the program. Its default is ENGINE.DAT

The following information maybe helpful in selecting variables. Helium and Argon are monatomic molecules, nitrogen is diatomic molecule, and steam is a triatomic molecule. Nitrogen's characteristics (specific heats, atomic mass) closely resemble those of air. The lower limit of the temperature is 300 K for helium, argon, and nitrogen, and 500 K for steam. The percentage of heat loss (irreversible engine only) is a number between 0 and 99 and is the percentage of heat lost during an isobaric, isochoric, or isothermal process.

During the operation of the program, there are radio buttons to select the process type (adiabatic, isobaric, isochoric, and isothermal) and sliders to change a thermodynamic variable (temperature, pressure or volume). To the right of each slider, there is a box containing the current value of the variable. By clicking the mouse in the box, the user can type in a value for that variable. The user must press the Enter key to continue. The program checks that the inputted value of the thermodynamic variable does not cause any of the other thermodynamic variables to exceed their graphical limits.

The volume's upper limit is determined by the initial temperature.

Output Data File

The output data file includes the following:

Walk-Through for DIESEL, OTTO, and WANKEL Programs

Programs DIESEL, OTTO and WANKEL demonstrate the relationships between the movements of idealized physical engines and their thermodynamic properties. The engine's initial conditions are T=300 K and P=1 atm.

Walk-Through for ENGINE Program

ENGINE lets the user design an engine cycle by specifying the processes in the cycle, the engine type, and the gas type. The first screen initializes the inputs:

1) the type of engine (reversible or irreversible)

2) the type of ideal gas used in the engine (helium, argon, nitrogen, or steam)

3) the initial temperature

4) the initial pressure

5) the percentage of heat loss (for an irreversible engine)

6) the output file name

Nitrogen's properties are most like those of air. Room temperature is approximately 300 K.

Teaching Assistant for the Project:



Billur Barshan
Tue Apr 6 14:56:25 EET DST 1999