Skip to content

This repository contains the operators which form an integral part of the Discontinuous Galerkin methods. The focus is to make it usable for fluid dynamics. The current code is able to solve the Shallow Water Hyperbolic set of equations in a two-dimensional space.

License

Notifications You must be signed in to change notification settings

pinkie-ljz/Discontinuous-Galerkin-methods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discontinuous Galerkin

Introduction

This repository contains the operators which form an integral part of the Discontinuous Galerkin methods. The focus is to make it usable for fluid dynamics. The current code is able to solve the Shallow Water Hyperbolic set of equations in a two-dimensional space.

The result of the above code for a Gaussian Initial Input, after visualizing in ParaView are as follows:

Solution using N = 4

(Click on the above image to view the video)

Advantages of the Solver

  • Uses BLAS and LAPACK librarires . The problem had been broken down into various Linear Algebra problems like Matrix-Vector, Matrix-Matrix Multiplication and Gaussian Elimination. To mimimise the computational run-time, linear algebra sub-routines from BLAS and LAPACK were used.
  • Object Oriented . The code was created so that it could be easily modififed for further development.
  • Ability to handle dicontinuous Inital Conditions. The following simulation of Dam Break will illustrate it:

Solution using N = 4

(Click on the above image to view the video)

  • The solver has been verified for simple advection problem.. The following image decribes it. A discontinuous inital condition had been used. Solution using N = 4

License

You can find all the details over here LICENSE.

Contact

If you have any questions about the usage or contribution, feel free to drop a mail at [email protected] or [email protected].

About

This repository contains the operators which form an integral part of the Discontinuous Galerkin methods. The focus is to make it usable for fluid dynamics. The current code is able to solve the Shallow Water Hyperbolic set of equations in a two-dimensional space.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published