down

Exercise 10: The Lorenz Attractor


Here are your 5 bonus points   Credits: 5/5

NOTE: Some of you may have disk quota on fys.ku.dk, astro.ku.dk or nbi.dk that are close to, or above the limit.
  • Use the command "quota -v" to check that you are within limits. Use "df" from your home dir to identify the correct file system.
  • Use the command "du | sort -n" (from your home dir) to see where most of the file space is being used.
  • If you are above the limit you have to remove enough files to get under your "soft " limit, in order to clear your 'criminal' record for this time.
    • Look for *.x files in previous exercise directories and remove those files. Often "make clean" will do the job.
    • Cache of Firefox or other browser files can also be a problem; reduce the amount of disk cache, and "clear" the cache from within the browser.
  • If you remain above the soft limit for 7 days, you may be unable to login over an X-connection, because the ~/.Xauthority file cannot be written.
    • If that happens, use a window on someone elses display, and login with for example "ssh userid@fys.ku.dk" to remove files.

Subsections
  approx time  
CVS
1 min
IDL Procedures and Exercises
30 min
3D Visualization with IDL Object Graphics
45 min
Mathematica Notebook,

45 min

Home Work
2 hours


down top CVS

[about 1 minute]

To extract the exercise files for this weeks exercise, do

    cd ~/ComputerPhysics
    cvs update -d

In case of problems, see the CVS update help page.


down top IDL Procedures and Exercises

[about 30 minutes]

To avoid problems with "undefined procedures or functions" make sure IDL can find the necessary procedures.


down top 3D Visualization with IDL Object Graphics

[about 45 minutes]

IDL Object Graphics provides high level graphics functionality, such as interactive 3-D visualization, with a very small programming effort. Detailed documentation is available though the IDL online help system, but you do not need it to carry out this exercise.

Example 1:

Open the file viz3d_simplest.pro from IDLDE, compile it and run it. With just three lines of code it produces an interactive display of the Lorenz attractor.

The three lines can actually be combined to one. Try this one-liner:
    IDL> xobjview,obj_new('IDLgrPolyLine',data=lorenz()) 

Example 2:

Open the file viz3d_simple.pro from IDLDE, compile it and run it. Consider how it differs from the previous one.

Example 3:

Open the file viz3d.pro from IDLDE, compile it and run it. Consider how it again differs from the previous one.

  • Task: Given the examples above,

    OK, I have updated the viz3d.pro procedure to show two paths Locate and upload your viz3d.pro file: Credits: 5/-2
    OK

    Example 4:

    Open the file viz3d_live.pro from IDLDE, compile it and run it. Consider once again how it differs from the previous one.

    OK, I have updated the viz3d_live.pro procedure to show these points Locate and upload your viz3d_live.pro file: Credits: 5/-2
    OK


    down top Mathematica Notebook

    [spend about 45 minutes]

    A Mathematica Notebook about the geometry of the Lorenz attractor is available in your 10_Lorenz directory. The instructions are built into the Notebook; just start Mathematica ("mathematica &" from a UNIX prompt) and open the file 10_Lorenz/Exercise.nb.

    As a check that you have been through the notebook, and understand how to run it; assuming that the Rayleigh number, r, is set equal to 100 ...

    How large is the growth factor? Credits: 5/-2
    OK


    down top Home Work

    [about 2 hours]

    This weeks home work (or non-exercise hours) should bring you up-to-date with respect to all the exercises. If you still are behind from Project 1 then go back and finish that, as well as Exercise 8 and 9.

    You may want to prepare for the lecture next week by reading about Partial Differential Equations in Numerical Recipes.


    $Id: index.php,v 1.17 2009/07/12 09:50:05 aake Exp $