Giter VIP home page Giter VIP logo

parallel_time_integration_algorithm's Introduction

Parallel Time Integration

These are implementations for the compact course "Introduction to parallel-in-time and other new time-stepping methods" at TUM. These implementations may be incomplete or false.

Dependencies

You need python3 and some libraries to run it. Anaconda should also work. To install the libraries run

pip3 install numpy
pip3 install scipy
pip3 install matplotlib

Implicit Runge-Kutta Time Integration

The implementation in RungeKutta.py is an implicit implementation where the Butcher table is created by Gauss-Lobatto. To then calculate the Lagrange polynomials, symbolic library "sympy" is used.

The relation between order and stages, using Gauss-Lobatto, is s = o+2 /2, where s is the stages and o the order.

The remaining error using Runge-Kutta is dependent on the order and of quadratic form. In log log space, the quadratic form is linear. For example, a second order remaining term has a slope of 2. A plot of different order can be seen below.

Runge-Kutta error

Parareal

Parareal is an algorithm for parallelizing time integration. Two grids are used, a coarse one and a finer one, with two different integration schemes. In my implementations I use the Runge-Kutta with different orders. More information about parareal can be found here and here.

With higher iterations, K, the error gets reduced.

Parareal error

parallel_time_integration_algorithm's People

Contributors

benjione avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.