0% found this document useful (0 votes)
24 views15 pages

EES Course: Thermodynamics & Programming

The summary of the document is: 1) The document presents the content and objectives of an EES (Engineering Equation Solver) course in the mechanical engineering degree. 2) The course consists of two modules, module A on EES management and programming, and module B on thermodynamics. 3) The objectives of the course are to teach the principles of thermodynamics and train students in the use of EES to solve related engineering problems.

Translated by

ScribdTranslations
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views15 pages

EES Course: Thermodynamics & Programming

The summary of the document is: 1) The document presents the content and objectives of an EES (Engineering Equation Solver) course in the mechanical engineering degree. 2) The course consists of two modules, module A on EES management and programming, and module B on thermodynamics. 3) The objectives of the course are to teach the principles of thermodynamics and train students in the use of EES to solve related engineering problems.

Translated by

ScribdTranslations
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

UNIVERSITY MAYOR OF SAN SIMÓN

FACULTY OF SCIENCE AND TECHNOLOGY

MECHANICAL ENGINEERING CAREER

EES COURSE – ENGINEERING EQUATION SOLVER

INSTRUCTOR: Leonel Suarez Alejandro


CONTENT

MODULE A - MANAGEMENT AND PROGRAMMING


i. Introduction to EES
ii. Familiarization with the EES environment (code)
iii. Basic programming concepts in EES
iv. Parametric tables and graphs with EES
v. Solving thermodynamics problems with EES

MODULE B - THERMODYNAMIC AREA


i. Pure substance and properties
ii. First law of thermodynamics for systems and control volumes
iii. Second law of thermodynamics
iv. Thermodynamic cycles (Rankine cycle, Brayton cycle, compression refrigeration cycle)
v. Combustion

COURSE OBJECTIVES
* Lead students to a clear understanding of and solid knowledge of the basic principles of thermodynamics

• Encourage your creativity and technical judgment, considering the needs of a given project, look for alternatives and apply
realistic restrictions, for the development of a deeper understanding and intuitive knowledge about the subject.

* At the end of the course the student will be able to create documents and calculate processes, associated with the area of
thermodynamics, with the ability to parameterize data, and create programs based on software codes (EES).

MODULE A – MANAGEMENT AND PROGRAMMING

1. INTRODUCTION TO THE EES

1.1 EES Software (Engineering Equation Solver)


In the field of thermal engineering, the EES program stands out as it incorporates, in addition to conventional mathematical
functions, others for calculating thermophysical properties, thus adjusting to the needs of the analysis and design of energy
systems.
It is a very versatile computer program that allows us a clear orientation towards the practical aspects (analysis, design and
operation) of the systems studied, through tables for data access and interpolation, so that the data can be used directly in the
solution of the set of equations.
■ The EES language allows the inclusion of functions, procedures and modules written by the user.

■ The EES does not solve engineering problems, only the equations provided by the user.

MODULE A – MANAGEMENT AND PROGRAMMING

1.2 ADVANTAGES OF EES SOFTWARE

■ Solve numerically systems of algebraic and differential equations, linear or non-linear.


■ It has tools for the construction of data and results tables as well as for the graphical representation of variables and diagrams.
■ Automatically identifies and groups equations that must be solved automatically.
■ EES supplies and incorporates many structures useful for the engineering calculation of thermophysical and mathematical
properties. For example, vapor tables are implemented in such a way that any thermodynamic property can be obtained from a
constructed function cited in terms of two other properties.
■ The large amount of data on thermodynamic properties contained in EES is of great help in solving problems in
Thermodynamics, fluid mechanics and heat transfer.
■ It saves the user considerable time and effort, simply by solving the resulting mathematical equations.
2 FAMILIARIZATION OF THE EES ENVIRONMENT (CODE)

[Link] editing menu ( Editmenu ). Provides editing commands to undo, undo, and cut, copy, or paste information. This menu
is only available in the academic version and not in the demonstration version (DEMO).

2.1 EES DROP-DOWN MENUS

[Link] file menu ( Filemenu ). Provides commands to open, print, and


save files. The latter is only allowed by the academic version and not
the demonstration version (DEMO).
[Link] search menu ( Searchmenu ). Contains the Find and Replace
commands that can be used in the equations window (
Equationswindows ). This menu is only available in the academic version
and not in the demonstration version (DEMO).

4 .The options menu ( Optionsmenu ). Provides commands to set


guessvalues and bounds for variables. Likewise, it allows you to establish the
system of units, shows information about some functions integrated into EES
and allows you to access the program preferences that have been established
by default .
[Link] calculation menu ( Calculatemenu ). Contains the EFs File Edit Search Options Calculate tab

commands to check, format, and solve the set of equations. It Check/Format Ctrl+ K

also has a command to check the units of the equations.


solve
Solve Table
F
F3
2
Min/Max F4
Min/Max Table F5
Uncertainty Propagation F6
Uncertainty Propagation Table F7

Check Units F8

Update Guesses Ctrl+G


Reset Guesses
Reset Limits

6 .The table menu ( Tablemenu ). Contains the commands to configure and alter the contents of ParametricandLookupTables . Paramtric Ta
within the system. LookupTables contain user-provided data that can be interpolated and used
later.
7 .The plot menu ( Plotmenu ). Provides commands to prepare a new graph from existing
data in the ParametricLookupTables ; or modify an existing graph. It also presents the ability to
adjust curves ( Curvefitting ) and allows graphing thermodynamic diagrams, such as
temperature vs entropy for example, for a range of substances using the command

PropertyPlot Options Table Plots Windows


. Equations Ctrl + E
Formatted Equations F10
Solution Ctrl+U
Arrays Ctr1+y

Residuals F11
Parameters Ta bl es Ctr1+1
Integral Tables Ctrl-i-1

P1 ot Wi nd ows Ctr1+Alt+1

Lookup Tables Shift+ Ctrl+ 1


Diagram Window Ctrl+D

Report Window Shift + Ctrl +R [Link] windows menu ( Windowsmenu ). It facilitates quick access
M a cro Wi nd ow Ctr1+M

Debug Window Ctr1+B to any of the existing windows in EES (equations, diagram or
solutions window, for example).
Warnings Ctr1+W

Tile Ctrl+Alt+T

cascade Ctr1+Alt+C
Calculator Shift+Ctrl+C

mn
1.1 l help menu ( Helpmenu ). Allows access to help documents about
EES. You can also access the HelpIndex by pressing F1. For additional help
on how to use the program, you can use the user manual provided.

Calculate Tables Plots Windows Help Examples

Getting started with EES

animation
Arrays
Complex numbers
Convergence Issues, Guess Values and Limits
Curve-fitting and regression
Diagram Window
Differential equations
Directives
Duplicate command
Formatted equations and special symbols
Functions, user-written
[Link] examples menu ( Examplesmenu ) . Allows access to
Heat Exchanger Library
some examples of engineering problems solved through EES.
Integration
Lookup Table and Interpolate function
Minimize or maximize
1.2 OBSERVATIONS IN THE EQUATIONS WINDOW

Some important observations regarding how equations are entered in the equations window:

> EES works similar to any word processor.

> EES does not distinguish between uppercase and lowercase letters.

> Blank lines and spaces can be entered if desired as EES will ignore them.

> Comments can be entered in the equations window. Comments must be enclosed in square brackets { } or in quotes " ".

Comments enclosed in quotes will also be displayed in the FormattedEquationswindow .

> Variable names must begin with a letter and can consist of any character except ( ) ' | * / + -^ { } : " ; . The maximum length

that a variable name can have is 30 characters.

> Multiple equations can be entered on a single line if they are separated by a semicolon;

> The ^ or ** symbol is used to indicate a power.


> The order in which the equations are entered is not relevant.

> The position of known and unknown variables in an equation is not important.

> Greek symbol names are replaced by the corresponding symbol in the equation format window and in the solutions

window.

> _ It is used for subscripts.

> feats used to place a point above the variable ( m, for example).

> | It is used to indicate superscripts.

> star is used to place an asterisk (A*, for example) as a superscript.

> The units are placed in square brackets after the value of the variable (A= 4[N] for example).

> The command to convert units has the following format: convert(original unit, desired unit).
> The command to convert units has the following format: convert(original unit, desired unit).

> The position of the unknowns and the known within the equation does not matter. After entering the problem equations

and (optional) checking the syntax using the Check/Format command on the Calculate menu, the Equations window will

appear as shown below. Texts or comments normally appear in blue on a color monitor. There are other formatting

options with the Preferences command within the Options menu


1.3 APPLICATION EXAMPLE

■ Refrigerant R-134a enters a valve at 700 kPa, 50°C and at a speed of 15 m/s. At the outlet of the valve, the pressure is 300 kPa.
Both the entrance area and the exit area are 0.0110 m2. Determine the pressure, mass flow, and velocity at the valve outlet.

Assumptions: Steady state, stable flow, The two fundamental equations required are those of mass and energy
negligible potential energy, adiabatic process, no conservation. Additionally, the thermodynamic equations of state are
power transfer or extraction devices. required, already integrated into the program.
1. Specify the unit system (Option menu, Unit System).

2. Write the equations in the equations window (Windows menu,


Equations).

You might also like