SlideShare a Scribd company logo
The Real Books:
                                                                        On Style and Notation
                           R. Rigon- Il tavolo di lavoro di Remo wolf




                                                                              Riccardo Rigon

Tuesday, February 26, 13
“Standards are nice if each
                           one of us has his own”
                                   Sandro Marani




Tuesday, February 26, 13
Notation




                                            Objectives
                           Each set of these slides contains a summary, or
                           description, of the communication objectives that

                           want to be achieved.


   •These slides will explain what a Real Book is

   •The layout of these slides is explained

   •They will explain how to write and comment the formulae

   •The various parts of the single slides are also explained



                                                                               3

 R. Rigon
Tuesday, February 26, 13
Notation




                                    Notes on Style

        For these slides I have chosen to use the Lucida Bright font, at 24 point size,
        with justified text. The titles have been centred and they have been written in a
        36 point Lucida Bright font.
        The notes are in 18 point Lucida Bright. The references are in 14 point Lucida
        Bright.


        The choice of font is linked to the formulae, which are pdf images created
        with LaTeX (specifically LaTeXit! for Mac), using the Computer Modern font,
        which is very similar to Lucida Bright. The formulae usually use a 36 point font
        size. There follows an example.

                                  dM                 H     f
                                      =P
                                   dt                  f

                                                                                            4

 R. Rigon
Tuesday, February 26, 13
Notation




                                        Notes on Style

         Experience teaches that, in order to reproduce the communicative effect of
         writing by hand on a blackboard, the formulae need to commented. For these
         slides I have chosen the following method: the formula is “boxed” in red (2 pt)
         and a red arrow points to an explanation in italics.



                                                   The three slides show how to
               dM                 H                comment an equation, term by
                                        f
                   =P                              term. Slowness is necessary to
                dt                  f              reproduces some optimal flux
                                                   of information.


              Conservation of mass of snow

                                                                                           5

 R. Rigon
Tuesday, February 26, 13
Notation




                           Notes on Style: an example 1/3

The evolution of the water equivalent of snow is found by solving the mass balance
equation: the liquid and solid precipitation less the flow of water due to melting
and sublimation is equal to the variation in the water equivalent during the time
step.


                                              The three slides show how to
               dM              H              comment an equation, term by
                                    f
                   =P                         term. Slowness is necessary to
                dt              f             reproduces some optimal flux
                                              of information.
 Change of mass of the
 snow in the control
 volume per unit time
                                                                                     6

 R. Rigon
Tuesday, February 26, 13
Notation




                               Notes on Style: an example 2/3

The evolution of the water equivalent of snow is found by solving the mass balance
equation: the liquid and solid precipitation less the flow of water due to melting
and sublimation is equal to the variation in the water equivalent during the time
step.




               dM                       H       f
                   =P
                dt                          f


                      Total precipitation


                                                                                     7

 R. Rigon
Tuesday, February 26, 13
Notation




                           Notes on Style: an example 3/3

The evolution of the water equivalent of snow is found by solving the mass balance
equation: the liquid and solid precipitation less the flow of water due to melting
and sublimation is equal to the variation in the water equivalent during the time
step.


                                                     The three slides show how to
               dM                 H                  comment an equation, term by
                                        f
                   =P                                term. Slowness is necessary to
                dt                  f                reproduces some optimal flux
                                                     of information.

                           Heating of snow
                           divided by the enthalpy
                           of fusion of ice
                                                                                      8

 R. Rigon
Tuesday, February 26, 13
Notation




                                              Notes on Style:
                 The slides have some       The centre of the
                 standard information:
                 a general index            slide is white: this is
                                            for       improved
                                            visibility and to avoid
                                            wastage of toner
                   The slides have some     when printing. The
                                                                       The slide number:
                   standard information:    cover slide, on the
                                                                       gives the audience a
                   authors                  other hand, is all blue    reference point
                                            with an image.
   Rigon, 2013




                                 The slides have some
                                                          For these slides a
                                 standard information:
                                                          Creative Commons
                                 the authors of the
                                                          License has been
                                 contribution
                                                          used (http.cc)


                                                                                              9

 R. Rigon
Tuesday, February 26, 13
Notation




                                       Other Notes:

          The formulae have been written using LaTeXit, and they are alive, in the
          sense that dragging them back to LaTeXit, the code that generated them
          reappears.


          Generally, wherever possible, parts of the calculation code or graphic
          generation code are also given.




                                                                                     10

 R. Rigon
Tuesday, February 26, 13
Notation




                                            Symbols
              Where possible, there will be one or more tables listing the symbols
              used, like the one below:




                                                                                     11

 R. Rigon
Tuesday, February 26, 13
Symbols

              The aim, wherever possible, is to use standard symbols that are
              different for different quantities.




                                                                                12

 R. Rigon
Tuesday, February 26, 13
Symbols

                    The Name is as in the CF Conventions (http.CF), or is given in that
                    style




                                                                                          13

 R. Rigon
Tuesday, February 26, 13
Symbols
                                     The unit of measure
                                     should always be shown




                                                              14

 R. Rigon
Tuesday, February 26, 13
Risorse web


       •http.wp - http://en.wikipedia.org/wiki/Real_Book - Last accessed May, 7, 2009
       •http.cc - http://creative.commons.org - Last accessed May, 7, 2009

       •http.CF -http://cf-pcmdi.llnl.gov/




                                                                                    15

 R. Rigon
Tuesday, February 26, 13
Bibliography

   Each set of these slides contains a bibliography.


   •R. Rosso, Corso di Infrastrutture Idrauliche, Sistemi di drenaggio urbano, The
   Real book, CUSL, 2002

   •S. Swallow - The Real Book CD,
   •..........




                                                                                 16

 R. Rigon
Tuesday, February 26, 13
Basic Notation for Scalar, Vector
                      and Tensor Fields, and Matrices

                           Bruno Munari - Libri illeggibili




Tuesday, February 26, 13
Objectives



         •In these slides the notational rules used in the Real Books are defined.

         •In particular, explanation is given on how to write the formulae so that the
         indices and various graphic aspects can be interpreted univocally.

         •However these are guidelines that can be violated in practical cases in favor
         of simplicity of notation.




                                                                                          18

 R. Rigon
Tuesday, February 26, 13
Basic Basics
              Let Ulw be a space-time field. Then


               Ulw (⌥ , t) = Ulw (x, y, z, t)
                    x
           is a scalar field. The field can be independent of some space variable or
           time, which is then omitted. Whether the vector is 2-D or 3-D depends
           on the context. On the other hand

            ⌥ x           ⌥
            Ulw (⌥ , t) = Ulw (x, y, z, t)
             is a vector field. Other notations for vectors are possible, but not used.


       ⌥ x           ⌥
       Ulw (⌥ , t) = Ulw (x, y, z, t) = {Ulw (⌥ , t)x , Ulw (⌥ , t)y , Ulw (⌥ , t)z }
                                              x              x              x
                                                                                          19

 R. Rigon
Tuesday, February 26, 13
Basic Basics

     The components of the vector field can be written as:

    ⌥ x           ⌥
    Ulw (⌥ , t) = Ulw (x, y, z, t) = {Ulw (⌥ , t)x , Ulw (⌥ , t)y , Ulw (⌥ , t)z }
                                           x              x              x
     or, by omitting the dependence on the space-time variables, as:


      ⌥ x           ⌥
      Ulw (⌥ , t) = Ulw (x, y, z, t) = {Ulw x , Ulw y , Ulw z }

     Please take note of the space between the “lw” and coordinate index.
     Sometimes just the space variable, or the time variable, dependence can be
     omitted to simplify the notation as:

     ⌥ x           ⌥
     Ulw (⌥ , t) = Ulw (x, y, z, t) = {Ulw (t)x , Ulw (t)y , Ulw (t)z }

                                                                                  20

 R. Rigon
Tuesday, February 26, 13
Derivatives
     The normal derivative of the field with respect to the variable x can be
     expressed in the canonical form:
                                                                                               ⇥
         d               d                       d               d             d
           Ulw (x, t) =    Ulw (x, y, z, t) =      Ulw (x, t)x , Ulw (x, t)y , Ulw (x, t)z
        dx              dx                      dx              dx            dx

     The partial derivative of the field with respect to the variable x can also be
     expressed in the canonical form:
                                                                                                   ⇥
       ⇥               ⇥                        ⇥                ⇥                ⇥
          Ulw (x, t) =    Ulw (x, y, z, t) =       Ulw (x, t)x ,    Ulw (x, t)y ,    Ulw (x, t)z
       ⇥x              ⇥x                       ⇥x               ⇥x               ⇥x
     The partial derivative of the field with respect to the variable x can also be
     expressed as:

       ⇥x Ulw (x, t) = ⇥x Ulw (x, y, z, t) = {⇥x Ulw (x, t)x , ⇥x Ulw (x, t)y , ⇥x Ulw (x, t)z }

    Other forms are possible but not used.
                                                                                                       21

 R. Rigon
Tuesday, February 26, 13
Gradient and Divergence
              The gradient of a scalar field is expressed, in the canonical form, as:


                   ⌃
                   ⇤Ulw (⌃ , t) = {⇥x Ulw (⌃ , t), ⇥y Ulw (⌃ , t), ⇥z Ulw (⌃ , t)}
                         x                 x               x               x

              The divergence of a vector field is expressed, in the canonical form, as:


                 ⌃ x
             ⇥ · Ulw (⌃ , t) = ⇥x Ulw (⌃ , t)x + ⇥y Ulw (⌃ , t)y + ⇥z Ulw (⌃ , t)z
                                       x                 x                 x

              where on the left there is the geometric (coordinate independent) form,
              and on the right are the gradients in Cartesian coordinates. Vector
              symbol above the divergence is omitted to remind that the result of the
              application of the operator to a vector is a scalar.

                                                                                          22

 R. Rigon
Tuesday, February 26, 13
Gradient and Divergence



                 The divergence can also be expressed in a more compact form using
                 the Einstein summation convention:



                               ⌃ x
                           ⇥ · Ulw (⌃ , t) = ⇥ i Ulw (⌃ , t)i = ⇥i Ulw (⌃ , t)i
                                                      x                 x
                                                                     i   {x, y, x}


                 meaning that when an index variable appears twice in a single term,
                 once in an upper (superscript) and once in a lower (subscript) position,
                 there is a summation over all of its possible values.


                                                                                            23

 R. Rigon
Tuesday, February 26, 13
Discrete Representation

                 It is interesting to see how scalar and vector fields are represented
                 when they are discretised into a grid




                                       Ulw      ij,t;k


                                        subscript
                                        symbol




                                                                                         24

 R. Rigon
Tuesday, February 26, 13
Discrete Representation
                 It is interesting to see how scalar and vector fields are represented
                 when they are discretised into a grid




                                       Ulw      ij,t;k


                                           e m p t y
                                           space




                                                                                         25

 R. Rigon
Tuesday, February 26, 13
Discrete Representation
                 It is interesting to see how scalar and vector fields are represented
                 when they are discretised into a grid




                                       Ulw        ij,t;k


                                     spatial index, first index
                                     refers to the cell (center) the
                                     second to the cell face, which
                                     is then j(i). If only one index is
                                     present it is a cell index.


                                                                                         26

 R. Rigon
Tuesday, February 26, 13
Discrete Representation
                 It is interesting to see how scalar and vector fields are represented
                 when they are discretised into a grid




                                       Ulw      ij,t;k


                                              temporal
                                              i n d e x ,
                                              preceded by
                                              a comma



                                                                                         27

 R. Rigon
Tuesday, February 26, 13
Discrete Representation
                 It is interesting to see how scalar and vector fields are represented
                 when they are discretised into a grid




                                       Ulw      ij,t;k


                                              iterative index,
                                              preceded by a
                                              semicolon




                                                                                         28

 R. Rigon
Tuesday, February 26, 13
Discrete Representation
                 Possible alternatives with the same meaning are:




                 Subscripts and superscripts can be omitted, for simplicity, when the
                 meaning of the variable is clear from the context. All of the above are
                 calculated at/across face j of cell i at time step t and it is iteration k.
                 When there is no ambiguity, also the comma can be omitted
                                                                                               29

 R. Rigon
Tuesday, February 26, 13
Discrete Representation
                 Possible alternatives with the same meaning are:




                 All the above quantities are calculated for cell i at time step t and it is
                 iteration k

                                                                                               30

 R. Rigon
Tuesday, February 26, 13
Discrete Representation
                 When a single index is presented, it can be, for instance




              with varying i. Therefore, a “vector”, meaning an array of data, can be built:




                                                                                               31

 R. Rigon
Tuesday, February 26, 13
Discrete Representation

            where the symbol         is used to identify a column vector




                                                                           32

 R. Rigon
Tuesday, February 26, 13
Discrete Representation

            where the symbol         is used to identify a row type of vector




                                                                                33

 R. Rigon
Tuesday, February 26, 13
Discrete Representation

                  The two symbols




                or “harpoon” are used for distinguishing this type of vector from the spatial
                euclidean vectors that have certain particular transformation rules upon
                rotations in space.




                                                                                           34

 R. Rigon
Tuesday, February 26, 13
Discrete Representation
            If the cell in which the system is discretized is a square in a structured
            cartesian grid, then the same as above applies, but the cell is identified by
            the row and column numbers enclosed in ( ):




               As in the previous cases the comma can be omitted

                                                                                            35

 R. Rigon
Tuesday, February 26, 13
Discrete Representation
            If the cell is a square in a structured cartesian grid, then the same as
            above applies, but the cell face is identified by the row and column
            numbers enclosed in ( ) with +1/2 (or -1/2)




                                                                                       36

 R. Rigon
Tuesday, February 26, 13
Discrete Representation
                           Cell points and face points in a structured grid:




                                                                               37

 R. Rigon
Tuesday, February 26, 13
Discrete Representation
              If position or time or iteration are identifiable from the context, or they
              are unimportant or a non-applicable feature, then they can be omitted




              means the field Ulw at the face between position i,j and i,j+1 in a
              cartesian grid at a known time.

                  Ulw      i

              means the field Ulw at cell i in an unstructured grid at a known or
              unspecified time.

                   ,t
                 Ulw
              means the field Ulw at a generic cell at time t

                                                                                            38

 R. Rigon
Tuesday, February 26, 13
Discrete Representation of Vector Components


              These are represented with a straightforward extension of what was
              used with scalars:



             ⇤
             Ulw           ij,t;k   = {Ulw.x   ij,t;k , Ulw.y ij,t;k , Ulw.z ij,t;k }




                                                                                        39

 R. Rigon
Tuesday, February 26, 13
Tensors
                  A tensors field is represented by bold letters (either lower or upper case)


                                    Ulw (⌃ , t) = Ulw (x, y, z, t)
                                         x

                    In this case Ulw is a 3 x 3 tensor field with components:


                                                                                ⇥
                             Ulw (⇧ , t)xx
                                  x           Ulw (⇧ , t)xy
                                                   x            Ulw (⇧ , t)xz
                                                                     x
                           ⇤ Ulw (⇧ , t)yx
                                  x           Ulw (⇧ , t)yy
                                                   x            Ulw (⇧ , t)yz ⌅
                                                                     x
                             Ulw (⇧ , t)zx
                                  x           Ulw (⇧ , t)zy
                                                   x            Ulw (⇧ , t)zz
                                                                     x


                    The components are not written with bold characters.
                                                                                                40

 R. Rigon
Tuesday, February 26, 13
Tensors
                  However, a tensor by components representation is preferable. So U
                  becomes:




                Or, when the notation is not ambiguous (not to be confounded with the (ij)
                element of a grid) simply:




                  The context says if the subscripts refer to a grid point or to the component
                  of a tensors. This is deemed necessary to avoid extra




                                                                                           41

 R. Rigon
Tuesday, February 26, 13
Tensors

               All the rules given for scalars and vectors apply consistently to tensors



                       Tensors are matrices, and matrix notation
                                   applies to tensors


               However, bear in mind that scalars, vectors, and tensors are geometric
               objects which have properties that are independent of the choice of
               reference system (i.e. independent of the origin, the base, and the
               orientation of the space-time vector space) and the coordinate system
               (i.e. cartesian, cylindrical or curvilinear or other).



                                                                                           42

 R. Rigon
Tuesday, February 26, 13
Tensors are matrices, and matrix notation
                                   applies to tensors


              Thus, while tensor indices always refers to space-time, matrix indices do
              not.


             Remember also that divergence, gradient and curl are themselves
             geometric objects and obey the same rules as tensors. By changing
             coordinate system, they change their components but not their
             geometric properties.


             These geometric properties, in fact, should be preserved in a proper
             discretisation, since they are intimately related to the Conservation Laws
             of Physics.


                                                                                          43

 R. Rigon
Tuesday, February 26, 13
When doing thermodynamics


     Internal energy can be written, for instance, as :


     U = U (S, V, Mw )
     thus, its differential is:

   dU ( ) = T ( )dS               p( )dV + µw ( )dMw
   where T ( ) , p( ) and µw ( ) are followed by ( ) to indicate that they are
   functions and not independent variables. Usually they are also functions of space
   and time (fields), but this dependence remains implicit.

 This notation is convenient since the real dependence of each function on the
 variables S, V, Mw depends on the system under analysis, and is unspecified a-priori.
                                                                                    44

 R. Rigon
Tuesday, February 26, 13
Thank you for your attention.




                           G.Ulrici, 2000 ?




                                                                              45

 R. Rigon
Tuesday, February 26, 13

More Related Content

More from AboutHydrology Slides

Luca Brocca seminario trento
Luca Brocca seminario trentoLuca Brocca seminario trento
Luca Brocca seminario trento
AboutHydrology Slides
 
3b jf h-readingdatafromconsole
3b jf h-readingdatafromconsole3b jf h-readingdatafromconsole
3b jf h-readingdatafromconsole
AboutHydrology Slides
 
3 jf h-linearequations
3  jf h-linearequations3  jf h-linearequations
3 jf h-linearequations
AboutHydrology Slides
 
2 jfh-yourveryfirstprogram
2  jfh-yourveryfirstprogram2  jfh-yourveryfirstprogram
2 jfh-yourveryfirstprogram
AboutHydrology Slides
 
1 jf h-getting started
1  jf h-getting started1  jf h-getting started
1 jf h-getting started
AboutHydrology Slides
 
Introduction tohydrology c
Introduction tohydrology cIntroduction tohydrology c
Introduction tohydrology c
AboutHydrology Slides
 
Introduction tohydrology b
Introduction tohydrology bIntroduction tohydrology b
Introduction tohydrology b
AboutHydrology Slides
 
Water platform 2011-2014
Water platform 2011-2014Water platform 2011-2014
Water platform 2011-2014
AboutHydrology Slides
 
La piattaforma acqua
La piattaforma acquaLa piattaforma acqua
La piattaforma acqua
AboutHydrology Slides
 
La convenzione delle alpi
La convenzione delle alpiLa convenzione delle alpi
La convenzione delle alpi
AboutHydrology Slides
 
Introduction to post_gis
Introduction to post_gisIntroduction to post_gis
Introduction to post_gis
AboutHydrology Slides
 
1 introduction to hydrology
1   introduction to hydrology1   introduction to hydrology
1 introduction to hydrology
AboutHydrology Slides
 
9 precipitations - rainfall
9   precipitations - rainfall9   precipitations - rainfall
9 precipitations - rainfall
AboutHydrology Slides
 
14 snow hydrology-part1
14 snow hydrology-part114 snow hydrology-part1
14 snow hydrology-part1
AboutHydrology Slides
 
13 solar radiation
13   solar radiation13   solar radiation
13 solar radiation
AboutHydrology Slides
 
15 Evapotranspiration
15   Evapotranspiration15   Evapotranspiration
15 Evapotranspiration
AboutHydrology Slides
 
6 measurement&representation
6   measurement&representation6   measurement&representation
6 measurement&representation
AboutHydrology Slides
 
5 hydrology quantities-measures_instruments_activities
5   hydrology quantities-measures_instruments_activities5   hydrology quantities-measures_instruments_activities
5 hydrology quantities-measures_instruments_activities
AboutHydrology Slides
 
11 modern-iuh
11   modern-iuh11   modern-iuh
11 modern-iuh
AboutHydrology Slides
 
10 water in soil-rev 1
10   water in soil-rev 110   water in soil-rev 1
10 water in soil-rev 1
AboutHydrology Slides
 

More from AboutHydrology Slides (20)

Luca Brocca seminario trento
Luca Brocca seminario trentoLuca Brocca seminario trento
Luca Brocca seminario trento
 
3b jf h-readingdatafromconsole
3b jf h-readingdatafromconsole3b jf h-readingdatafromconsole
3b jf h-readingdatafromconsole
 
3 jf h-linearequations
3  jf h-linearequations3  jf h-linearequations
3 jf h-linearequations
 
2 jfh-yourveryfirstprogram
2  jfh-yourveryfirstprogram2  jfh-yourveryfirstprogram
2 jfh-yourveryfirstprogram
 
1 jf h-getting started
1  jf h-getting started1  jf h-getting started
1 jf h-getting started
 
Introduction tohydrology c
Introduction tohydrology cIntroduction tohydrology c
Introduction tohydrology c
 
Introduction tohydrology b
Introduction tohydrology bIntroduction tohydrology b
Introduction tohydrology b
 
Water platform 2011-2014
Water platform 2011-2014Water platform 2011-2014
Water platform 2011-2014
 
La piattaforma acqua
La piattaforma acquaLa piattaforma acqua
La piattaforma acqua
 
La convenzione delle alpi
La convenzione delle alpiLa convenzione delle alpi
La convenzione delle alpi
 
Introduction to post_gis
Introduction to post_gisIntroduction to post_gis
Introduction to post_gis
 
1 introduction to hydrology
1   introduction to hydrology1   introduction to hydrology
1 introduction to hydrology
 
9 precipitations - rainfall
9   precipitations - rainfall9   precipitations - rainfall
9 precipitations - rainfall
 
14 snow hydrology-part1
14 snow hydrology-part114 snow hydrology-part1
14 snow hydrology-part1
 
13 solar radiation
13   solar radiation13   solar radiation
13 solar radiation
 
15 Evapotranspiration
15   Evapotranspiration15   Evapotranspiration
15 Evapotranspiration
 
6 measurement&representation
6   measurement&representation6   measurement&representation
6 measurement&representation
 
5 hydrology quantities-measures_instruments_activities
5   hydrology quantities-measures_instruments_activities5   hydrology quantities-measures_instruments_activities
5 hydrology quantities-measures_instruments_activities
 
11 modern-iuh
11   modern-iuh11   modern-iuh
11 modern-iuh
 
10 water in soil-rev 1
10   water in soil-rev 110   water in soil-rev 1
10 water in soil-rev 1
 

Recently uploaded

Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Diana Rendina
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
Himanshu Rai
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 

Recently uploaded (20)

Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 

0-RealBookStyleAndNotation

  • 1. The Real Books: On Style and Notation R. Rigon- Il tavolo di lavoro di Remo wolf Riccardo Rigon Tuesday, February 26, 13
  • 2. “Standards are nice if each one of us has his own” Sandro Marani Tuesday, February 26, 13
  • 3. Notation Objectives Each set of these slides contains a summary, or description, of the communication objectives that want to be achieved. •These slides will explain what a Real Book is •The layout of these slides is explained •They will explain how to write and comment the formulae •The various parts of the single slides are also explained 3 R. Rigon Tuesday, February 26, 13
  • 4. Notation Notes on Style For these slides I have chosen to use the Lucida Bright font, at 24 point size, with justified text. The titles have been centred and they have been written in a 36 point Lucida Bright font. The notes are in 18 point Lucida Bright. The references are in 14 point Lucida Bright. The choice of font is linked to the formulae, which are pdf images created with LaTeX (specifically LaTeXit! for Mac), using the Computer Modern font, which is very similar to Lucida Bright. The formulae usually use a 36 point font size. There follows an example. dM H f =P dt f 4 R. Rigon Tuesday, February 26, 13
  • 5. Notation Notes on Style Experience teaches that, in order to reproduce the communicative effect of writing by hand on a blackboard, the formulae need to commented. For these slides I have chosen the following method: the formula is “boxed” in red (2 pt) and a red arrow points to an explanation in italics. The three slides show how to dM H comment an equation, term by f =P term. Slowness is necessary to dt f reproduces some optimal flux of information. Conservation of mass of snow 5 R. Rigon Tuesday, February 26, 13
  • 6. Notation Notes on Style: an example 1/3 The evolution of the water equivalent of snow is found by solving the mass balance equation: the liquid and solid precipitation less the flow of water due to melting and sublimation is equal to the variation in the water equivalent during the time step. The three slides show how to dM H comment an equation, term by f =P term. Slowness is necessary to dt f reproduces some optimal flux of information. Change of mass of the snow in the control volume per unit time 6 R. Rigon Tuesday, February 26, 13
  • 7. Notation Notes on Style: an example 2/3 The evolution of the water equivalent of snow is found by solving the mass balance equation: the liquid and solid precipitation less the flow of water due to melting and sublimation is equal to the variation in the water equivalent during the time step. dM H f =P dt f Total precipitation 7 R. Rigon Tuesday, February 26, 13
  • 8. Notation Notes on Style: an example 3/3 The evolution of the water equivalent of snow is found by solving the mass balance equation: the liquid and solid precipitation less the flow of water due to melting and sublimation is equal to the variation in the water equivalent during the time step. The three slides show how to dM H comment an equation, term by f =P term. Slowness is necessary to dt f reproduces some optimal flux of information. Heating of snow divided by the enthalpy of fusion of ice 8 R. Rigon Tuesday, February 26, 13
  • 9. Notation Notes on Style: The slides have some The centre of the standard information: a general index slide is white: this is for improved visibility and to avoid wastage of toner The slides have some when printing. The The slide number: standard information: cover slide, on the gives the audience a authors other hand, is all blue reference point with an image. Rigon, 2013 The slides have some For these slides a standard information: Creative Commons the authors of the License has been contribution used (http.cc) 9 R. Rigon Tuesday, February 26, 13
  • 10. Notation Other Notes: The formulae have been written using LaTeXit, and they are alive, in the sense that dragging them back to LaTeXit, the code that generated them reappears. Generally, wherever possible, parts of the calculation code or graphic generation code are also given. 10 R. Rigon Tuesday, February 26, 13
  • 11. Notation Symbols Where possible, there will be one or more tables listing the symbols used, like the one below: 11 R. Rigon Tuesday, February 26, 13
  • 12. Symbols The aim, wherever possible, is to use standard symbols that are different for different quantities. 12 R. Rigon Tuesday, February 26, 13
  • 13. Symbols The Name is as in the CF Conventions (http.CF), or is given in that style 13 R. Rigon Tuesday, February 26, 13
  • 14. Symbols The unit of measure should always be shown 14 R. Rigon Tuesday, February 26, 13
  • 15. Risorse web •http.wp - http://en.wikipedia.org/wiki/Real_Book - Last accessed May, 7, 2009 •http.cc - http://creative.commons.org - Last accessed May, 7, 2009 •http.CF -http://cf-pcmdi.llnl.gov/ 15 R. Rigon Tuesday, February 26, 13
  • 16. Bibliography Each set of these slides contains a bibliography. •R. Rosso, Corso di Infrastrutture Idrauliche, Sistemi di drenaggio urbano, The Real book, CUSL, 2002 •S. Swallow - The Real Book CD, •.......... 16 R. Rigon Tuesday, February 26, 13
  • 17. Basic Notation for Scalar, Vector and Tensor Fields, and Matrices Bruno Munari - Libri illeggibili Tuesday, February 26, 13
  • 18. Objectives •In these slides the notational rules used in the Real Books are defined. •In particular, explanation is given on how to write the formulae so that the indices and various graphic aspects can be interpreted univocally. •However these are guidelines that can be violated in practical cases in favor of simplicity of notation. 18 R. Rigon Tuesday, February 26, 13
  • 19. Basic Basics Let Ulw be a space-time field. Then Ulw (⌥ , t) = Ulw (x, y, z, t) x is a scalar field. The field can be independent of some space variable or time, which is then omitted. Whether the vector is 2-D or 3-D depends on the context. On the other hand ⌥ x ⌥ Ulw (⌥ , t) = Ulw (x, y, z, t) is a vector field. Other notations for vectors are possible, but not used. ⌥ x ⌥ Ulw (⌥ , t) = Ulw (x, y, z, t) = {Ulw (⌥ , t)x , Ulw (⌥ , t)y , Ulw (⌥ , t)z } x x x 19 R. Rigon Tuesday, February 26, 13
  • 20. Basic Basics The components of the vector field can be written as: ⌥ x ⌥ Ulw (⌥ , t) = Ulw (x, y, z, t) = {Ulw (⌥ , t)x , Ulw (⌥ , t)y , Ulw (⌥ , t)z } x x x or, by omitting the dependence on the space-time variables, as: ⌥ x ⌥ Ulw (⌥ , t) = Ulw (x, y, z, t) = {Ulw x , Ulw y , Ulw z } Please take note of the space between the “lw” and coordinate index. Sometimes just the space variable, or the time variable, dependence can be omitted to simplify the notation as: ⌥ x ⌥ Ulw (⌥ , t) = Ulw (x, y, z, t) = {Ulw (t)x , Ulw (t)y , Ulw (t)z } 20 R. Rigon Tuesday, February 26, 13
  • 21. Derivatives The normal derivative of the field with respect to the variable x can be expressed in the canonical form: ⇥ d d d d d Ulw (x, t) = Ulw (x, y, z, t) = Ulw (x, t)x , Ulw (x, t)y , Ulw (x, t)z dx dx dx dx dx The partial derivative of the field with respect to the variable x can also be expressed in the canonical form: ⇥ ⇥ ⇥ ⇥ ⇥ ⇥ Ulw (x, t) = Ulw (x, y, z, t) = Ulw (x, t)x , Ulw (x, t)y , Ulw (x, t)z ⇥x ⇥x ⇥x ⇥x ⇥x The partial derivative of the field with respect to the variable x can also be expressed as: ⇥x Ulw (x, t) = ⇥x Ulw (x, y, z, t) = {⇥x Ulw (x, t)x , ⇥x Ulw (x, t)y , ⇥x Ulw (x, t)z } Other forms are possible but not used. 21 R. Rigon Tuesday, February 26, 13
  • 22. Gradient and Divergence The gradient of a scalar field is expressed, in the canonical form, as: ⌃ ⇤Ulw (⌃ , t) = {⇥x Ulw (⌃ , t), ⇥y Ulw (⌃ , t), ⇥z Ulw (⌃ , t)} x x x x The divergence of a vector field is expressed, in the canonical form, as: ⌃ x ⇥ · Ulw (⌃ , t) = ⇥x Ulw (⌃ , t)x + ⇥y Ulw (⌃ , t)y + ⇥z Ulw (⌃ , t)z x x x where on the left there is the geometric (coordinate independent) form, and on the right are the gradients in Cartesian coordinates. Vector symbol above the divergence is omitted to remind that the result of the application of the operator to a vector is a scalar. 22 R. Rigon Tuesday, February 26, 13
  • 23. Gradient and Divergence The divergence can also be expressed in a more compact form using the Einstein summation convention: ⌃ x ⇥ · Ulw (⌃ , t) = ⇥ i Ulw (⌃ , t)i = ⇥i Ulw (⌃ , t)i x x i {x, y, x} meaning that when an index variable appears twice in a single term, once in an upper (superscript) and once in a lower (subscript) position, there is a summation over all of its possible values. 23 R. Rigon Tuesday, February 26, 13
  • 24. Discrete Representation It is interesting to see how scalar and vector fields are represented when they are discretised into a grid Ulw ij,t;k subscript symbol 24 R. Rigon Tuesday, February 26, 13
  • 25. Discrete Representation It is interesting to see how scalar and vector fields are represented when they are discretised into a grid Ulw ij,t;k e m p t y space 25 R. Rigon Tuesday, February 26, 13
  • 26. Discrete Representation It is interesting to see how scalar and vector fields are represented when they are discretised into a grid Ulw ij,t;k spatial index, first index refers to the cell (center) the second to the cell face, which is then j(i). If only one index is present it is a cell index. 26 R. Rigon Tuesday, February 26, 13
  • 27. Discrete Representation It is interesting to see how scalar and vector fields are represented when they are discretised into a grid Ulw ij,t;k temporal i n d e x , preceded by a comma 27 R. Rigon Tuesday, February 26, 13
  • 28. Discrete Representation It is interesting to see how scalar and vector fields are represented when they are discretised into a grid Ulw ij,t;k iterative index, preceded by a semicolon 28 R. Rigon Tuesday, February 26, 13
  • 29. Discrete Representation Possible alternatives with the same meaning are: Subscripts and superscripts can be omitted, for simplicity, when the meaning of the variable is clear from the context. All of the above are calculated at/across face j of cell i at time step t and it is iteration k. When there is no ambiguity, also the comma can be omitted 29 R. Rigon Tuesday, February 26, 13
  • 30. Discrete Representation Possible alternatives with the same meaning are: All the above quantities are calculated for cell i at time step t and it is iteration k 30 R. Rigon Tuesday, February 26, 13
  • 31. Discrete Representation When a single index is presented, it can be, for instance with varying i. Therefore, a “vector”, meaning an array of data, can be built: 31 R. Rigon Tuesday, February 26, 13
  • 32. Discrete Representation where the symbol is used to identify a column vector 32 R. Rigon Tuesday, February 26, 13
  • 33. Discrete Representation where the symbol is used to identify a row type of vector 33 R. Rigon Tuesday, February 26, 13
  • 34. Discrete Representation The two symbols or “harpoon” are used for distinguishing this type of vector from the spatial euclidean vectors that have certain particular transformation rules upon rotations in space. 34 R. Rigon Tuesday, February 26, 13
  • 35. Discrete Representation If the cell in which the system is discretized is a square in a structured cartesian grid, then the same as above applies, but the cell is identified by the row and column numbers enclosed in ( ): As in the previous cases the comma can be omitted 35 R. Rigon Tuesday, February 26, 13
  • 36. Discrete Representation If the cell is a square in a structured cartesian grid, then the same as above applies, but the cell face is identified by the row and column numbers enclosed in ( ) with +1/2 (or -1/2) 36 R. Rigon Tuesday, February 26, 13
  • 37. Discrete Representation Cell points and face points in a structured grid: 37 R. Rigon Tuesday, February 26, 13
  • 38. Discrete Representation If position or time or iteration are identifiable from the context, or they are unimportant or a non-applicable feature, then they can be omitted means the field Ulw at the face between position i,j and i,j+1 in a cartesian grid at a known time. Ulw i means the field Ulw at cell i in an unstructured grid at a known or unspecified time. ,t Ulw means the field Ulw at a generic cell at time t 38 R. Rigon Tuesday, February 26, 13
  • 39. Discrete Representation of Vector Components These are represented with a straightforward extension of what was used with scalars: ⇤ Ulw ij,t;k = {Ulw.x ij,t;k , Ulw.y ij,t;k , Ulw.z ij,t;k } 39 R. Rigon Tuesday, February 26, 13
  • 40. Tensors A tensors field is represented by bold letters (either lower or upper case) Ulw (⌃ , t) = Ulw (x, y, z, t) x In this case Ulw is a 3 x 3 tensor field with components: ⇥ Ulw (⇧ , t)xx x Ulw (⇧ , t)xy x Ulw (⇧ , t)xz x ⇤ Ulw (⇧ , t)yx x Ulw (⇧ , t)yy x Ulw (⇧ , t)yz ⌅ x Ulw (⇧ , t)zx x Ulw (⇧ , t)zy x Ulw (⇧ , t)zz x The components are not written with bold characters. 40 R. Rigon Tuesday, February 26, 13
  • 41. Tensors However, a tensor by components representation is preferable. So U becomes: Or, when the notation is not ambiguous (not to be confounded with the (ij) element of a grid) simply: The context says if the subscripts refer to a grid point or to the component of a tensors. This is deemed necessary to avoid extra 41 R. Rigon Tuesday, February 26, 13
  • 42. Tensors All the rules given for scalars and vectors apply consistently to tensors Tensors are matrices, and matrix notation applies to tensors However, bear in mind that scalars, vectors, and tensors are geometric objects which have properties that are independent of the choice of reference system (i.e. independent of the origin, the base, and the orientation of the space-time vector space) and the coordinate system (i.e. cartesian, cylindrical or curvilinear or other). 42 R. Rigon Tuesday, February 26, 13
  • 43. Tensors are matrices, and matrix notation applies to tensors Thus, while tensor indices always refers to space-time, matrix indices do not. Remember also that divergence, gradient and curl are themselves geometric objects and obey the same rules as tensors. By changing coordinate system, they change their components but not their geometric properties. These geometric properties, in fact, should be preserved in a proper discretisation, since they are intimately related to the Conservation Laws of Physics. 43 R. Rigon Tuesday, February 26, 13
  • 44. When doing thermodynamics Internal energy can be written, for instance, as : U = U (S, V, Mw ) thus, its differential is: dU ( ) = T ( )dS p( )dV + µw ( )dMw where T ( ) , p( ) and µw ( ) are followed by ( ) to indicate that they are functions and not independent variables. Usually they are also functions of space and time (fields), but this dependence remains implicit. This notation is convenient since the real dependence of each function on the variables S, V, Mw depends on the system under analysis, and is unspecified a-priori. 44 R. Rigon Tuesday, February 26, 13
  • 45. Thank you for your attention. G.Ulrici, 2000 ? 45 R. Rigon Tuesday, February 26, 13