Date post: | 03-Jun-2018 |
Category: |
Documents |
Upload: | enes-savli |
View: | 216 times |
Download: | 0 times |
of 42
8/12/2019 eespresent_1
1/42
Computer Workshop
Engineering Equation Solver
ByVenkatesh Shanmugam
Email: [email protected]
Phone:388-5796
Department of mechanical Engineering
Louisiana State University
8/12/2019 eespresent_1
2/42
Schedule
Date:9/18, 9/25, 10/2, 10/9, 10/16, 10/23(every Tuesday in Sep, Oct)
Time: 7:30-9:30 PM Location: Middleton Library Room 230E
8/12/2019 eespresent_1
3/42
Lecture 1
Introduction to EES
What is EES What EES can do for you
How EES works A simple mathematical example
Thermodynamic examples
8/12/2019 eespresent_1
4/42
Lecture 2
How to use EES
How to use EES to solve problems Equation windows: Enter equations and
comments
Solution windows: the solutions are
presented
Additional windows
Diagram window
Plot window
8/12/2019 eespresent_1
5/42
Lecture 3
Advanced Features in EES
Integral function Table-based integral function
Equation-based integral function
Solving initial value differential equations Table-based integral function
Equation-based integral function
8/12/2019 eespresent_1
6/42
8/12/2019 eespresent_1
7/42
Lecture 5
Presenting Your Results UsingComputer Software
Skills to do course project Make assumptions
Mathematics model and equations
Numerical methods using Fortran How to manipulate data using Fortran and Excel
How to plot 2-D results
How to plot 3-D results
8/12/2019 eespresent_1
8/42
Web Site
You can find the other information of computerworkshop in Dr. Charalampopoulos web page at
me.lsu.edu/~mechar
Click on course resources Click on computer tutorials
Click on EES
8/12/2019 eespresent_1
9/42
Lecture 1 (9/18/2001)
Introduction to EESBy
Venkat
Email: [email protected]
Phone:578-5796Department of mechanical Engineering
Louisiana State University
8/12/2019 eespresent_1
10/42
Outline
What is EES What EES can do for you
Where you can use EES How does EES work
8/12/2019 eespresent_1
11/42
8/12/2019 eespresent_1
12/42
What EES can do for you
Thermodynamics Heat Transfer
Fluid Mechanics Combustion
ME 2333, ME 3333, ME 3343, ME 4383,ME 4611, ME 4621, ME 4643, ME 4433,
ME 2833, ME 3842, ME 4633, ME 4843
8/12/2019 eespresent_1
13/42
Where You Can Use EES
ME CADLAB (CEBA Room 2208a) if youhave LSU NT account
CEBA Terminal Room 1302; CEBA
reading room The license of EES allows students involved in the
course of Thermodynamics to download a copy of
EES and manual for your own PC from web site:www.mhhe.com/ees. Send email to me to ask foruser name and password.
8/12/2019 eespresent_1
14/42
How does EES work
A simple example:Solve a set of non-linear equations
yx
yxx
1
)ln( 3
=
=
8/12/2019 eespresent_1
15/42
1. Start EES
2. Click File menu3. Click New. You will see a blank Equations Window
8/12/2019 eespresent_1
16/42
Equations are entered in the Equations Window in the same manner as
for any word processor
8/12/2019 eespresent_1
17/42
If you wish, you may view the equations in mathematical notations by
selecting the Formatted Equations command from the Windows menu
8/12/2019 eespresent_1
18/42
1. Now we are going to solve the equations.
2. Go to Calculate menu3. Select Solve command
8/12/2019 eespresent_1
19/42
In order to prepare for parametric table & plot, first of all we change the
variable Y to Z in the second equation
8/12/2019 eespresent_1
20/42
1. Go to Tables menu
2. Select New Parametric Table
3. Select all the variables X,Y, Z
4. Click Add. Then OK
8/12/2019 eespresent_1
21/42
Then you will get a blank table like this
8/12/2019 eespresent_1
22/42
1. Go to Tables menu
2. Select Alter Values
3. Input the First Value as 1.14. Input the Increment as 0.1
5. Click Apply. Then OK
8/12/2019 eespresent_1
23/42
Then you will get a table with variable X of different values
8/12/2019 eespresent_1
24/42
1. Go to Calculate menu
2. Click Solve Table
3. Then you will get the results of the two variables Y and Z according tothe two equations
8/12/2019 eespresent_1
25/42
1. Go to Plot menu
2. Click New Plot Windows
3. Select X-Y Plot4. Select X as X-Axis and Y as Y-Axis
5. Click OK
8/12/2019 eespresent_1
26/42
Then you will get a plot like this
8/12/2019 eespresent_1
27/42
1. Go to Plot menu again
2. Select Overlay Plot
3. This time change Z as Y-Axis; Change Minimum to 0.4, Maximum to1.2, and Interval to 0.1
4. Click OK
8/12/2019 eespresent_1
28/42
1. Then you get a overlay plot
2. From the plot we can see that the solutions of the two nonlinearequations are around X = 1.47, Y = 0.83
8/12/2019 eespresent_1
29/42
A Thermodynamic Example
Problem
Problem 1.12 from Thermodynamics: Anengineering Approach, 3/e
A 5-kg rock is thrown upward with a force of
150 N at a location where the local
gravitational acceleration is 9.79 m/s^2.Determine the acceleration of the rock, in
m/s^2."
8/12/2019 eespresent_1
30/42
Diagram for the problem
1 S EES
8/12/2019 eespresent_1
31/42
1. Start EES
2. Go to File menu.
3. Select New command.4. A blank Equations Window will appear
4. Enter the problem to be solved within quote marks
8/12/2019 eespresent_1
32/42
1. Before entering the equations, set the unit system
2. Go to Option menu
3. Select Units System4. Click OK
8/12/2019 eespresent_1
33/42
1. Enter all the equations required to solve the problem
2. Note that all the characters within quote marks will be shown ascomments. They are illustrated in blue color
8/12/2019 eespresent_1
34/42
You can go to Windows menu and select Formatted Equations so that
you can view the equations in mathematical notation
8/12/2019 eespresent_1
35/42
1. Go to Calculate menu
2. Select Solve command3. You will get the solutions to the problem
8/12/2019 eespresent_1
36/42
1. If you want you final solutions to be displayed with unit, you can go to
Option menu.
2. Select Variable Info3. Enter the units manually in Units column
8/12/2019 eespresent_1
37/42
After Solve equations, you will get the solutions will units as shown in the
slide
8/12/2019 eespresent_1
38/42
Problem 3.75 from Thermodynamics: An engineering
Approach, 3/e
3.75 A 0.5 m3 rigid tank contains refrigerant-134a
initially at 200 kPa and 40 percent quality. Heat is now
transferred to the refrigerant until the pressure reaches800 kpa. Determine
(a) the mass of the refrigerant in the tank
(b) the mount of heat transferred.
8/12/2019 eespresent_1
39/42
Go to Options
Select Unit System
8/12/2019 eespresent_1
40/42
8/12/2019 eespresent_1
41/42
8/12/2019 eespresent_1
42/42