Kelvin-Helmholtz instability - Discontinuous Galerkin hydrodynamics

  Рет қаралды 78,861

Kevin Schaal

Kevin Schaal

Күн бұрын

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/1...

Пікірлер: 60
@professor.joao.r.andrade
@professor.joao.r.andrade 2 ай бұрын
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 2 жыл бұрын
Fantastic work! Thanks for making the article public!
@gaurav.bhutani
@gaurav.bhutani 9 жыл бұрын
Amazing! Love those fractals. What mesh resolution did you use? It's a structured mesh, right?
@m31coding
@m31coding 8 жыл бұрын
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.
@petterlarsson7257
@petterlarsson7257 10 ай бұрын
oh my god this is literally a fractal
@dwightlumain8645
@dwightlumain8645 7 ай бұрын
That's what i'm thinking!
@StojanBarbaric
@StojanBarbaric 7 ай бұрын
Hell yeah it is, nature is all about fractal behaviour
@sca4723
@sca4723 7 ай бұрын
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 7 ай бұрын
@@sca4723 no. you are incorrect.
@pabilbadoespecial
@pabilbadoespecial 5 ай бұрын
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 :)
@nausetjf1202
@nausetjf1202 Жыл бұрын
Imagine turning this into an awesome wallpaper
@StankyPickle1
@StankyPickle1 5 жыл бұрын
Beautiful work!
@Actual_Genius_Intellectual
@Actual_Genius_Intellectual 7 ай бұрын
This is amazing!
@wjrasmussen666
@wjrasmussen666 Жыл бұрын
This is so amazing!
@asnryu2829
@asnryu2829 6 ай бұрын
what a beautiful work :D
@arpit1993
@arpit1993 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!
@nicolobadodi3423
@nicolobadodi3423 2 жыл бұрын
Just a question, what type of mesh is this? How can a cell have more than one neighbor for each side?
@rishivallem
@rishivallem Жыл бұрын
Looks beautiful. What was the initial pertubation applied on the system?
@gabrielmximo
@gabrielmximo 6 ай бұрын
Congrats! What software did you used?
@hiZarki
@hiZarki 4 жыл бұрын
nice channel! subscribed
@DenisJurin
@DenisJurin 9 жыл бұрын
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 9 жыл бұрын
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!
@Renaissance_Engineer
@Renaissance_Engineer 9 ай бұрын
What software did you use to render this?
@m31coding
@m31coding 9 ай бұрын
Thank you for your question. I created the individual frames with Python (Matplotlib) and combined them with ffmpeg to a video.
@RobotTheIndustrial
@RobotTheIndustrial 8 жыл бұрын
What did you use for the visualization?
@m31coding
@m31coding 8 жыл бұрын
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 2 жыл бұрын
@@m31coding How many seconds(about) does it take to calculate one of these frames in Python?
@karlschuster8853
@karlschuster8853 3 жыл бұрын
Could you give us a comparison about Discontinuous Galerien Method and a Multidomain Decomposition Chebyshev Method?
@m31coding
@m31coding 3 жыл бұрын
Hi Karl, unfortunately I haven't worked on the method you suggested. Best regards!
@mkraposhin
@mkraposhin 6 ай бұрын
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 6 ай бұрын
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 6 ай бұрын
@@m31coding Thank you. Do you have any idea how to decrease it?
@X0LODN0
@X0LODN0 8 ай бұрын
Hi bro I have a question maybe you know how it can be realized in 3d software like blender and etc.
@Warzak77
@Warzak77 2 жыл бұрын
looks like you are simulating jupiter
@AvanaVana
@AvanaVana 4 жыл бұрын
And that’s how Jupiters are made
@xiaoweizhu995
@xiaoweizhu995 6 жыл бұрын
Beautiful!!! This colour, haha, are you from swden?
@ZZXAAV
@ZZXAAV 8 жыл бұрын
Any tips on adaptive mesh refinement? I need to implement an adaptive mesh code and any references would be greatly appreciated.
@m31coding
@m31coding 8 жыл бұрын
Hi! The code paper of the RAMSES code is a great reference: arxiv.org/abs/astro-ph/0111367 best, Kevin
@JezzaParker
@JezzaParker 6 жыл бұрын
What is the Reynolds number here?
@JulienPotier
@JulienPotier 3 жыл бұрын
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 3 жыл бұрын
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!
@readmypfp
@readmypfp 9 ай бұрын
or it could be black holes growing
@arthsojitra53
@arthsojitra53 2 жыл бұрын
Hey Kevin ! Great Visualization ! Did you use any numerical library/software!!
@m31coding
@m31coding 2 жыл бұрын
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 2 жыл бұрын
@@m31coding Thanks for the info !
@tnapeepeelu
@tnapeepeelu 2 жыл бұрын
video starts *Ukrainian anthem starts playing but is soon cut off*
@tarantula-k6o
@tarantula-k6o Жыл бұрын
BOKEEE
@readmypfp
@readmypfp 9 ай бұрын
this is a tsunami thrower that works using a tsunami
@gjoe3756
@gjoe3756 2 жыл бұрын
It looks like fractals
@АлександрСикфестов
@АлександрСикфестов 2 жыл бұрын
галеркин! 😃
@yaoooy
@yaoooy 6 жыл бұрын
fractals
@triocute09
@triocute09 7 ай бұрын
Wtf art
@dimitrisgkofas7787
@dimitrisgkofas7787 2 жыл бұрын
extrim
@user-qw9yf6zs9t
@user-qw9yf6zs9t 2 жыл бұрын
ukraine
@not_estains
@not_estains 2 жыл бұрын
heehee ukraine flag
@Serghey_83
@Serghey_83 9 ай бұрын
Меандр
More Kelvin-Helmholtz (The Experiment) - Sixty Symbols
5:32
Sixty Symbols
Рет қаралды 104 М.
Kelvin-Helmholtz Instability - Sixty Symbols
4:32
Sixty Symbols
Рет қаралды 174 М.
He bought this so I can drive too🥹😭 #tiktok #elsarca
00:22
Elsa Arca
Рет қаралды 59 МЛН
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 47 МЛН
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 21 МЛН
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 36 МЛН
Rayleigh-Benard Convection (two-dimensional and very turbulent)
3:27
turbulenceteam
Рет қаралды 59 М.
Supersonic (Mach 3) flow around cylinder
2:01
Matthias Maier
Рет қаралды 56 М.
Fluid dynamics feels natural once you start with quantum mechanics
33:00
braintruffle
Рет қаралды 2,2 МЛН
GAME OVER!? - A.I. Designs New ELECTRIC Motor
6:03
Tech Planet
Рет қаралды 1 МЛН
Why 5/3 is a fundamental constant for turbulence
11:28
3Blue1Brown
Рет қаралды 707 М.
4K Lattice Boltzmann Method fluid simulations
1:56
Softology
Рет қаралды 35 М.
Kelvin-Helmholtz instability
1:21
Kevin Schaal
Рет қаралды 24 М.
VIDEO: Explaining Kelvin-Helmholtz Waves
1:18
WSLS 10
Рет қаралды 24 М.
He bought this so I can drive too🥹😭 #tiktok #elsarca
00:22
Elsa Arca
Рет қаралды 59 МЛН