Skip to main content

MJ2424 Computational Methods in Energy Technology 6.0 credits

Course offerings are missing for current or upcoming semesters.
Headings with content from the Course syllabus MJ2424 (Spring 2022–) are denoted with an asterisk ( )

Content and learning outcomes

Course contents

The following topics on computational methods for heat conduction and fluid flow are covered in the course:

1. How computers store numbers (single and double precision)
2. Numerical differentiation (central and forward differencing)
3. Errors in numerical methods (truncation, round-off, etc)
4. Heat conduction in solids: governing equations
5. Divergence Theorem
6. Compressible inviscid flow equations: conservation of mass, momentum and energy.
7. Finite difference method for steady 1D and 2D for heat conduction
8. Euler method for solving unsteady heat conduction equations (explicit time marching)
9. Higher order time-stepping (Predictor-Corrector Scheme and Runge-Kutta method
10. Stability limits for explicit time-marching
11. Crank-Nicolson Method (implicit time-marching)
12. Meshing
13. Advection equation and upwind schemes
14. Lax-Wendroff scheme
15. Introduction to solving inviscid flow equations
16. Introduction to Navier-stokes equations and turbulence

Intended learning outcomes

After completing the course with a passing grade the student should be able to:

  1. Describe numerical methods for treating partial differential equations, derive specific expressions for programming, and analyze sources of error
  2. Define governing equations for relevant physical processes and construct representative numerical simulations
  3. Conductnumerical simulations withcommercial computational fluid dynamics software and analyze results in terms of validity and accuracy, including comparisons to real processes

Course disposition

No information inserted

Literature and preparations

Specific prerequisites

Bachelor of Science or corresponding + MJ1401 "Heat transfer" 6cr or corresponding + SG1220 "Fluid Mechanics" 6cr, or corresponding

Recommended prerequisites

No information inserted


No information inserted


Information on relevant literature distributed at start of course.

Examination and completion

If the course is discontinued, students may request to be examined during the following two academic years.

Grading scale

A, B, C, D, E, FX, F


  • INL1 - Home assignment, 0.5 credits, grading scale: P, F
  • INLB - Home assignment, 0.5 credits, grading scale: P, F
  • LAB2 - Computer laboration, 2.0 credits, grading scale: P, F
  • TEN1 - Written exam, 3.0 credits, grading scale: A, B, C, D, E, FX, F

Based on recommendation from KTH’s coordinator for disabilities, the examiner will decide how to adapt an examination for students with documented disability.

The examiner may apply another examination format when re-examining individual students.

Opportunity to complete the requirements via supplementary examination

No information inserted

Opportunity to raise an approved grade via renewed examination

No information inserted


Ethical approach

  • All members of a group are responsible for the group's work.
  • In any assessment, every student shall honestly disclose any help received and sources used.
  • In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.

Further information

Course web

Further information about the course can be found on the Course web at the link below. Information on the Course web will later be moved to this site.

Course web MJ2424

Offered by

Main field of study

Mechanical Engineering

Education cycle

Second cycle

Add-on studies

No information inserted

Supplementary information

If few students sign up for the course, it will be given in reduced form, mainly as selfstudies with supporting help.