SlideShare uma empresa Scribd logo
1 de 43
Engineering Equation Solver
         Denpong Soodphakdee, Ph.D.
             Department of Mechanical Engineering
                          Khon Kaen University
                                  denpong@kku.ac.th
EES ME KKU License




                     2
What is EES?
o EES (pronounced “Ease”) is a general purpose
  equation solver, modeling and analysis tool
  which has started life specifically for the
  purpose of engineering education
o It is quite capable (it is also used in industry)
  and is more than adequate for engineering
  education purposes
o Students find it far easier to use than any other
  software they have been introduced to,
  including:
    Mathematica
    Matlab
    Mathcad
                                                      3
Advantage of EES
o It requires no real programming (although you
  can!)
o Implicit (iterative solver) – equations in any order
o It is geared towards engineering problems
o Units enabled and unit conversion routines
o Formatted equations view with Greek letters
  and maths symbols
o Lots of online example programs
o Excellent online help and online manual
o It comes FREE to the entire Department – BOTH
  students and staff!
o Students can take it home – it is small in size!
                                                     4
Features of EES
o Excellent engineering features:
    Lookup tables with linear-, cubic- and quadratic
     interpolation
    Regressions
    Plots and overlay plots
    Diagram window (User Interface)
    Animation (Cool!)
    Built-in property library - thermo, fluid and material
     properties (easily extendible by users)
    Predefined engineering constants
o Excellent engineering analysis features:
    Parametric studies
    Uncertainty propagation
    Min/Max.

                                                              5
Solving Nonlinear Equations
o How would you solve the following?
        x 2  y 3  77
            x
               2
          y 1
           2


          x  1.234
o And an implicit equation in f such as the
  following?
                      D          
        1                   2.51
            2.0log             
                      3.7 Re f    
                                  
         f
                                          6
Tutorial 1 :: Solving Nonlinear Equations
o Create a new EES worksheet and save it as
  BasicEquation.ees
o Now type in the nonlinear set of equations and
  solve for the 3 unknowns
             x 2  y 3  77
                 x
                    2
               y 1
                2


               x  1.234
o The order in which the equations are entered does
  not matter at all!

          use Ctrl+F to see the equations in
                   formatted view
                                                   7
Equation Formatting
o Two types of comments:
   Comments in quotes are shown in
    formatted view
   Comments in curly brackets are not shown
    in formatted view
    quot;Equation Formattingquot; – this will be shown in
      formatted view
    quot;!Equation Formattingquot; – this will be shown in red
    {Equation Formatting} – this will not be shown
   Can also highlight any text (select and then
    right-click)
                                                         8
Equation Formatting
o Ordinary variables and equations
   quot;Define some variables. Actually, they are really
    constants as you cannot later assign other
    values to any of them!quot;
     a   =   1
     b   =   2
     c   =   3
     e   =   4
   quot;!A more complex equation using these
    variablesquot;
    sqrt(1 + (a+b)/c + d) = e

     • Look at the formatted view! Ctrl-F
     • Note the position of the unknown “d” in the
       equation - it does not have to be on the left!
                                                        9
Equation Formatting
o Raising the power
  k^2 = 5

     Exponents are shown as superscripts in format view.


o Clever Greek letters!
                     or
  DELTAT = 1                  deltaP = 2
                     or
  OMEGA = 100                 omega = 100
                     or
  THETA = 45                  theta = 45

    Note: Although the formatted view distinguishes between upper
    and lower cases, the EES solver does not! Hence “OMEGA”
    and “omega” are regarded as the same variable!

                                                                10
Equation Formatting
o General formatting
  y_old = 10      quot;Subscriptquot;
  z|alpha = 9     quot;Superscriptquot;
  x_dot = 10      quot;It understands dots &
                   double dots!quot;
  x_ddot = 2      quot;Double dotquot;
  x_hat = 2       quot;Hatquot;
  x_bar = 22      quot;Over barquot;
  angle|o = 20    quot;Superscriptquot;
  T|star = 325    quot;Special superscript -
                   starquot;
  Y|plus = 0.12   quot;Special superscript -
                    plusquot;
  T_infinity = 25 quot;Often used to denote
                    freestreamquot;
                                           11
Constant
o EES defines a large number of constants.
  Check out Options > Constants. Of interest
  are the following:
                    (gravity)
   g#
     So one can write
         F = m * g#
     Instead of
         g = 9.81 [m/s^2]
         F=m*g
                      (Stefan-Boltzmann constant – radiation)
   sigma#
                      (Speed of light)
   C#
                    (Universal gas constant)
   R#
     So the Ideal Gas Constant for air would be:
     R_air = R# / MolarMass(Air)

                                                                12
The Unit System
o EES is fully unit-aware
o The Unit System is the first thing that should
  be set at the start of a project
    Set from the Options menu (next slide)
    Safer to explicitly set units using directives (which
     will override dialog settings):

      $UnitSystem SI MASS DEG KPA C KJ




                                                             13
The Unit System
o The unit system can be set by
  Option > Unit System




                                  14
The Unit System
o Individual constants can be assigned
  units:
     m = 25 [kg]
     a = 2.5 [m/s^2]
     F=m*a
o Units cannot be assigned for
  equations, but EES will automatically
  determine the units for F (shown in
  purple in the results window)
                                          15
The Unit System




                  16
The Unit System
o EES also allows unit conversions
   Suppose we have the equation F = m a,
    but we want F in kN. If we set [kN] for F in
    the units map, we will get a warning
    So we do this:

    F = m * a * convert(N, kN)

    quot;Alternatively you can do this, but then you need
    to know the conversion constantquot;
    F_1 = (m * a) / 1000 [N/kN]
    F_2 = m * a * 0.001 [kN/N]

                                                        17
The Unit System
o We can even convert between British
  Gravitational and SI units:

   m_3 = 10 [lbm]
   a_3 = 3.5 [m/s^2]
   F_3 = (m_3 * convert(lbm, kg)) * a_3




                                          18
The Unit System
o We can also assign units to constants in
  situ to make a constant clearer, for
  example:
  quot;This is clearer than the next...quot;
  time = 3.5 [h] * 3600 [s/h]

  quot;The fact that this is 3.5 hours is not as apparent!quot;
  time = 12600 [s]

o EES online examples:
   Examples/Units conversion/Checking units and
    unit conversion (HeatEx.EES)


                                                          19
Built-in Functions
o EES provides built-in
  functions in the
  following categories:
   Mathematics
   Fluid properties
   Solid / Liquid
    properties
   EES Library routines
   External routines
o Example code can
  be pasted
o Function Info (Help)

                           20
Built-in Functions
o A Maths example
  x=cos(Value) quot;This is exactly as it was
                pastedquot;
  Now it is up to you to modify the statement
  as you want it. Maybe you wanted to do the
  following:
  theta = 30 [deg]
  x_coordinate = cos(theta)
  or
  z = cos(33) quot;Hardcoding values is rarely a
                     good ideaquot;

                                               21
Built-in Functions
o Maths examples
  LogValue = log10(100)quot;The log10(Value) was
                                    pasted!quot;
  T = 140 [C]
                                   quot;Note American spelling!quot;
  E = E_(Aluminum, T)

o Integral equations
   EES can perform numerical integration and differentiation.
    How would you solve the following?
               3
         y   x dx3

               0
  quot;An integral equation – be sure to switch off complex numbersquot;
  y = Integral(x^3, x, 0, 3, 0.06)

                                                                 22
Built-in Functions
o Property examples
  For properties one typically has to specify
   conditions such as pressures and
   temperatures. Furthermore, one has to
   specify the material (a solid or a fluid).
  The simplest example is probably the
   density of a gas. Let’s paste the density for
   air from the Fluid Properties Function Info
   dialog:
  rho_1=Density(Air,T=T_1,P=P_1)



                                               23
Built-in Functions
o Solid property example
  quot;Young’s Modulus – note the underscorequot;
  T = 140 [C]
  E = E_(Aluminum, T)




                                            24
Built-in Functions
o The property
  functions can be
  pasted from menu
  Option > Function
  Information




                       25
The Option Menu
o Have a careful look
  at the functionality
  provided under the
  Options menu:
      Variable Info
  
      Function Info
  
      Unit Conversion Info
  
      Constants
  
      Unit System
  
      Stop Criteria
  
      Default Info
  
      Preferences.
  

                             26
END OF EES LECTURE 1
Parametric Study
o A parametric study is in essence the
  study of the influence of variations in
  one or more variables (parameters) on
  the solution.
o In most software, a parametric study is
  performed by repeatedly solving the
  model whilst making adjustments to the
  desired variables (parameters) in the
  form of a loop.
o EES accomplishes this very elegantly by
  using a spreadsheet-like approach.
                                            28
Parametric Study Example
o Let’s look at a really simple example
   Say you want to perform a calculation such as:

               y  cos 
   But you want to perform this operation for several
    angles, say between 0 and 360 degrees.
   To do this in EES, simply enter this equation in the
    equations window




                                                       29
The Parametric Table
o A really simple
  example…:
   EES does this in a
    particularly elegant way. It
    uses a spreadsheet to
    specify the variables that
    are to be specified as
    well at the variables for
    which the results are to
    be monitored:
      • The number of runs
      • Each row is a new run
      • theta is now specified
        in the table, and EES
        will automatically list
        the results of y in the
        same table

                                   30
The Parametric Table
o The independent (specified) variables are simply
  typed into the EES parametric table. One can
  manually type in all the values, or utilize the
  quick-fill button:




                                                     31
The Parametric Table
o The simple equation can be solved for
  each value of theta and the results y
  are displayed in the table.




                                          32
Plot Basics
o Engineering data is often best visualized by means of
  graphs (plots).
o Plotting in EES is really easy. Once the data is
  available, a plot can be generated in the following
  simple steps:
    Select the plot type from the menu (e.g. X-Y)
    Select the data source (e.g. Parametric table or array)
    Select the dependent (Y-axis) and independent (X-axis)
     variables for plotting
    Select the plot formatting:
           Heading and description
       •
           Line type and appearance (e.g spline, dot-dash, colour)
       •
           Marker and legend, tics, grid lines, number format
       •
           Automatic update from data source (on/off)
       •
           Scale of axes, log or linear plot type etc
       •


                                                                     33
Plot Basics
o Create x-y plot from Plots menu:




                                     34
Plot Basics




              35
Tutorial 2 :: Projectile Parametric Table
o Lets create a more realistic model on
  which we can do a parametric study
  (Projectile ParametricTable.EES):
   A simple projectile movement is used to
    demonstrate the use of a parametric study.
   We can modify the angle theta as well as
    the initial velocity u either individually or
    simultaneously and determine their
    influence on the maximum distance that the
    projectile will travel.


                                                36
Tutorial 2 :: Projectile Parametric Table
o Equations of motion
   v=u+a*t
   s = u * t + (1/2) * a * t^2
o To calculate the maximum distance, calculate
  the time the projectile needs to reach
  maximum height by applying the first equation
  to the vertical velocity component (v = 0 and
  a = g). The total time will be twice this
  amount.
o Now apply this total time to the horizontal
  velocity (which remains constant) using the
  second equation. The x-acceleration in the
  second equation is obviously zero.quot;

                                              37
Tutorial 2 :: Projectile Parametric Table
o So the equations will be as follows (remember the unit system!):
   $UnitSystem SI MASS C KPA KJ DEG
   quot;Equations of motion
   v=u+a*t                             Eq. 1
   s = u * t + (1/2) * a * t^2         Eq. 2quot;

   quot;Define initial valuesquot;
   u = 30 [m/s]
   theta = 45 [deg]    quot;This must be commented if you run
                             the parametric table“

   quot;Calculationsquot;
   u_x = u * cos(theta)          quot;X-component velocityquot;
   u_y = u * sin(theta)          quot;Y-component velocityquot;

   t = 2 * u_y / g#            quot;Time needed to max distance
                                – from Eq. 1quot;
   s = u_x * t                 quot;Max distance – from Eq. 2quot;


                                                                 38
Tutorial 2 :: Projectile Parametric Table
o Solve the model by Calculate > Solve
  menu or pressing F2 and observe the
  results:




                                            39
Tutorial 2 :: Projectile Parametric Table
o Now create a Parametric table by adding
  theta, s, t, ux and uy to it and vary theta from
  0 to 90:




                                                     40
Tutorial 2 :: Projectile Parametric Table
o The relation between theta and s can
  be plotted.




                                            41
Plots and Graphs
o There are 3
  types of graphs
  that can be
  plotted with EES:
   X-Y plots
   Bar plots
   X-Y-Z plots (3-
    dimensional)
      • Surface plots
      • Contour plots




                        42
END OF EES LECTURE 2

Mais conteúdo relacionado

Mais procurados

EES Functions and Procedures for Natural convection heat transfer
EES Functions and Procedures for Natural convection heat transferEES Functions and Procedures for Natural convection heat transfer
EES Functions and Procedures for Natural convection heat transfertmuliya
 
Aspen HYSYS - Petroleum Assays and Oil Characterization (Slideshare)
Aspen HYSYS - Petroleum Assays and Oil Characterization (Slideshare)Aspen HYSYS - Petroleum Assays and Oil Characterization (Slideshare)
Aspen HYSYS - Petroleum Assays and Oil Characterization (Slideshare)Chemical Engineering Guy
 
Gas turbines working ppt
Gas turbines working pptGas turbines working ppt
Gas turbines working pptluckyvarsha
 
Centrifugal Compressor System Design & Simulation
Centrifugal Compressor System Design & SimulationCentrifugal Compressor System Design & Simulation
Centrifugal Compressor System Design & SimulationVijay Sarathy
 
Volumetric efficient of a compressor
Volumetric efficient of a compressorVolumetric efficient of a compressor
Volumetric efficient of a compressorLahiru Dilshan
 
Multi pressure system in VCRS
Multi pressure system in VCRSMulti pressure system in VCRS
Multi pressure system in VCRSSuyog_Kadam
 
Shell and tube heat exchanger design comparison
Shell and tube heat exchanger design comparisonShell and tube heat exchanger design comparison
Shell and tube heat exchanger design comparisonJuan Pablo Hernandez
 
Reciprocating compressor
Reciprocating compressorReciprocating compressor
Reciprocating compressorhambardikar55
 
Sizing of relief valves for supercritical fluids
Sizing of relief valves for supercritical fluidsSizing of relief valves for supercritical fluids
Sizing of relief valves for supercritical fluidsAlexis Torreele
 
Difference Between Simple Vapour Compression cycle and simple vapour absorpti...
Difference Between Simple Vapour Compression cycle and simple vapour absorpti...Difference Between Simple Vapour Compression cycle and simple vapour absorpti...
Difference Between Simple Vapour Compression cycle and simple vapour absorpti...prasad ghare
 
Aspen Plus - Physical Properties (1 of 2) (Slideshare)
Aspen Plus - Physical Properties (1 of 2) (Slideshare)Aspen Plus - Physical Properties (1 of 2) (Slideshare)
Aspen Plus - Physical Properties (1 of 2) (Slideshare)Chemical Engineering Guy
 
ELECTRIC MOTOR (EM) DRIVEN COMPRESSOR IN ASPEN HYSYS DYNAMICS
ELECTRIC MOTOR (EM) DRIVEN COMPRESSOR IN ASPEN HYSYS DYNAMICSELECTRIC MOTOR (EM) DRIVEN COMPRESSOR IN ASPEN HYSYS DYNAMICS
ELECTRIC MOTOR (EM) DRIVEN COMPRESSOR IN ASPEN HYSYS DYNAMICSVijay Sarathy
 
Presentation on Calculation of Polytropic and Isentropic Efficiency of natura...
Presentation on Calculation of Polytropic and Isentropic Efficiency of natura...Presentation on Calculation of Polytropic and Isentropic Efficiency of natura...
Presentation on Calculation of Polytropic and Isentropic Efficiency of natura...Waqas Manzoor
 
heat exchanger
heat exchangerheat exchanger
heat exchangerShanu Jp
 
EXPERIMENTAL ANALYSIS OF A MINI STEAM POWER PLANT
EXPERIMENTAL ANALYSIS OF A MINI STEAM  POWER PLANTEXPERIMENTAL ANALYSIS OF A MINI STEAM  POWER PLANT
EXPERIMENTAL ANALYSIS OF A MINI STEAM POWER PLANTMOHAMMED SHAROOQ
 
Hysys tutorial
Hysys tutorialHysys tutorial
Hysys tutorialBijol Luis
 

Mais procurados (20)

EES Functions and Procedures for Natural convection heat transfer
EES Functions and Procedures for Natural convection heat transferEES Functions and Procedures for Natural convection heat transfer
EES Functions and Procedures for Natural convection heat transfer
 
Aspen HYSYS - Petroleum Assays and Oil Characterization (Slideshare)
Aspen HYSYS - Petroleum Assays and Oil Characterization (Slideshare)Aspen HYSYS - Petroleum Assays and Oil Characterization (Slideshare)
Aspen HYSYS - Petroleum Assays and Oil Characterization (Slideshare)
 
Compressors
CompressorsCompressors
Compressors
 
Gas turbines working ppt
Gas turbines working pptGas turbines working ppt
Gas turbines working ppt
 
Centrifugal Compressor System Design & Simulation
Centrifugal Compressor System Design & SimulationCentrifugal Compressor System Design & Simulation
Centrifugal Compressor System Design & Simulation
 
Volumetric efficient of a compressor
Volumetric efficient of a compressorVolumetric efficient of a compressor
Volumetric efficient of a compressor
 
Multi pressure system in VCRS
Multi pressure system in VCRSMulti pressure system in VCRS
Multi pressure system in VCRS
 
Air flowformulas
Air flowformulasAir flowformulas
Air flowformulas
 
Shell and tube heat exchanger design comparison
Shell and tube heat exchanger design comparisonShell and tube heat exchanger design comparison
Shell and tube heat exchanger design comparison
 
Reciprocating compressor
Reciprocating compressorReciprocating compressor
Reciprocating compressor
 
Sizing of relief valves for supercritical fluids
Sizing of relief valves for supercritical fluidsSizing of relief valves for supercritical fluids
Sizing of relief valves for supercritical fluids
 
compressor
compressorcompressor
compressor
 
Difference Between Simple Vapour Compression cycle and simple vapour absorpti...
Difference Between Simple Vapour Compression cycle and simple vapour absorpti...Difference Between Simple Vapour Compression cycle and simple vapour absorpti...
Difference Between Simple Vapour Compression cycle and simple vapour absorpti...
 
Aspen Plus - Physical Properties (1 of 2) (Slideshare)
Aspen Plus - Physical Properties (1 of 2) (Slideshare)Aspen Plus - Physical Properties (1 of 2) (Slideshare)
Aspen Plus - Physical Properties (1 of 2) (Slideshare)
 
ELECTRIC MOTOR (EM) DRIVEN COMPRESSOR IN ASPEN HYSYS DYNAMICS
ELECTRIC MOTOR (EM) DRIVEN COMPRESSOR IN ASPEN HYSYS DYNAMICSELECTRIC MOTOR (EM) DRIVEN COMPRESSOR IN ASPEN HYSYS DYNAMICS
ELECTRIC MOTOR (EM) DRIVEN COMPRESSOR IN ASPEN HYSYS DYNAMICS
 
Presentation on Calculation of Polytropic and Isentropic Efficiency of natura...
Presentation on Calculation of Polytropic and Isentropic Efficiency of natura...Presentation on Calculation of Polytropic and Isentropic Efficiency of natura...
Presentation on Calculation of Polytropic and Isentropic Efficiency of natura...
 
heat exchanger
heat exchangerheat exchanger
heat exchanger
 
Hysys2014
Hysys2014Hysys2014
Hysys2014
 
EXPERIMENTAL ANALYSIS OF A MINI STEAM POWER PLANT
EXPERIMENTAL ANALYSIS OF A MINI STEAM  POWER PLANTEXPERIMENTAL ANALYSIS OF A MINI STEAM  POWER PLANT
EXPERIMENTAL ANALYSIS OF A MINI STEAM POWER PLANT
 
Hysys tutorial
Hysys tutorialHysys tutorial
Hysys tutorial
 

Destaque

Living, Learning, & Working Smart @KKU
Living, Learning, & Working Smart @KKULiving, Learning, & Working Smart @KKU
Living, Learning, & Working Smart @KKUDenpong Soodphakdee
 
Tutorial Hysys
Tutorial HysysTutorial Hysys
Tutorial HysysMan Fenix
 
Cinetica quimica- gordon harris
Cinetica quimica- gordon harrisCinetica quimica- gordon harris
Cinetica quimica- gordon harrisInal Tara
 
Ejercicio Ingenieria de las reacciones
Ejercicio Ingenieria de las reaccionesEjercicio Ingenieria de las reacciones
Ejercicio Ingenieria de las reaccionespatriciacrg
 
114845439 manual-ees-en-espanol
114845439 manual-ees-en-espanol114845439 manual-ees-en-espanol
114845439 manual-ees-en-espanolDaniel_pe
 
Ingeniería de las Reacciones Químicas
Ingeniería de las Reacciones QuímicasIngeniería de las Reacciones Químicas
Ingeniería de las Reacciones QuímicasMan Fenix
 
Cinetica quimica 2º bac.
Cinetica quimica 2º bac.Cinetica quimica 2º bac.
Cinetica quimica 2º bac.Matematicassa
 
Conceptos Basicos Cinética Química
Conceptos Basicos Cinética QuímicaConceptos Basicos Cinética Química
Conceptos Basicos Cinética QuímicaCabrera Miguel
 
IML Dallas January 2017 Trading PowerPoint
IML Dallas January 2017 Trading PowerPointIML Dallas January 2017 Trading PowerPoint
IML Dallas January 2017 Trading PowerPointimarketslive
 
Solucionario Introducción a la Termodinamica en Ingeniería Química: Smith, Va...
Solucionario Introducción a la Termodinamica en Ingeniería Química: Smith, Va...Solucionario Introducción a la Termodinamica en Ingeniería Química: Smith, Va...
Solucionario Introducción a la Termodinamica en Ingeniería Química: Smith, Va...Catherine Maria Centanaro Chavez
 

Destaque (19)

Ees manual
Ees manualEes manual
Ees manual
 
Living, Learning, & Working Smart @KKU
Living, Learning, & Working Smart @KKULiving, Learning, & Working Smart @KKU
Living, Learning, & Working Smart @KKU
 
Manual ees
Manual eesManual ees
Manual ees
 
Thermodynamic analysis of_actual_vapour_compression_system_with_r22_and_its_e...
Thermodynamic analysis of_actual_vapour_compression_system_with_r22_and_its_e...Thermodynamic analysis of_actual_vapour_compression_system_with_r22_and_its_e...
Thermodynamic analysis of_actual_vapour_compression_system_with_r22_and_its_e...
 
Video the Major Player in OERs
Video the Major Player in OERsVideo the Major Player in OERs
Video the Major Player in OERs
 
ICT Competency For KKU Students
ICT Competency For KKU StudentsICT Competency For KKU Students
ICT Competency For KKU Students
 
Ingenieria de las Reacciones Quimicas
Ingenieria de las Reacciones QuimicasIngenieria de las Reacciones Quimicas
Ingenieria de las Reacciones Quimicas
 
Tutorial Hysys
Tutorial HysysTutorial Hysys
Tutorial Hysys
 
Cinetica quimica- gordon harris
Cinetica quimica- gordon harrisCinetica quimica- gordon harris
Cinetica quimica- gordon harris
 
Ejercicio Ingenieria de las reacciones
Ejercicio Ingenieria de las reaccionesEjercicio Ingenieria de las reacciones
Ejercicio Ingenieria de las reacciones
 
114845439 manual-ees-en-espanol
114845439 manual-ees-en-espanol114845439 manual-ees-en-espanol
114845439 manual-ees-en-espanol
 
Ingeniería de las Reacciones Químicas
Ingeniería de las Reacciones QuímicasIngeniería de las Reacciones Químicas
Ingeniería de las Reacciones Químicas
 
Cinetica Quimica
Cinetica QuimicaCinetica Quimica
Cinetica Quimica
 
Cinetica quimica 2º bac.
Cinetica quimica 2º bac.Cinetica quimica 2º bac.
Cinetica quimica 2º bac.
 
Conceptos Basicos Cinética Química
Conceptos Basicos Cinética QuímicaConceptos Basicos Cinética Química
Conceptos Basicos Cinética Química
 
Pml lacteos
Pml lacteosPml lacteos
Pml lacteos
 
IML Dallas January 2017 Trading PowerPoint
IML Dallas January 2017 Trading PowerPointIML Dallas January 2017 Trading PowerPoint
IML Dallas January 2017 Trading PowerPoint
 
Pump handbook
Pump handbookPump handbook
Pump handbook
 
Solucionario Introducción a la Termodinamica en Ingeniería Química: Smith, Va...
Solucionario Introducción a la Termodinamica en Ingeniería Química: Smith, Va...Solucionario Introducción a la Termodinamica en Ingeniería Química: Smith, Va...
Solucionario Introducción a la Termodinamica en Ingeniería Química: Smith, Va...
 

Semelhante a Engineering Equation Solver (Thai)

INTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptxINTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptxDevaraj Chilakala
 
c++ Data Types and Selection
c++ Data Types and Selectionc++ Data Types and Selection
c++ Data Types and SelectionAhmed Nobi
 
OPERATIONS ON FUNCTIONS.pptx
OPERATIONS ON FUNCTIONS.pptxOPERATIONS ON FUNCTIONS.pptx
OPERATIONS ON FUNCTIONS.pptxJohnlery Guzman
 
MATLAB sessions Laboratory 2MAT 275 Laboratory 2Matrix .docx
MATLAB sessions Laboratory 2MAT 275 Laboratory 2Matrix .docxMATLAB sessions Laboratory 2MAT 275 Laboratory 2Matrix .docx
MATLAB sessions Laboratory 2MAT 275 Laboratory 2Matrix .docxandreecapon
 
AP Calculus Slides December 12, 2007
AP Calculus Slides December 12, 2007AP Calculus Slides December 12, 2007
AP Calculus Slides December 12, 2007Darren Kuropatwa
 
Introduction to matlab
Introduction to matlabIntroduction to matlab
Introduction to matlabVidhyaSenthil
 
Matlab 1
Matlab 1Matlab 1
Matlab 1asguna
 
C Programming Interview Questions
C Programming Interview QuestionsC Programming Interview Questions
C Programming Interview QuestionsGradeup
 
Functional Concepts for OOP Developers
Functional Concepts for OOP DevelopersFunctional Concepts for OOP Developers
Functional Concepts for OOP Developersbrweber2
 
Introduction to programming - class 3
Introduction to programming - class 3Introduction to programming - class 3
Introduction to programming - class 3Paul Brebner
 
Matlab-free course by Mohd Esa
Matlab-free course by Mohd EsaMatlab-free course by Mohd Esa
Matlab-free course by Mohd EsaMohd Esa
 
Class[2][29th may] [javascript]
Class[2][29th may] [javascript]Class[2][29th may] [javascript]
Class[2][29th may] [javascript]Saajid Akram
 
Overview Of Using Calculator
Overview Of Using CalculatorOverview Of Using Calculator
Overview Of Using CalculatorFrancescoPozolo1
 

Semelhante a Engineering Equation Solver (Thai) (20)

Fx570 ms 991ms_e
Fx570 ms 991ms_eFx570 ms 991ms_e
Fx570 ms 991ms_e
 
INTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptxINTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptx
 
c++ Data Types and Selection
c++ Data Types and Selectionc++ Data Types and Selection
c++ Data Types and Selection
 
OPERATIONS ON FUNCTIONS.pptx
OPERATIONS ON FUNCTIONS.pptxOPERATIONS ON FUNCTIONS.pptx
OPERATIONS ON FUNCTIONS.pptx
 
presentation.pptx
presentation.pptxpresentation.pptx
presentation.pptx
 
MATLABgraphPlotting.pptx
MATLABgraphPlotting.pptxMATLABgraphPlotting.pptx
MATLABgraphPlotting.pptx
 
MATLAB sessions Laboratory 2MAT 275 Laboratory 2Matrix .docx
MATLAB sessions Laboratory 2MAT 275 Laboratory 2Matrix .docxMATLAB sessions Laboratory 2MAT 275 Laboratory 2Matrix .docx
MATLAB sessions Laboratory 2MAT 275 Laboratory 2Matrix .docx
 
AP Calculus Slides December 12, 2007
AP Calculus Slides December 12, 2007AP Calculus Slides December 12, 2007
AP Calculus Slides December 12, 2007
 
Diff eq
Diff eqDiff eq
Diff eq
 
Introduction to matlab
Introduction to matlabIntroduction to matlab
Introduction to matlab
 
Matlab 1
Matlab 1Matlab 1
Matlab 1
 
C Programming Interview Questions
C Programming Interview QuestionsC Programming Interview Questions
C Programming Interview Questions
 
Functional Concepts for OOP Developers
Functional Concepts for OOP DevelopersFunctional Concepts for OOP Developers
Functional Concepts for OOP Developers
 
Introduction to programming - class 3
Introduction to programming - class 3Introduction to programming - class 3
Introduction to programming - class 3
 
Matlab-free course by Mohd Esa
Matlab-free course by Mohd EsaMatlab-free course by Mohd Esa
Matlab-free course by Mohd Esa
 
Matlab1
Matlab1Matlab1
Matlab1
 
Class[2][29th may] [javascript]
Class[2][29th may] [javascript]Class[2][29th may] [javascript]
Class[2][29th may] [javascript]
 
Overview Of Using Calculator
Overview Of Using CalculatorOverview Of Using Calculator
Overview Of Using Calculator
 
GraphTransformations.pptx
GraphTransformations.pptxGraphTransformations.pptx
GraphTransformations.pptx
 
P7
P7P7
P7
 

Mais de Denpong Soodphakdee

Graduate Skills for Digital Age Employability
Graduate Skills for Digital Age EmployabilityGraduate Skills for Digital Age Employability
Graduate Skills for Digital Age EmployabilityDenpong Soodphakdee
 
Smart Living, Learning, & Working @KKU
Smart Living, Learning, & Working @KKUSmart Living, Learning, & Working @KKU
Smart Living, Learning, & Working @KKUDenpong Soodphakdee
 
Balancing Graduate Skills for Digital Age Employability
Balancing Graduate Skills for Digital Age EmployabilityBalancing Graduate Skills for Digital Age Employability
Balancing Graduate Skills for Digital Age EmployabilityDenpong Soodphakdee
 
Concept of e-Learning and its Applications
Concept of e-Learning and its ApplicationsConcept of e-Learning and its Applications
Concept of e-Learning and its ApplicationsDenpong Soodphakdee
 
ICT Administration in Modern Education Institute
ICT Administration in Modern Education InstituteICT Administration in Modern Education Institute
ICT Administration in Modern Education InstituteDenpong Soodphakdee
 
Communication in Modern Organization
Communication in Modern OrganizationCommunication in Modern Organization
Communication in Modern OrganizationDenpong Soodphakdee
 
Social Medias in Library Service
Social Medias in Library ServiceSocial Medias in Library Service
Social Medias in Library ServiceDenpong Soodphakdee
 
Net Zero Energy Building @ Khon Kaen University
Net Zero Energy Building @ Khon Kaen UniversityNet Zero Energy Building @ Khon Kaen University
Net Zero Energy Building @ Khon Kaen UniversityDenpong Soodphakdee
 
Higher Education for 21st Century Learners
Higher Education for 21st Century LearnersHigher Education for 21st Century Learners
Higher Education for 21st Century LearnersDenpong Soodphakdee
 
Flipped Classroom at Khon Kaen University
Flipped Classroom at Khon Kaen UniversityFlipped Classroom at Khon Kaen University
Flipped Classroom at Khon Kaen UniversityDenpong Soodphakdee
 
Technology Skills Required to be a Success Secretary
Technology Skills Required to be a Success SecretaryTechnology Skills Required to be a Success Secretary
Technology Skills Required to be a Success SecretaryDenpong Soodphakdee
 
Cloud Computing and Open Educational Resources
Cloud Computing and Open Educational ResourcesCloud Computing and Open Educational Resources
Cloud Computing and Open Educational ResourcesDenpong Soodphakdee
 
Innovative Online Technology in Education
Innovative Online Technology in EducationInnovative Online Technology in Education
Innovative Online Technology in EducationDenpong Soodphakdee
 

Mais de Denpong Soodphakdee (20)

Graduate Skills for Digital Age Employability
Graduate Skills for Digital Age EmployabilityGraduate Skills for Digital Age Employability
Graduate Skills for Digital Age Employability
 
Smart Living, Learning, & Working @KKU
Smart Living, Learning, & Working @KKUSmart Living, Learning, & Working @KKU
Smart Living, Learning, & Working @KKU
 
Balancing Graduate Skills for Digital Age Employability
Balancing Graduate Skills for Digital Age EmployabilityBalancing Graduate Skills for Digital Age Employability
Balancing Graduate Skills for Digital Age Employability
 
New Media in Digital Age
New Media in Digital AgeNew Media in Digital Age
New Media in Digital Age
 
21st century learning skills
21st century learning skills21st century learning skills
21st century learning skills
 
ICT in Modern Education
ICT in Modern EducationICT in Modern Education
ICT in Modern Education
 
New Learning Paradigm
New Learning ParadigmNew Learning Paradigm
New Learning Paradigm
 
Concept of e-Learning and its Applications
Concept of e-Learning and its ApplicationsConcept of e-Learning and its Applications
Concept of e-Learning and its Applications
 
KKU General Education 3.0
KKU General Education 3.0KKU General Education 3.0
KKU General Education 3.0
 
ICT Administration in Modern Education Institute
ICT Administration in Modern Education InstituteICT Administration in Modern Education Institute
ICT Administration in Modern Education Institute
 
Communication in Modern Organization
Communication in Modern OrganizationCommunication in Modern Organization
Communication in Modern Organization
 
Social Medias in Library Service
Social Medias in Library ServiceSocial Medias in Library Service
Social Medias in Library Service
 
Net Zero Energy Building @ Khon Kaen University
Net Zero Energy Building @ Khon Kaen UniversityNet Zero Energy Building @ Khon Kaen University
Net Zero Energy Building @ Khon Kaen University
 
Higher Education for 21st Century Learners
Higher Education for 21st Century LearnersHigher Education for 21st Century Learners
Higher Education for 21st Century Learners
 
Flipped Classroom at Khon Kaen University
Flipped Classroom at Khon Kaen UniversityFlipped Classroom at Khon Kaen University
Flipped Classroom at Khon Kaen University
 
Technology Skills Required to be a Success Secretary
Technology Skills Required to be a Success SecretaryTechnology Skills Required to be a Success Secretary
Technology Skills Required to be a Success Secretary
 
Google Apps - KKU Experiences
Google Apps - KKU ExperiencesGoogle Apps - KKU Experiences
Google Apps - KKU Experiences
 
Cloud Computing and Open Educational Resources
Cloud Computing and Open Educational ResourcesCloud Computing and Open Educational Resources
Cloud Computing and Open Educational Resources
 
Innovative Online Technology in Education
Innovative Online Technology in EducationInnovative Online Technology in Education
Innovative Online Technology in Education
 
KKU Google Apps - Case Study
KKU Google Apps - Case StudyKKU Google Apps - Case Study
KKU Google Apps - Case Study
 

Último

ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 

Último (20)

Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 

Engineering Equation Solver (Thai)

  • 1. Engineering Equation Solver Denpong Soodphakdee, Ph.D. Department of Mechanical Engineering Khon Kaen University denpong@kku.ac.th
  • 2. EES ME KKU License 2
  • 3. What is EES? o EES (pronounced “Ease”) is a general purpose equation solver, modeling and analysis tool which has started life specifically for the purpose of engineering education o It is quite capable (it is also used in industry) and is more than adequate for engineering education purposes o Students find it far easier to use than any other software they have been introduced to, including:  Mathematica  Matlab  Mathcad 3
  • 4. Advantage of EES o It requires no real programming (although you can!) o Implicit (iterative solver) – equations in any order o It is geared towards engineering problems o Units enabled and unit conversion routines o Formatted equations view with Greek letters and maths symbols o Lots of online example programs o Excellent online help and online manual o It comes FREE to the entire Department – BOTH students and staff! o Students can take it home – it is small in size! 4
  • 5. Features of EES o Excellent engineering features:  Lookup tables with linear-, cubic- and quadratic interpolation  Regressions  Plots and overlay plots  Diagram window (User Interface)  Animation (Cool!)  Built-in property library - thermo, fluid and material properties (easily extendible by users)  Predefined engineering constants o Excellent engineering analysis features:  Parametric studies  Uncertainty propagation  Min/Max. 5
  • 6. Solving Nonlinear Equations o How would you solve the following? x 2  y 3  77 x 2 y 1 2   x  1.234 o And an implicit equation in f such as the following?  D  1 2.51  2.0log     3.7 Re f    f 6
  • 7. Tutorial 1 :: Solving Nonlinear Equations o Create a new EES worksheet and save it as BasicEquation.ees o Now type in the nonlinear set of equations and solve for the 3 unknowns x 2  y 3  77 x 2 y 1 2   x  1.234 o The order in which the equations are entered does not matter at all! use Ctrl+F to see the equations in formatted view 7
  • 8. Equation Formatting o Two types of comments:  Comments in quotes are shown in formatted view  Comments in curly brackets are not shown in formatted view quot;Equation Formattingquot; – this will be shown in formatted view quot;!Equation Formattingquot; – this will be shown in red {Equation Formatting} – this will not be shown  Can also highlight any text (select and then right-click) 8
  • 9. Equation Formatting o Ordinary variables and equations  quot;Define some variables. Actually, they are really constants as you cannot later assign other values to any of them!quot; a = 1 b = 2 c = 3 e = 4  quot;!A more complex equation using these variablesquot; sqrt(1 + (a+b)/c + d) = e • Look at the formatted view! Ctrl-F • Note the position of the unknown “d” in the equation - it does not have to be on the left! 9
  • 10. Equation Formatting o Raising the power k^2 = 5 Exponents are shown as superscripts in format view. o Clever Greek letters! or DELTAT = 1 deltaP = 2 or OMEGA = 100 omega = 100 or THETA = 45 theta = 45 Note: Although the formatted view distinguishes between upper and lower cases, the EES solver does not! Hence “OMEGA” and “omega” are regarded as the same variable! 10
  • 11. Equation Formatting o General formatting y_old = 10 quot;Subscriptquot; z|alpha = 9 quot;Superscriptquot; x_dot = 10 quot;It understands dots & double dots!quot; x_ddot = 2 quot;Double dotquot; x_hat = 2 quot;Hatquot; x_bar = 22 quot;Over barquot; angle|o = 20 quot;Superscriptquot; T|star = 325 quot;Special superscript - starquot; Y|plus = 0.12 quot;Special superscript - plusquot; T_infinity = 25 quot;Often used to denote freestreamquot; 11
  • 12. Constant o EES defines a large number of constants. Check out Options > Constants. Of interest are the following: (gravity)  g# So one can write F = m * g# Instead of g = 9.81 [m/s^2] F=m*g (Stefan-Boltzmann constant – radiation)  sigma# (Speed of light)  C# (Universal gas constant)  R# So the Ideal Gas Constant for air would be: R_air = R# / MolarMass(Air) 12
  • 13. The Unit System o EES is fully unit-aware o The Unit System is the first thing that should be set at the start of a project  Set from the Options menu (next slide)  Safer to explicitly set units using directives (which will override dialog settings): $UnitSystem SI MASS DEG KPA C KJ 13
  • 14. The Unit System o The unit system can be set by Option > Unit System 14
  • 15. The Unit System o Individual constants can be assigned units: m = 25 [kg] a = 2.5 [m/s^2] F=m*a o Units cannot be assigned for equations, but EES will automatically determine the units for F (shown in purple in the results window) 15
  • 17. The Unit System o EES also allows unit conversions  Suppose we have the equation F = m a, but we want F in kN. If we set [kN] for F in the units map, we will get a warning So we do this: F = m * a * convert(N, kN) quot;Alternatively you can do this, but then you need to know the conversion constantquot; F_1 = (m * a) / 1000 [N/kN] F_2 = m * a * 0.001 [kN/N] 17
  • 18. The Unit System o We can even convert between British Gravitational and SI units: m_3 = 10 [lbm] a_3 = 3.5 [m/s^2] F_3 = (m_3 * convert(lbm, kg)) * a_3 18
  • 19. The Unit System o We can also assign units to constants in situ to make a constant clearer, for example: quot;This is clearer than the next...quot; time = 3.5 [h] * 3600 [s/h] quot;The fact that this is 3.5 hours is not as apparent!quot; time = 12600 [s] o EES online examples:  Examples/Units conversion/Checking units and unit conversion (HeatEx.EES) 19
  • 20. Built-in Functions o EES provides built-in functions in the following categories:  Mathematics  Fluid properties  Solid / Liquid properties  EES Library routines  External routines o Example code can be pasted o Function Info (Help) 20
  • 21. Built-in Functions o A Maths example x=cos(Value) quot;This is exactly as it was pastedquot; Now it is up to you to modify the statement as you want it. Maybe you wanted to do the following: theta = 30 [deg] x_coordinate = cos(theta) or z = cos(33) quot;Hardcoding values is rarely a good ideaquot; 21
  • 22. Built-in Functions o Maths examples LogValue = log10(100)quot;The log10(Value) was pasted!quot; T = 140 [C] quot;Note American spelling!quot; E = E_(Aluminum, T) o Integral equations  EES can perform numerical integration and differentiation. How would you solve the following? 3 y   x dx3 0 quot;An integral equation – be sure to switch off complex numbersquot; y = Integral(x^3, x, 0, 3, 0.06) 22
  • 23. Built-in Functions o Property examples For properties one typically has to specify conditions such as pressures and temperatures. Furthermore, one has to specify the material (a solid or a fluid). The simplest example is probably the density of a gas. Let’s paste the density for air from the Fluid Properties Function Info dialog: rho_1=Density(Air,T=T_1,P=P_1) 23
  • 24. Built-in Functions o Solid property example quot;Young’s Modulus – note the underscorequot; T = 140 [C] E = E_(Aluminum, T) 24
  • 25. Built-in Functions o The property functions can be pasted from menu Option > Function Information 25
  • 26. The Option Menu o Have a careful look at the functionality provided under the Options menu: Variable Info  Function Info  Unit Conversion Info  Constants  Unit System  Stop Criteria  Default Info  Preferences.  26
  • 27. END OF EES LECTURE 1
  • 28. Parametric Study o A parametric study is in essence the study of the influence of variations in one or more variables (parameters) on the solution. o In most software, a parametric study is performed by repeatedly solving the model whilst making adjustments to the desired variables (parameters) in the form of a loop. o EES accomplishes this very elegantly by using a spreadsheet-like approach. 28
  • 29. Parametric Study Example o Let’s look at a really simple example  Say you want to perform a calculation such as: y  cos   But you want to perform this operation for several angles, say between 0 and 360 degrees.  To do this in EES, simply enter this equation in the equations window 29
  • 30. The Parametric Table o A really simple example…:  EES does this in a particularly elegant way. It uses a spreadsheet to specify the variables that are to be specified as well at the variables for which the results are to be monitored: • The number of runs • Each row is a new run • theta is now specified in the table, and EES will automatically list the results of y in the same table 30
  • 31. The Parametric Table o The independent (specified) variables are simply typed into the EES parametric table. One can manually type in all the values, or utilize the quick-fill button: 31
  • 32. The Parametric Table o The simple equation can be solved for each value of theta and the results y are displayed in the table. 32
  • 33. Plot Basics o Engineering data is often best visualized by means of graphs (plots). o Plotting in EES is really easy. Once the data is available, a plot can be generated in the following simple steps:  Select the plot type from the menu (e.g. X-Y)  Select the data source (e.g. Parametric table or array)  Select the dependent (Y-axis) and independent (X-axis) variables for plotting  Select the plot formatting: Heading and description • Line type and appearance (e.g spline, dot-dash, colour) • Marker and legend, tics, grid lines, number format • Automatic update from data source (on/off) • Scale of axes, log or linear plot type etc • 33
  • 34. Plot Basics o Create x-y plot from Plots menu: 34
  • 36. Tutorial 2 :: Projectile Parametric Table o Lets create a more realistic model on which we can do a parametric study (Projectile ParametricTable.EES):  A simple projectile movement is used to demonstrate the use of a parametric study.  We can modify the angle theta as well as the initial velocity u either individually or simultaneously and determine their influence on the maximum distance that the projectile will travel. 36
  • 37. Tutorial 2 :: Projectile Parametric Table o Equations of motion v=u+a*t s = u * t + (1/2) * a * t^2 o To calculate the maximum distance, calculate the time the projectile needs to reach maximum height by applying the first equation to the vertical velocity component (v = 0 and a = g). The total time will be twice this amount. o Now apply this total time to the horizontal velocity (which remains constant) using the second equation. The x-acceleration in the second equation is obviously zero.quot; 37
  • 38. Tutorial 2 :: Projectile Parametric Table o So the equations will be as follows (remember the unit system!): $UnitSystem SI MASS C KPA KJ DEG quot;Equations of motion v=u+a*t Eq. 1 s = u * t + (1/2) * a * t^2 Eq. 2quot; quot;Define initial valuesquot; u = 30 [m/s] theta = 45 [deg] quot;This must be commented if you run the parametric table“ quot;Calculationsquot; u_x = u * cos(theta) quot;X-component velocityquot; u_y = u * sin(theta) quot;Y-component velocityquot; t = 2 * u_y / g# quot;Time needed to max distance – from Eq. 1quot; s = u_x * t quot;Max distance – from Eq. 2quot; 38
  • 39. Tutorial 2 :: Projectile Parametric Table o Solve the model by Calculate > Solve menu or pressing F2 and observe the results: 39
  • 40. Tutorial 2 :: Projectile Parametric Table o Now create a Parametric table by adding theta, s, t, ux and uy to it and vary theta from 0 to 90: 40
  • 41. Tutorial 2 :: Projectile Parametric Table o The relation between theta and s can be plotted. 41
  • 42. Plots and Graphs o There are 3 types of graphs that can be plotted with EES:  X-Y plots  Bar plots  X-Y-Z plots (3- dimensional) • Surface plots • Contour plots 42
  • 43. END OF EES LECTURE 2