But How DO Fluid Simulations Work?

Поділитися
Вставка
  • Опубліковано 31 гру 2024

КОМЕНТАРІ • 449

  • @cpkreuuuuu
    @cpkreuuuuu 3 роки тому +1973

    I like your funny words magic man

  • @josstam2217
    @josstam2217 3 роки тому +644

    Nice video. Reminds me of my talks in the early 2000s. I also wrote a book about this. The Art of Fluid Animation. We also implemented this into the Maya software and has been used in blockbuster movies. We got a tech Academy Award for this in 2008.

  • @David-zy1lr
    @David-zy1lr 3 роки тому +506

    When I finished the video I expected it to have at least 100k views with how well made this is. You deserve many, many subs

  • @thygrrr
    @thygrrr 4 роки тому +192

    Hey, I found this video via a Reddit post. This is really well-made, thank you!

    • @evank7858
      @evank7858 3 роки тому +2

      What sub?

    • @mastershooter64
      @mastershooter64 3 роки тому +8

      @Caleb Landry Wow you used a bot account to market some scam and reply to it using another bot account to make it seem reputable?? that's disgusting

    • @Monkeymario.
      @Monkeymario. 5 місяців тому +1

      Gonkee used to be SOOOO much better.

  • @user-nj1qc7uc9c
    @user-nj1qc7uc9c 3 роки тому +13

    Under a minute in and ive never been this excited to watch a video by someone ive never heard of before

    • @easyidle123
      @easyidle123 3 роки тому +1

      The craziest thing: this seems to be this guy's first video from what I can find

  • @makra2077
    @makra2077 4 роки тому +127

    Man, I'm a Unity dev and UA-camr. I came here from reddit, when I saw the video I thought you had somewhat around 100k subs bro. Keep griding you'll easily reach there :) Good Luck!

    • @AkariInsko
      @AkariInsko 3 роки тому +1

      Gdrinding*

    • @makra2077
      @makra2077 3 роки тому +2

      @@AkariInsko *grainding

    • @lebaguette5393
      @lebaguette5393 3 роки тому

      @@makra2077 *grdinaining

    • @user-cw3nb8rc9e
      @user-cw3nb8rc9e 2 роки тому +1

      Are "subs" so important to you? Who cares how many subs. The world is not only about money. Good is minority, stupidity is majority.

    • @makra2077
      @makra2077 Рік тому

      @@user-cw3nb8rc9e 110k now hehe

  • @duret-robertlouis2973
    @duret-robertlouis2973 4 роки тому +114

    Your video is really well made ! The animations, the pace, the narration, the music, everything looks like a professionnal channel with many thousands of followers. Keep up the great work ! I can't wait to see more videos from you

  • @peksn
    @peksn 3 роки тому +18

    Wow! Awesome video, I always hated how science videos never went deep into how equations actually worked and how to implement/use them, but you did both! Thank you! Awesome video, subscribed and I hope to receive new notifications from you :)

  • @CandianWorkbench
    @CandianWorkbench 3 роки тому +8

    This channel is gonna blow past 1M subs if videos like these keep getting posted

  • @quantumgaming9180
    @quantumgaming9180 3 роки тому +187

    Too bad I found about this video after I did the same thing. It took me over a year to understand the theory and algorithms behind Stam's papers, but you explained it in 15 minutes! Great video anyway!

    • @Gonkee
      @Gonkee  3 роки тому +47

      If it took you a year, I'm sure you won't forget it anytime soon! :)

    • @pinkyrng7104
      @pinkyrng7104 3 роки тому +6

      @@Gonkee I still have no clue how to program that. Have to watch the video 5 more times :D

    • @cory99998
      @cory99998 3 роки тому +6

      @@pinkyrng7104 just start one step at a time, try and get the basic system working so that you only need to learn one new concept at a time to eventually get it all working

    • @Polygarden
      @Polygarden 3 роки тому +3

      Same for me. But it's not an easy subject though and contains many different algorithms and approaches. I also skipped the lerp part, because on the GPU you are able interpolate between pixels by default, with the filtering step.
      Overall very detailed and well made video! It helps a lot of curious people.

    • @nullbeyondo
      @nullbeyondo 2 роки тому

      ​@@pinkyrng7104 You're making it sounds complicated more than it is. You just look at the N solver equation and implement an N loop for it. I did it in 1 time watching the video and just rewinding it to where the equations are.

  • @donovanholm
    @donovanholm 3 роки тому +6

    This is extremely high quality, well made and really drives my interest in modeling and simulations. Thank you

  • @rishichudasama3435
    @rishichudasama3435 3 роки тому +13

    I can’t believe people can actually understand this stuff. Great job man, this is amazing stuff. I just subscribed

    • @jaredjones6570
      @jaredjones6570 3 роки тому +1

      It wasn't that hard to follow. The hardest part was actually the lerp for density redistributions. The rest was purely vector calculus and was nothing new.

  • @rigtio8887
    @rigtio8887 3 роки тому +37

    UA-cam just recommended this video to me. Hope you get picked up by the algorithm!

  • @hassanahmadsheikh5130
    @hassanahmadsheikh5130 2 роки тому

    if not the best than one of the best ever youtube explanaion here of CFD.... Did't knew it was so easy to understand the CFD.... Appriciated mate

  • @dsi-films1264
    @dsi-films1264 3 роки тому +5

    This channel is amazing! The quality of production this video has is incredible, keep up the great work!

  • @melody3741
    @melody3741 3 роки тому +8

    Finally, I’ve been looking all over for information on health physics simulations in general work but literally every single one just tells you to get a library and doesn’t actually go over the math. Thank you for making this video

    • @parthsavyasachi9348
      @parthsavyasachi9348 3 роки тому +2

      This video doesnt even come close to what really happens.
      Btw the book that has complete navier stokes solver as used in industry is by milovan peric. Google cfd and peric.

  • @glace848
    @glace848 Рік тому

    thanks for this video man. with the help of this video, jos stams paper, a paper by nvidea and weeks of my life spent understanding everything i was able to implement jos stams fluid simulation, while understanding all the processes involved in it. your visualizations we're really valuable in the way they helped me visually grasp everything.

  • @aditya_a
    @aditya_a Рік тому +1

    Cool video! (U got that Jos Stam reply, epicccc.)

  • @raletran
    @raletran Рік тому +7

    Careful viewers! I might be wrong, but the equations shown for diffusion in the video are incorrect. If you look at the paper by Jos Stam, the simple, unstable equation for the next density is dn = dc + k(sc-4dc) (where sc means the sum of the densities in surrounding cells), which is not the same as the equation shown in the video, dn = dc + k(sc-vc), where sc is the average of densities in the surrounding cells. I saw that when implementing the method seen in the video, density was lost after diffusion even though it should just spread out.

  • @rohanasokan7338
    @rohanasokan7338 3 роки тому +4

    Honestly, the best content. I dont understand why youtube didn't put this high up on the search results when I was searching for something similar a week back - all I got was shitty lectures and some other crap. Keep going @Inspecto.

  • @sujals7108
    @sujals7108 3 роки тому +73

    woah I just realised how less subs and views this guy has. This video deserves way more views with such good animation and narration.

  • @NozaOz
    @NozaOz 3 роки тому +49

    Hey, I recently changed from engineering at Uni to computer science/math, I’ve been feeling a little Gino because I miss physics concepts and understanding things, but this video reminded me that with math and computer science I can recreate all the sciences that lie between using mathematical models and programming skills. Thanks :)

    • @artoshia
      @artoshia 3 роки тому +7

      if you ever touch bits of game dev, its full of math/physics (a lot more than people realize), would totally recommend trying it out, the math is very interesting and visual.

    • @BlastinRope
      @BlastinRope 3 роки тому +1

      As a fellow cs student, a degree in cs is just tools that need to be applied to some other field, and physics is a fun and interactive one to program

  • @niekvandam9427
    @niekvandam9427 3 роки тому +3

    Great editing and informative video, you deserve a lot more acknowledgement for the quality you put out!

  • @1982pwr
    @1982pwr 3 роки тому +7

    Great job with all the videos. The level is very good and the explanations are great. Most of all the topic/topics are a good niche - they're not some sort of basic tutorial, but they're not at an advanced academic level either discussing the details of the respective topics they cover. They're very much the type of stuff I'd love to see if I just want to get an actual technical introduction to something I've never thought about before.

  • @evanlane1690
    @evanlane1690 Рік тому

    Duuude! 11:59 is something I've been trying to wrap my head around for ages. Thanks!

  • @timothygao9442
    @timothygao9442 Рік тому +3

    Slight correction on the diffusion step, the equation according to original paper is x0[IX(i,j)] = x[IX(i,j)] - a*(x[IX(i-1,j)]+x[IX(i+1,j)]+x[IX(i,j-1)]+x[IX(i,j+1)] -4*x[IX(i,j)]), which would be d_n = d_c + k (s_c - 4 * d_c).
    Without doing 4 * d_c, the amount donated to the 4 surrounding cells would only be subtracted once from the original, resulting in a net increase in density/velocity from nowhere and breaking conservation of mass.
    Additionally, I believe the equation d_n = d_c + k (s_c - 4 * d_c) explains why its necessary to diffuse density reverse in time, because it blows up under certain scenarios, resulting in negative values. An example is if you have a really high value cell (say 100) surrounded by really small value cells (say 1). Let K=1. On the next iteration, the high value cell will have -396. While having negative velocity possible, having "negative density" is not and will cause the simulation to blow up.

    • @srbbt
      @srbbt 6 місяців тому +1

      Where do I find the original paper? The link in the description is not working.

    • @timothygao9442
      @timothygao9442 6 місяців тому

      @@srbbt graphics.cs.cmu.edu/nsp/course/15-464/Fall09/papers/StamFluidforGames.pdf

    • @gamerpotato6667
      @gamerpotato6667 4 місяці тому

      @@srbbt just google the paper title: Jos Stam - Real Time Fluid Dynamics for Games (2003)

  • @sebastiangudino9377
    @sebastiangudino9377 3 роки тому +1

    You are the 3B1B of computers. You are going to get reeealy big eventualy. And i will love to say that i was here while you only had 4 videos and not even 10k subs.
    Thanks for the absolutely top notch content

  • @leonstansfield
    @leonstansfield 3 роки тому +1

    video got reccomended to me! it was really good. I hope you hit algorithm gold with this one.

  • @NotTofuFood
    @NotTofuFood 4 роки тому +7

    Wow! Can not believe you have this little subs. Fantastic video and you have inspired me to give fluid simulation a try.

  • @hakamabedmohammed6497
    @hakamabedmohammed6497 2 роки тому

    Very happy to find a kind of beautiful genuine, well understand concept channel.

  • @vuubi1
    @vuubi1 3 роки тому +1

    Algorithm brought me here and you got me super interested in Fluid Simulations, extremely well-made video and I'm also leaving this comment to help the algorithm pick up your video for engagement!

  • @Steveplays28
    @Steveplays28 3 роки тому +3

    Very nice video! I randomly came across your channel via my recommended lol
    I like the pacing and the animations a lot. Keep going!

  • @mr_rowboto
    @mr_rowboto 3 роки тому +1

    Excellent presentation dude. Insta-subscribed. A couple of weeks ago I simulated a boat by voxelizing it and using buoyancy and drag laws, then I wanted to simulate a fluid next... and found your channel. This is pure gold.

  • @jonohiggs
    @jonohiggs 4 роки тому +14

    Probably the best explanation I have seen on the topic. Please can you do another one on the advanced topics

  • @mikeohc
    @mikeohc 3 роки тому +5

    Came across your video from YT algorithm. It's really well-made! Subbed

  • @minetech4898
    @minetech4898 3 роки тому +1

    This is an amazing video with great information which I will promptly use in about 20 years.

  • @edk.2045
    @edk.2045 23 дні тому

    I've read this paper myself and tried to implement it but it all flew over my head-- the elaboration on the Gauss-Seidel approximation and the vector field calculations helped a lot

  • @rdasher7747
    @rdasher7747 3 роки тому +3

    This is such a great video, I probably won't be making fluid simulations, but I really enjoyed that

  • @RealLifeTop10s
    @RealLifeTop10s 3 місяці тому

    Thank you so much for your efforts in making this amazing video!
    Really enjoyed it!

  • @_notch
    @_notch 3 роки тому +1

    Great video! The part about subtracting the divergence was especially fascinating.
    Having never implemented any actual fluid dynamics, I sort of assumed you'd rely on the density to pull and push to even it out, close your eyes, and hope you don't have any rounding errors.

  • @joepike1972
    @joepike1972 3 роки тому +4

    7:35 I found when I restricted myself to the four square of sharing sides in the diffusion I would get horizontal and vertical line artifacts, especially at k = 1 from the original equation. Including the four corners at a 1/sqrt(2) ratio prevented those artifacts.

    • @TheRainHarvester
      @TheRainHarvester 2 роки тому

      Yeah i was wondering about that. I got those lines in some of my pps experiments before I debugged.

  • @nighteule
    @nighteule 3 роки тому +1

    I just found this channel today. Quite underrated :)

  • @gregor-alic
    @gregor-alic 3 роки тому +2

    I read the same paper before I watched this video and I must say this video is amazing

  • @maddieLund
    @maddieLund 3 роки тому

    This kind of stuff if the stuff I want to make more of but don't know how. You just earned a sub :) keep up the good work and make more!! Things like this are hard to learn on your own but things like this make it possible. Thanks.

  • @kjeldje12345678910
    @kjeldje12345678910 3 роки тому +1

    Assuming that the divergence is 0 is indeed valid in most cases. This is based on the assumption that the fluid is incompressible. However with compressible flows one should use the continuity equation which allows you to solve it. But great video!

  • @ZeroPlayerGame
    @ZeroPlayerGame 3 роки тому +1

    Really nice video, despite having read several papers about fluidsim recently, I still feel like I walked away with a clearer understanding of the fundamental implementation details.

  • @anthonywelsh1496
    @anthonywelsh1496 2 роки тому

    I'm a CS student and I have a critical paper review to write on Stam's Real Time Fluid Dynamics for Games paper, your video really explained fluid simulations well! Also realised I'm already subbed to your channel from your sound synthesis video I used to understand the concept for a personal project implementing a sound synth in C++ from last year. Cheers!

  • @Oscar-vs5yw
    @Oscar-vs5yw 2 роки тому

    Your explanations for these very complex are amazing

  • @aleksanderbaszkiewicz536
    @aleksanderbaszkiewicz536 3 роки тому +3

    I like how you explained such complicated thing in quite simple words. The video is very well made. Keep it up.

  • @snowcrashshaftoe
    @snowcrashshaftoe 3 роки тому

    this channel deserve a lot more subs!!

  • @super_sayf
    @super_sayf 3 роки тому +1

    I thought you had 800k subs until I looked at the comments. This is next level, well done

  • @axelBr1
    @axelBr1 2 роки тому +1

    Fantastic video. As a Chemical Engineer I've seen lots of references to CFD studies, and always wanted to implement my own CFD and Finite Element (for heat transfer problems) solver.
    One thing that is freaking me out is the casual treatment of density, i.e. just using a few equations to move density around. It feels wrong as density is the result of temperature and mass of material within a certain volume. I guess k is dependent on all those properties, but converting those properties to a number seems a bit magical / "ignore the man behind the curtain" type of thing. But then again I suck at maths, as I said an engineer not a scientist.
    The advice to calculate dn with a hyperbolic function will be really helpful for me in my mathematical journey. Thanks!

  • @HubsterPL
    @HubsterPL 4 роки тому +1

    You are amazing, I don't remember ever clikcing the bell button, but today I did.

  • @kerch00
    @kerch00 2 роки тому

    You explain Jos Stam's code and theory extremely well

  • @nk361
    @nk361 3 роки тому +4

    Please do a whole lot of videos on fluid (and other) simulations. It seems many places love to show them in math, but not in code or explained in a way that can be done in code. (without excessive math skills) I'd love to see one on the 2D FFT ocean simulation. I've been wanting to learn how to do this one for ages on the GPU but it seems like there are very scarce public resources for it and many leave out key parts or assume you're incredible with math. Thanks! you've got a new subscriber :)

    • @JokerTheDank
      @JokerTheDank 3 роки тому +1

      The reason it is shown in a math heavy fashion is because it is as math dependent as it gets. Even if you're using an off the shelf CFD solver, you must know the math behind to judge if the simulation you have just run makes physical sense, since the computer will always spit an answer no matter if it physically has any meaning

    • @nk361
      @nk361 3 роки тому

      @@JokerTheDank If they could express them in a code type of way, rather than a math type of way, it would probably be far easier to check that you're getting correct results since it's more about logical steps than crazy symbols and memorized random rules/formulas.

    • @JokerTheDank
      @JokerTheDank 3 роки тому

      @@nk361 you haven't understood. Math is the reason you get certain results.
      You have a set PDEs, in a Continuum which are the real description of the fluid.
      You then have to feed them to a computer, but a computer cannot deal with continuums as they are by definition an infinite data set. So what do you do? You discretise the continuum PDEs in many many tiny ODEs. But what has happened then? You mathematically approximated a mathematically correct description with a mathematically incorrect description introducing a mathematical discretization error.
      So now exactly tell me where would the code tell you anything about the errors you're making in this approximation. Everything is mathematical

    • @JokerTheDank
      @JokerTheDank 3 роки тому +1

      @@nk361 and please, do not think of CFD as "crazy symbols and random rules"

    • @nk361
      @nk361 3 роки тому

      @@JokerTheDank I wrote a whole comment and then clicked one thing and youtube decided not to hold on to what I wrote. :/ Pretty much the gist is that summation for example turns into a for loop with either a function passed in or a hard coded function per use case. You have to know both how the math itself actually works and how the code actually works for you to write that in code and get the results you want. That's where the difficulty is, most programmers don't know enough math to translate it and most math savvy folks don't know enough programming to translate it. If math was explained in pieces of code in languages that don't rely on prewritten math libraries (like matlab, octave, etc) then I think there would be so many more amazing software projects made by single developers or very small teams. Saying people need to learn math on that level to use it is like saying you should learn assembly on an advanced level in order to write c++. You don't because it's abstracted and made far easier for the public to get the results they need.

  • @plasmarade
    @plasmarade 3 роки тому +7

    You're very underated but ik that you'll grow and I'll gladly say I've been here before 1k

    • @dsi-films1264
      @dsi-films1264 3 роки тому +2

      I just came to revisit this video and yes I’d like to say the same. He has 3k subs now.

    • @AkariInsko
      @AkariInsko 3 роки тому

      I*

  • @rexygama7697
    @rexygama7697 3 роки тому

    This channel is severely underrated

  • @iankelley9302
    @iankelley9302 3 роки тому +2

    Incredible video! Needs more views! I feel like with a few more years of learning math (I'm in Algebra 2) I could program my own fluid sim!

    • @erickuhn1042
      @erickuhn1042 3 роки тому

      Absolutely! I just graduated with a mechanical engineering degree. The knowledge I gained from math and fluid physics made programming my own fluid sim relatively easy.

  • @ishdx9374
    @ishdx9374 3 роки тому

    this is a hidden gem of a channel

  • @bastelfreund
    @bastelfreund 4 роки тому +1

    Awesome stuff, I came from reddit and i really like the quality of your video keep it up.

  • @DragonFoxStudios
    @DragonFoxStudios 3 роки тому +1

    Amazing! Amazing source for research!

  • @monsieur910
    @monsieur910 3 роки тому +1

    great video! Can't wait for the next

  • @bigmistqke
    @bigmistqke 3 роки тому +1

    Great video! That was really insightful

  • @Daverinoe
    @Daverinoe 4 роки тому +10

    So I've just recently started on a computational fluid dynamics journey myself, so I was Stokes-d (sorry) to see your video! I love this video, and am really looking forward to your next ones!
    I often struggle with the disconnect between math on the page, and code on the screen, and learn best by having examples to pick apart. So, will you be planning to have some comprehension implementation / code videos?

  • @aesthetikun3704
    @aesthetikun3704 3 роки тому

    I loved on how this video was crafted, and your other videos too, like legit, you somehow exploit most of human senses to really impart a rather complex idea to someone brain in a really engaging way. It would be highly appreciated if you can make a video or any other form of guidance detailing on how this video is produced, like how you do your research, what tools, to do the research, the video editing software or even the content brainstorming management. I'm so sorry if this is too much to ask for but you would really help me or maybe others in communicating our own ideas or any other complex ideas to the layman. Again, your videos are already on the top notch category and you'll definitely reach a bigger audience and prospects in no time!!

  • @shaladddin5687
    @shaladddin5687 3 роки тому

    Keep it going man, your content is really great.
    I believe your channel will grow really well.
    +1 subscriber

  • @guitaek4100
    @guitaek4100 3 роки тому

    This is really easy. Thanks for the good explanation and the paper.

  • @chaosschnitzl7422
    @chaosschnitzl7422 Місяць тому +1

    Thank you for the video, i think it is the most helpfull in existence. One Question, how did you do your visuals/ how did you implement the concept? Unity?

  • @raphprev7312
    @raphprev7312 3 роки тому +4

    As someone who had to rush through a fluid dynamics class and Numerical Analysis class due to covid, this makes an excellent recap on the useful stuff you can make with this knowledge. Thank you very much for this video.

  • @Mr.Nichan
    @Mr.Nichan 3 роки тому +2

    1:10 It seems to me that ∇ ⋅ u = 0 also requires that no compression of expansion is happening, not just conservation of mass. That's important because many fluids, such as gases, actually CAN expand or contract significantly, and all can somewhat. That's confusing to me, though, because the simulation you described allows density to vary, yet still has zero divergence. I guess that's because it models the motion of mass that changes density as diffusion rather than as the motion that it measures "velocity" for, so the "velocity" that doesn't include this "diffusion" of density doesn't have any divergence. I'm still not sure I really understand it though. For one thing, compression and expansion aren't the only ways that density could "diffuse". If the fluid is made of more than one substance, and the different substances have different densities, then diffusion of these different substances between different parts of the fluid would also allow density changes and diffusion of density without any compression or expansion.

  • @J2000Ray
    @J2000Ray 3 роки тому +1

    This is awesome. Thank you for making this.

  • @TheJosephStalin420
    @TheJosephStalin420 3 роки тому

    So that's where the advance mathematics and CFD equations come to play in real life! Also I thought I'd never be seeing those iterative equation solving methods. You've no idea what this video is to an enthusiastic mechanical engineer! Thanks alot!

  • @nnesseth
    @nnesseth 4 роки тому +2

    Great video, looking forward to more.

  • @12321dantheman
    @12321dantheman 2 роки тому +1

    Thanks for this, I was able to make my own using it. I'd looked at other explanations but this was the best, especially for the part about clearing divergence

  • @rickyspanish4792
    @rickyspanish4792 4 роки тому +2

    quality content! good job, very helpful

  • @lizardbeeboy
    @lizardbeeboy 3 роки тому

    I don't know why youtube has been recommending me some really interesting videos lately but I like it

  • @trietch
    @trietch 3 роки тому +1

    Thank you for this video, it really helped me :)

  • @prafulsrivastava7684
    @prafulsrivastava7684 2 роки тому

    Exactly what I was looking for! Thanks man!

  • @SergejVolkov17
    @SergejVolkov17 3 роки тому +1

    What's the easiest way to do surface tension in this model? Can I simply modify the diffusion formulation or there's more to it?

  • @ivanperezavellaneda4031
    @ivanperezavellaneda4031 3 роки тому +1

    Jus what I was looking for! thanks

  • @targetmhk269
    @targetmhk269 4 роки тому +1

    This was extremely helpful and well made video.

  • @remmoze
    @remmoze 3 роки тому +1

    Sorry, i don't quite understand what exactly i need to do at Gauss-seidel Method.
    we supply dn(x±1, y±1) function a random value, then solve for dn(xc, yc)
    we solve for entire grid, then do it again some more iterations
    and by doing this we will get a solved grid eventually with correct approximations of values?

  • @nin10dorox
    @nin10dorox 3 роки тому +1

    Thank you, this demystified it a lot!

  • @DGHere12
    @DGHere12 3 роки тому

    this was best explained, I saw many but I was not able to understand the simulation, thx for tutorial

  • @Afraaz
    @Afraaz 3 роки тому +1

    Hella underrated channel

  • @PFnove
    @PFnove 9 місяців тому

    i will need to rewatch this a couple times but it's extremely interesting

  • @齐枫-i4j
    @齐枫-i4j 2 місяці тому

    Thanks for explaining this! I appreciate it.

  • @dima5467
    @dima5467 3 роки тому +3

    Here before this channel blows up.

  • @rayyan21d
    @rayyan21d 2 роки тому

    This work is underrated!

  • @oleks8289
    @oleks8289 3 роки тому +1

    at 6:12, can you please explain how it is linear? If k < 1, then you will never reach the desired density as you are always adding something less than the difference, and each time you are adding less and less. Also at 9:35, how can each square depend on the new value of every other square. That doesn't seem solvable.

  • @abgekippt
    @abgekippt 2 роки тому

    Very good video! Exactly what I was searching for 👍👍👍

  • @boiimcfacto2364
    @boiimcfacto2364 3 роки тому

    Whoa, I expected this to have a million views or more, this video is SO DAMN HELPFUL. The editing is perfect, the content is concise but gives all relevant information, and the statement you made about Navier Stokes being important to fluids but not to the simulation - you've got huge talent man, hope to see this channel grow!

    • @almostthefool
      @almostthefool 3 роки тому

      "Navier Stokes being important to fluids but not to the simulation" -- the problem is, that just isn't true. Numerical simulations of fluid dynamics directly use the Navier-Stokes equations -- just discretized versions of the equations. And we use the NS equations to guide what sort of discretizations to use, and what resolution is required to get an accurate simulation. Sometimes even the top-level code looks like the NS equations (e.g. OpenFOAM open source computational fluid dynamics code)!

    • @boiimcfacto2364
      @boiimcfacto2364 3 роки тому

      ​@@almostthefool "Sometimes even the top-level code looks like the NS equations" Exactly. We directly implement the NS equations *sometimes* and for top level code too. This was a beginner's intro to fluid dynamics, not a phd thesis on it XD
      Every other video out there tells me to directly substitute values in the formula, but not HOW to USE the formulas, so finding a video that actually taught me to create the simulation without sticking to the technicalities like "discretized versions of the equations" was a nice breath of fresh air and highly appreciated.

    • @almostthefool
      @almostthefool 3 роки тому

      @@boiimcfacto2364 I worry about any "beginner's intro to fluid dynamics" which states that the Navier-Stokes equations "are almost useless in telling us what the simulation process actually looks like" (2:19). Because they're NOT "almost useless" -- you build the whole simulation on them! The code consists of discretizing diffusion, discretizing advection, and then finding the pressure field (called "clearing divergence" in the video, but this is the same thing as finding the pressure field -- which is why the letter "p" is used). Which IS just discretizing the Navier-Stokes equation term by term. I agree that it's useful to look at each term individually, and go into the details of how to code each term up, which this video does a good job of explaining. But at the end of the day the whole simulation *is* directly based on the NS equations so saying they're "not useful" is a bit daft.

    • @boiimcfacto2364
      @boiimcfacto2364 3 роки тому

      @@almostthefool Bruh who's saying the equations aren't important to the simulation? The simulation wouldn't EXIST without them. The point the creator was making was that dissecting the equation into its bare terms and trying to understand each part completely (as most new learners do) isn't particularly helpful when it comes to BUILDING the simulation. Using me as an example, the formula on its own doesn't make much sense to me, but the step by step explanation of the programmatic implementation kind of does.

    • @almostthefool
      @almostthefool 3 роки тому

      ​@@boiimcfacto2364"Who's saying the equations aren't important to the simulation?" You, in your original comment: "Navier Stokes being important to fluids but not to the simulation".
      And the creator, when they said NS "are almost useless in telling us what the simulation process actually looks like" at 2:19, and "while you might be able to see *some* links between the Navier-Stokes equations and the procedures which we are implementing, there are some other mathematical concepts which are much more relevant" at 2:27.
      The video does a decent job of explaining the implementation of the advection, diffusion, pressure ("clearing divergence") etc. parts of a fluid simulation code. So why not link those implementations back to the NS equations? Even just saying at the end of e.g. the diffusion section "this represents the second term on the right hand side of the second Navier-Stokes equation we saw earlier" (with the term highlighted on the screen)would work, so that you can see it's not just black magic. And then it would be clear to the viewer that what the video does *is* write a discretization of the Navier-Stokes equations.

  • @strangeWaters
    @strangeWaters 3 роки тому

    ive always been mystified by navier stokes so super looking forward to watching this series

  • @XanderGouws
    @XanderGouws 3 роки тому +1

    Phenomenal. Amazing video.

  • @ceylaneray
    @ceylaneray 3 роки тому

    Great explanation for this topic.. simply intellegence Thank you!

  • @alexrobbins2288
    @alexrobbins2288 3 роки тому

    Attempting to make my own fluid sim right now and this is extremely helpful!

  • @fermiLiquidDrinker
    @fermiLiquidDrinker 3 роки тому +5

    I just got this video in my recommended, and hot damn it's well done! You could probably make something like density functional theory or quantum hydrodynamics understandable to a kindergartner.

  • @maybenat
    @maybenat 4 роки тому +1

    Great explanation, nice job ^^

  • @pixboi
    @pixboi 3 роки тому +1

    Great video, earned yourself another subscriber

  • @MrSeppii
    @MrSeppii 3 роки тому

    Really well made Video and you manage to get to the point of the subject. Can you do something like structural simulation next?