Giter VIP home page Giter VIP logo

bilibili-dg-lectures's Introduction

Bilibili-DG-Lectures

Some example programs of DG which will be teached on Bilibili. Most of the 1-D examples are written by Matlab, and the 2-D examples by Fortran. You can refer to my Zhihu column https://www.zhihu.com/column/c_1596955622808715264 for details.

bilibili-dg-lectures's People

Contributors

l1ssandra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

bilibili-dg-lectures's Issues

Total pressure not set generally

In lecture 7 "HLLC_Flux.f90", "PtotR" and "PtotL" variables may be set problem based (only for that example problem).

I guass the Ptot stands for "total pressure" which Ptot=P(from ideal plasma EoS)+0.5*\mathbf{B}^2. In our case, take "PtotR = gamma1*(ER - 0.5d0rhoR(u1R2 + u2R2 + u3R**2))" for example. PtotR=gamma1*(\rho*\epsilon+0.5*\mathbf{B}^2)=P+gamma1 (1/2) \mathbf{B}^2≠Ptot.

However, in shock tube test (our example), gamma=2.0 and gamma1=1.0 just make it works in this case PtotR=Ptot. But it is not general.

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.