Scientific Computing II - Summer 13: Difference between revisions

From Sccswiki
Jump to navigation Jump to search
No edit summary
 
(24 intermediate revisions by 3 users not shown)
Line 6: Line 6:
| audience = Computational Science and Engineering, 2nd semester
| audience = Computational Science and Engineering, 2nd semester
| tutorials = [[Wolfgang Eckhardt]]  [[Philipp Neumann]] <br> Monday 10-12, lecture room MI 02.07.023, <br/>First Tutorial: April 22
| tutorials = [[Wolfgang Eckhardt]]  [[Philipp Neumann]] <br> Monday 10-12, lecture room MI 02.07.023, <br/>First Tutorial: April 22
| exam = written exam
| exam = repeat exam (written): '''Oct 14, 10.00-11.30''' in lecture hall '''MI HS 2'''
| tumonline = [https://campus.tum.de/tumonline/LV.detail?clvnr=950099284 Scientific Computing II]
| tumonline = [https://campus.tum.de/tumonline/LV.detail?clvnr=950099284 Scientific Computing II]
}}
}}
Line 12: Line 12:
= Announcements =
= Announcements =


* due to the student assembly, '''the lecture on Tuesday, May 14, is skipped'''
* <font color="red">The exam review for the repeat exam will take place on Friday, Oct 25, 15:00-16:00, in the seminar room 02.07.023.</font>
* due to a short holiday (Whit Monday/Pentecost), '''lecture and tutorial on May 20/21 will be skipped'''
* The repeat exam will take place on Monday, Oct 14, 10:00-11:45, in room 5604.EG.011 (00.04.011, MI Hörsaal 2). All conditions (auxiliary material which is allowed, etc.) will be identical as in the first exam.
* The exam review will take place on Friday, Aug 9, from 12-14 in our seminar room (MI 02.07.023).
* '''lecture on''' Tuesday, July 2, will move to '''Monday, July 1, 12.00-13.30 (room MI 02.07.023)''': for organizational reasons, the lectures ''Numerical Programming II'' and ''Scientific Computing'' will be swapped on these two days
* due to the student assembly, the lecture on Tuesday, May 14, is skipped
* due to a short holiday (Whit Monday/Pentecost), lecture and tutorial on May 20/21 will be skipped
* on Mon 27, we will restart with a lecture (which replaces the usual tutorial)
* on Mon 27, we will restart with a lecture (which replaces the usual tutorial)


= Exam =
= Repeat Exam =


* written exam
* written exam
<!--
* Date: '''Mon, 14 Oct 2013'''
* Date: '''Wed, 10 Oct 2012'''
* Time: 10:00-11.30<br>'''Please make sure to be in the lecture hall by 9:50''', as the exam will start precisely at 10.00.
* Time: 8:30 - 10:00<br>'''Please make sure to be in the exam room by 8.15''', as the exam will start at 8.30.
* Place: '''MI HS 2'''
* Place: '''MW 1450''' (in the engineering department!)
* Duration: 90 min.
* Duration: 90 min.
* auxiliary material allowed:
* auxiliary material allowed:
** one hand-written sheet of paper (Din A4), written on both sides
** one hand-written sheet of paper (Din A4), written on both sides
** You are not allowed to use any other tools / devices (e.g. electronic dictionaries)
** You are not allowed to use any other tools / devices (e.g. electronic dictionaries)
<!--
* Topics: everything that was covered in the lectures and tutorials (except the last lecture, on long-range forces, July 17)
* Topics: everything that was covered in the lectures and tutorials (except the last lecture, on long-range forces, July 17)
-->


<B> Please make sure that you are registered for the exam via TUMOnline!</B>
<B> Please make sure that you are registered for the exam via TUMOnline!</B>


Old exams are available on the websites of the last years:
Old exams are available on the websites of the last years (note that this year, the extent of the lecture was extended!):


http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss11/exam.pdf
http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss11/exam.pdf
Line 39: Line 44:
http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss08/exam.pdf
http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss08/exam.pdf


-->
= Contents =
= Contents =


Line 74: Line 78:
|| Apr 29
|| Apr 29
|| [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/blatt2angabe.pdf Sheet2], [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/blatt2solution.pdf Solution], [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/uebung2/smoothers.m smoothers.m]  
|| [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/blatt2angabe.pdf Sheet2], [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/blatt2solution.pdf Solution], [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/uebung2/smoothers.m smoothers.m]  
|| <!--[http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/tutorial_01/01_iterative_tutorial.pdf Iterative Solvers] [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/tutorial_01/01_iterative_homework.pdf Homework Sheet] || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/tutorial_01/solvers.tar.gz Matlab Code]-->
||  
|-
|-
| Apr 30 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/multigrid.pdf Multigrid Methods] (Part II)
| Apr 30 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/multigrid.pdf Multigrid Methods] (Part II)
Line 91: Line 95:
| June 4 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/conjugate.pdf CG and Preconditioning (cont.)]
| June 4 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/conjugate.pdf CG and Preconditioning (cont.)]
|| June 10 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/blatt6angabe.pdf Sheet6], [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/blatt6_solution.pdf Solution], [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/uebung6/given_ex_5.tar.gz Code_Ex5], [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/uebung6/given_ex_6.tar.gz Code_Ex6],  [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/uebung6/solution_ex_5.tar.gz Solution_Ex5], [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/uebung6/solution_ex_6.tar.gz Solution_Ex6]
|| June 10 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/blatt6angabe.pdf Sheet6], [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/blatt6_solution.pdf Solution], [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/uebung6/given_ex_5.tar.gz Code_Ex5], [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/uebung6/given_ex_6.tar.gz Code_Ex6],  [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/uebung6/solution_ex_5.tar.gz Solution_Ex5], [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/uebung6/solution_ex_6.tar.gz Solution_Ex6]
<!--
|-
| June 12,19 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/conjugate.pdf Preconditioned Conjugate Gradient Methods]<br>(Maple worksheet [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/conjugate_gradient.mws conjugate_gradient.mws], also as [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/conjugate_gradient.pdf PDF]) 
|| June 18 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/tutorial_05/05_pcg_tutorial.pdf PCG] || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/tutorial_05/GIVEN.tar.gz PCG-Frame] [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/tutorial_05/tutorial_5_solution.tar.gz Solution]
|-
|-
| June 19 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/moldyn_01.pdf Molecular Dynamics (Intro and Modelling)] || June 25
|| June 11 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/moldyn_intro.pdf Molecular Dynamics (Intro)]<br>(Maple worksheet [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/twobody.mws twobody.mws], also as [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/twobody.pdf PDF]
|| [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/tutorial_A/A_introduction_tutorial.pdf MD Introduction] <BR> [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/tutorial_A/slides_ex1.pdf Slides]||
|| June 17 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/blatt7angabe.pdf Sheet7], [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/blatt7solution.pdf Solution], [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/uebung7/code_exercise7.tar code_exercise7.tar]
|-
|| June 18 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/moldyn_01.pdf Molecular Dynamics, Pt. 1]
|| June 24 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/blatt8angabe.pdf Sheet8], [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/blatt8solution.pdf Solution], [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/uebung8/code_exercise8.tar code_exercise8.tar]
|-
| June 25 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/moldyn_02.pdf Time Integration]<br>Maple worksheet [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/circles_ode.mws circles_ode.mws], also as [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/circles_ode.pdf PDF]) || July 1 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/blatt9angabe.pdf Sheet9], [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/blatt9solution.pdf Solution], [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/uebung9/code_exercise9.tar code_exercise9.tar]
|-
|-
| June 26 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/moldyn_01.pdf Molecular Dynamics (Intro and Modelling)]<br>(Maple worksheet [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/twobody.mws twobody.mws], also as [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/twobody.pdf PDF];<br>Maple worksheet [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/circles_ode.mws circles_ode.mws], also as [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/circles_ode.pdf PDF]) || July 2 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/tutorial_B/B_model_tutorial.pdf MD Modelling] <BR> [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/tutorial_B/slides_ex2.pdf Slides] || 
| July 1 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/moldyn_03.pdf short-range potentials and (parallel) implementation] || July 8 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/blatt10angabe.pdf Sheet10], [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/blatt10solution.pdf Solution]
|-
|-
| July 3 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/moldyn_01.pdf Molecular Dynamics (Modelling)]<br>[http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/moldyn_02.pdf Time Integration] || July 9
| July 9 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/moldyn_04.pdf long-range potentials, tree algorithms] || July 15 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/blatt11angabe.pdf Sheet11], [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss13/uebungen/blatt11solution.pdf Solution]
|| [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/tutorial_C/C_discretisation_tutorial.pdf MD Discretisation] <BR> [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/tutorial_C/C_discretisation_tutorial_solution.pdf solution]|| 
|-
|-
| July 10 || [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/moldyn_02.pdf Time Integration]<br>[http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/moldyn_03.pdf Implementation and Parallelisation] || July 16 || ||
| July 16 || "all questions answered" (on exercises & tutorials) || - ||  
|-
|-
| July 17 || Outlook on [http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss12/moldyn_04.pdf long-range potentials] (not part of the exam) ||  || ||
-->
|}
|}



Latest revision as of 13:04, 15 October 2013

Term
Summer 13
Lecturer
Prof. Dr. Michael Bader
Time and Place
Tuesday 10-12, lecture room MI 02.07.023
First Lecture: Apr 16
Audience
Computational Science and Engineering, 2nd semester
Tutorials
Wolfgang Eckhardt Philipp Neumann
Monday 10-12, lecture room MI 02.07.023,
First Tutorial: April 22
Exam
repeat exam (written): Oct 14, 10.00-11.30 in lecture hall MI HS 2
Semesterwochenstunden / ECTS Credits
2V + 2Ü / 5 Credits
TUMonline
Scientific Computing II



Announcements

  • The exam review for the repeat exam will take place on Friday, Oct 25, 15:00-16:00, in the seminar room 02.07.023.
  • The repeat exam will take place on Monday, Oct 14, 10:00-11:45, in room 5604.EG.011 (00.04.011, MI Hörsaal 2). All conditions (auxiliary material which is allowed, etc.) will be identical as in the first exam.
  • The exam review will take place on Friday, Aug 9, from 12-14 in our seminar room (MI 02.07.023).
  • lecture on Tuesday, July 2, will move to Monday, July 1, 12.00-13.30 (room MI 02.07.023): for organizational reasons, the lectures Numerical Programming II and Scientific Computing will be swapped on these two days
  • due to the student assembly, the lecture on Tuesday, May 14, is skipped
  • due to a short holiday (Whit Monday/Pentecost), lecture and tutorial on May 20/21 will be skipped
  • on Mon 27, we will restart with a lecture (which replaces the usual tutorial)

Repeat Exam

  • written exam
  • Date: Mon, 14 Oct 2013
  • Time: 10:00-11.30
    Please make sure to be in the lecture hall by 9:50, as the exam will start precisely at 10.00.
  • Place: MI HS 2
  • Duration: 90 min.
  • auxiliary material allowed:
    • one hand-written sheet of paper (Din A4), written on both sides
    • You are not allowed to use any other tools / devices (e.g. electronic dictionaries)

Please make sure that you are registered for the exam via TUMOnline!

Old exams are available on the websites of the last years (note that this year, the extent of the lecture was extended!):

http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss11/exam.pdf

http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss10/exam.pdf

http://www5.in.tum.de/lehre/vorlesungen/sci_compII/ss08/exam.pdf

Contents

This course provides a deeper knowledge in two important fields of scientific computing:

  • iterative solution of large sparse systems of linear equations:
    • relaxation methods
    • multigrid methods
    • steepest descent
    • conjugate gradient methods
  • molecular dynamics simulations
    • the physical model
    • the mathematical model
    • approximations and discretization
    • implementational aspects
    • parallelisation
    • examples of nanofluidic simulations

The course is conceived for computer scientists, mathematicians, engineers, or natural scientists with already a background in the numerical treatment of (partial) differential equations.

Lecture Notes and Material

lecture material tutorial exercise matlab
Apr 16 Introduction, Relaxation Methods Apr 22 Sheet1, Solution
Apr 23 Multigrid Methods, Animations Apr 29 Sheet2, Solution, smoothers.m
Apr 30 Multigrid Methods (Part II) May 06 Sheet3, Solution, code_exercise3.tar
May 07 Multigrid Methods (Part III) May 13 Sheet4, smooth.m, Solution, code_exercise4.tar
Mai 14 (student assembly - no lecture) May 20 (holiday - no lecture)
Mai 21 (holiday - no lecture) May 27 Steepest Descent and Conjugate Gradient Methods
(Maple worksheet quadratic_forms.mws, also as PDF)
May 28 CG and Preconditioning
(Maple worksheet conjugate_gradient.mws, also as PDF)
June 3 Sheet5, Solution
June 4 CG and Preconditioning (cont.) June 10 Sheet6, Solution, Code_Ex5, Code_Ex6, Solution_Ex5, Solution_Ex6
June 11 Molecular Dynamics (Intro)
(Maple worksheet twobody.mws, also as PDF
June 17 Sheet7, Solution, code_exercise7.tar
June 18 Molecular Dynamics, Pt. 1 June 24 Sheet8, Solution, code_exercise8.tar
June 25 Time Integration
Maple worksheet circles_ode.mws, also as PDF)
July 1 Sheet9, Solution, code_exercise9.tar
July 1 short-range potentials and (parallel) implementation July 8 Sheet10, Solution
July 9 long-range potentials, tree algorithms July 15 Sheet11, Solution
July 16 "all questions answered" (on exercises & tutorials) -

Literature

  • William L. Briggs, Van Emden Henson, Steve F. McCormick. A Multigrid Tutorial. Second Edition. SIAM. 2000.
  • Ulrich Trottenberg, Cornelis Oosterlee, Anton Schüller. Multigrid. Elsevier, 2001.
  • J.R. Shewchuk. An Introduction to the Conjugate Gradient Method Without the Agonizing Pain (download as PDF). 1994.
  • M. Griebel, S. Knapek, G. Zumbusch, and A. Caglar. Numerische Simulation in der Molekulardynamik. Springer, 2004.
  • M. P. Allen and D. J. Tildesley. Computer Simulation of Liquids. Oxford University Press, 2003.
  • D. Frenkel and B. Smith. Understanding Molecular Simulation from Algorithms to ASpplications. Academic Press (2nd ed.), 2002.
  • R. J. Sadus. Molecular Simulation of Fluids; Theory, Algorithms and Object-Orientation. Elsevier, 1999.
  • D. Rapaport. The art of molecular dynamics simulation. Camebridge University Press, 1995.

Further Material

Annotated slides for the lecture in summer 2010 /(given by Dr. Tobias Weinzierl) are available from the TeleTeachingTool Lecture Archive

Matlab (together with installation instructions) is available from https://matlab.rbg.tum.de/