Material for tutorial sessions

  • Before you start with the tutorial, please make sure that your Python environment is working (check with the test_dependencies code).
  • If you are a beginner to the Python programming language, see these Introduction to Python files to make yourself familiar with the basics.
  • In order to cater to all levels of programming skills during tutorial sessions, the tutorial exercises are structured as follows:
  • We provide a handbook with your tutorial task that allows you to do the tutorial in your own time. The individual sessions are not labeled, as you can just continue where you stopped in the last sesssion.
  • The handbook is devided into two parts:
    • Handbook_part_1 is a step-by-step guide to finish the basic scheme.
    • Handbook_part_2 provides additional topics, such as acceleration, additional discretizations and solvers, as well as heat conductivity. You can decide which topic interests you most and implement them as you like.
    • For the second handbook, a short cython example may help you on your way.
  • To help you get started we provide a solver template, which includes a Field class that can perform an FFT, a class to read a microstructure and a writer class. Furthermore, we provide several microstructures you can test your code with.
  • To compare solution fields and iteration counts we provide a sample solution. Feel free to check out the code.
Online user: 3 Privacy
Loading...