Kelvin-Helmholtz instability - Discontinuous Galerkin hydrodynamics

Sdílet
Vložit
  • čas přidán 17. 06. 2015
  • 2D Simulation of a Kelvin-Helmholtz instability with 4th order discontinuous Galerkin (DG) and adaptive mesh refinement. The simulation starts with 64^2 cells and is refined down to an effective resolution of 4096^2 cells. Shown is the surface density of the fluid. DG offers several advantages over traditional finite volume (FV) methods.It directly solves also for the higher-order moments of the solution, no reconstruction is needed, resulting in an inherent conservation of angular momentum and less advection and diffusion errors compared to a FV method. Furthermore, DG is a higher-order method with a small stencil and many local computations, which renders it highly suitable for high performance computing on massively parallel systems.
    You may find the corresponding publication on arXiv: arxiv.org/abs/1506.06140
  • Věda a technologie

Komentáře • 59

  • @joao.rodrigo.andrade
    @joao.rodrigo.andrade Před 7 dny

    Thank you very much for sharing this stunning visualization! I will use this video to explain turbulence scales to my students. Your work is greatly appreciated

  • @michaelpieters1844
    @michaelpieters1844 Před 2 lety +8

    Fantastic work! Thanks for making the article public!

  • @StankyPickle1
    @StankyPickle1 Před 5 lety +2

    Beautiful work!

  • @gaurav.bhutani
    @gaurav.bhutani Před 9 lety +41

    Amazing! Love those fractals. What mesh resolution did you use? It's a structured mesh, right?

    • @m31coding
      @m31coding  Před 8 lety +33

      Hi Gaurav! It's a structured adaptive mesh with an initial resolution of 64^2 cells. During the simulation the mesh is refined where the hydrodynamic gradients are large, resulting in an effective resolution of 4096^2.

  • @wjrasmussen666
    @wjrasmussen666 Před rokem +1

    This is so amazing!

  • @petterlarsson7257
    @petterlarsson7257 Před 8 měsíci +25

    oh my god this is literally a fractal

    • @dwightlumain8645
      @dwightlumain8645 Před 5 měsíci +1

      That's what i'm thinking!

    • @StojanBarbaric
      @StojanBarbaric Před 5 měsíci +1

      Hell yeah it is, nature is all about fractal behaviour

    • @sca4723
      @sca4723 Před 5 měsíci

      Not as that, fractal are between dimentions not in the linear, or in the plane nor the 3d space, something between them, thats because the sum and división fot their sides and nodes aren't integers

    • @petterlarsson7257
      @petterlarsson7257 Před 5 měsíci +2

      @@sca4723 no. you are incorrect.

    • @pabilbadoespecial
      @pabilbadoespecial Před 3 měsíci +1

      Yes, this is a feature of turbulence. It's called the Kolmogorov cascade where you will develop a power-law spectrum of modes.
      This is a lot of talking but it basically means that if you zoom in the image it should look vaguely the same, i.e. fractal :)

  • @Actual_Genius_Intellectual
    @Actual_Genius_Intellectual Před 5 měsíci +1

    This is amazing!

  • @asnryu2829
    @asnryu2829 Před 4 měsíci

    what a beautiful work :D

  • @nausetjf1202
    @nausetjf1202 Před rokem +1

    Imagine turning this into an awesome wallpaper

  • @arpit1993
    @arpit1993 Před 6 lety +6

    Hey Kevin,
    Great work! I had struggled with KH myself for a while. :)
    How did you visualize this? The visualization is as awesome as the calculations themselves!

  • @hiZarki
    @hiZarki Před 4 lety +1

    nice channel! subscribed

  • @DenisJurin
    @DenisJurin Před 9 lety +2

    Great visualization! so detailed! Is it better compared to 2D AREPO simulation with similar resolution? and how much memory do you store per one AMR cell?

    • @m31coding
      @m31coding  Před 9 lety +1

      Hey Denis, good to hear from you! I haven't done comparisons with the moving mesh code, but it will depend on the problem at hand. In 2D the number of base functions is 1/2*p*(p+1), where p is the order of the scheme. Hence for fourth order DG there are 10 weights stored per conserved variable in every cell. The paper will be online on Tuesday :) See you soon hopefully!

  • @rishivallem
    @rishivallem Před rokem +1

    Looks beautiful. What was the initial pertubation applied on the system?

  • @xiaoweizhu995
    @xiaoweizhu995 Před 6 lety +1

    Beautiful!!! This colour, haha, are you from swden?

  • @nicolobadodi3423
    @nicolobadodi3423 Před 2 lety +1

    Just a question, what type of mesh is this? How can a cell have more than one neighbor for each side?

  • @ZZXAAV
    @ZZXAAV Před 8 lety +1

    Any tips on adaptive mesh refinement? I need to implement an adaptive mesh code and any references would be greatly appreciated.

    • @m31coding
      @m31coding  Před 7 lety +2

      Hi! The code paper of the RAMSES code is a great reference: arxiv.org/abs/astro-ph/0111367
      best,
      Kevin

  • @gabrielmximo
    @gabrielmximo Před 4 měsíci

    Congrats! What software did you used?

  • @JezzaParker
    @JezzaParker Před 6 lety

    What is the Reynolds number here?

  • @karlschuster8853
    @karlschuster8853 Před 3 lety +1

    Could you give us a comparison about Discontinuous Galerien Method and a Multidomain Decomposition Chebyshev Method?

    • @m31coding
      @m31coding  Před 3 lety +2

      Hi Karl, unfortunately I haven't worked on the method you suggested. Best regards!

  • @JulienPotier
    @JulienPotier Před 3 lety

    Hi, I am interested in using this simulation if you allow me and with due credits of course in a fulldome planetarium movie about chaos. Do you have a 4096x4096 video of it?

    • @m31coding
      @m31coding  Před 3 lety

      Hi Julien, thank you for your request! Unfortunately I only have a 1920x1080 version, feel free to use it. A fulldome movie about chaos sounds great, have fun! Best regards!

  • @AvanaVana
    @AvanaVana Před 4 lety +2

    And that’s how Jupiters are made

  • @RobotTheIndustrial
    @RobotTheIndustrial Před 8 lety +4

    What did you use for the visualization?

    • @m31coding
      @m31coding  Před 8 lety +13

      Hi, thank you for your question. The answer is I wrote my own Python scripts using numpy and matplotlib. After creating the single frames I combined them to a movie with avconv.

    • @kerch00
      @kerch00 Před 2 lety +2

      @@m31coding How many seconds(about) does it take to calculate one of these frames in Python?

  • @X0LODN0
    @X0LODN0 Před 6 měsíci

    Hi bro I have a question maybe you know how it can be realized in 3d software like blender and etc.

  • @Warzak77
    @Warzak77 Před 2 lety +2

    looks like you are simulating jupiter

  • @Renaissance_Engineer
    @Renaissance_Engineer Před 7 měsíci +1

    What software did you use to render this?

    • @m31coding
      @m31coding  Před 7 měsíci +1

      Thank you for your question. I created the individual frames with Python (Matplotlib) and combined them with ffmpeg to a video.

  • @mkraposhin
    @mkraposhin Před 4 měsíci

    Just curious. Why does initially sharp interface become smooth? Do you approximate equations with viscosity or this is due to the numerical viscosity?

    • @m31coding
      @m31coding  Před 4 měsíci +1

      Thank you for your question! Yes, I believe this can be attributed to numerical viscosity. The Euler equations, which the code solves, do not account for viscosity.

    • @mkraposhin
      @mkraposhin Před 4 měsíci

      @@m31coding Thank you. Do you have any idea how to decrease it?

  • @user-vh3mq6cb4s
    @user-vh3mq6cb4s Před rokem +2

    BOKEEE

  • @arthsojitra53
    @arthsojitra53 Před rokem

    Hey Kevin ! Great Visualization ! Did you use any numerical library/software!!

    • @m31coding
      @m31coding  Před rokem +1

      Hi, thanks for your comment! I implemented DG into the Arepo Code from scratch. In the meantime, Arepo is publicly available, you may check it out. Best regards!

    • @arthsojitra53
      @arthsojitra53 Před rokem

      @@m31coding Thanks for the info !

  • @user-kx8ov2lr7p
    @user-kx8ov2lr7p Před rokem

    галеркин! 😃

  • @readmypfp
    @readmypfp Před 7 měsíci

    this is a tsunami thrower that works using a tsunami

  • @yaoooy
    @yaoooy Před 5 lety

    fractals

  • @readmypfp
    @readmypfp Před 7 měsíci

    or it could be black holes growing

  • @tnapeepeelu
    @tnapeepeelu Před 2 lety +2

    video starts *Ukrainian anthem starts playing but is soon cut off*

  • @gjoe3756
    @gjoe3756 Před 2 lety

    It looks like fractals

  • @dimitrisgkofas7787
    @dimitrisgkofas7787 Před 2 lety

    extrim

  • @triocute09
    @triocute09 Před 4 měsíci

    Wtf art

  • @Halleluyah83
    @Halleluyah83 Před 7 měsíci

    Меандр

  • @user-qw9yf6zs9t
    @user-qw9yf6zs9t Před 2 lety +3

    ukraine

  • @not_estains
    @not_estains Před 2 lety +3

    heehee ukraine flag