Getting started with OpenLB, lattice Boltzmann simulation code [On Demand 8]

Поделиться
HTML-код
  • Опубликовано: 15 янв 2025

Комментарии • 45

  • @AmiGanguli
    @AmiGanguli 2 года назад

    Thank you so much for these videos. I'm interested in researching more-or-less exactly what you're doing, and the entire TuxRiders series has been hugely motivational for me.

    • @TuxRiders
      @TuxRiders  2 года назад

      you're welcome man :). so glad to read this :)

  • @LOMADAKARUNAKARREDDYRS
    @LOMADAKARUNAKARREDDYRS 2 года назад

    Thanks for initiating tutorial platform for LB method

  • @idreeskhan-zp5ey
    @idreeskhan-zp5ey 9 месяцев назад

    Thank You for the efforts!

    • @TuxRiders
      @TuxRiders  9 месяцев назад

      My pleasure :)

  • @QuantumBeatsLab
    @QuantumBeatsLab Год назад +1

    Thank you very much for the video. I am encountering a problem in the jpeg images not generating and I also tried with imagegick. The files that are generated are .matrix and .p files. can you please suggest on how to open it? Please reply

    • @TuxRiders
      @TuxRiders  Год назад

      I think I need to reproduce the issue in order to see why this is an issue. you said you run this on WSL, right?

    • @QuantumBeatsLab
      @QuantumBeatsLab 11 месяцев назад

      yes Sir@@TuxRiders

  • @mjwei3819
    @mjwei3819 2 года назад

    Thanks for sharing!

  • @birsenerdem1
    @birsenerdem1 Год назад

    Hi, first thank you for your videos. I have a question: Do you have additional information about the usage OpenLB for external flows like turbulent flows around an aircraft or wind turbines? How can I apply BCs to my case?

    • @TuxRiders
      @TuxRiders  Год назад

      happy to know you liked the video. unfortunately, I don't have much knowledge about turbulent modeling using LBM.

  • @buseparlakk
    @buseparlakk Год назад

    Can you solve the droplet based flow focusing microfluidic system with LB?

    • @TuxRiders
      @TuxRiders  Год назад

      I have never done that, but I guess it should be possible :)

  • @HoaiThanh-wm6ze
    @HoaiThanh-wm6ze Год назад

    when I copy the file to other folder and run it. it have error. it is no such file or directory. could you explain for that?

    • @TuxRiders
      @TuxRiders  Год назад

      make sure to copy all the files. what you say is quite strange. did you manage to solve the problem?

  • @topg3307
    @topg3307 10 месяцев назад

    Hello im new to the LBM simulators, i wanted to ask how can i implement stuff like pulsatile flow and moving boundaries, in custom made STL geometries on openLB (.OR.) palabos.

    • @TuxRiders
      @TuxRiders  9 месяцев назад

      I'm afraid I've never done this, but I know that Palabos has a nice integration with IBM (immersed boundary), which should be technically possible to be used for this purpose. I don't know if there is a better approach for this. Sorry.

  • @creativelead3298
    @creativelead3298 Год назад

    Hello ,This video is very helpful.But i didnt understand How You use command of move but when i use this command(cygwin give option that there is no such directory ).Kindly tell me about this.

    • @TuxRiders
      @TuxRiders  Год назад

      glad you liked the video. the mv command just moves the file to another directory (like ctrl+x followed by ctrl+v), so it shouldn't be an issue here. you may consider moving the file to a desired directory in Windows Explorer and then open Cygwin on that directory to continue.

  • @MaudinaRohmah-o8i
    @MaudinaRohmah-o8i Месяц назад

    actually i failed to extract this how is going on?

    • @TuxRiders
      @TuxRiders  Месяц назад

      make sure the download is not corrupted.

    • @MaudinaRohmah-o8i
      @MaudinaRohmah-o8i 29 дней назад

      @@TuxRiders i'm 100% is not corrupted but when i try to extract with windows terminal, it can't if i should download anything else???

  • @QuantumBeatsLab
    @QuantumBeatsLab Год назад

    I have ran this using Ubuntu installed with WSL. The image file isnot comming . What is the issue??

    • @TuxRiders
      @TuxRiders  Год назад

      install imagemagick and see if it resolves the issue.

  • @ruyjunior8858
    @ruyjunior8858 2 года назад

    Hi. Where I can find the algorithm that you used on cylinder in 2d?

    • @TuxRiders
      @TuxRiders  2 года назад

      hi. the algorithm used in OpenLB is standard lattice Boltzmann, so you can find the details of it in any book related to lattice Boltzmann method.

  • @QuantumBeatsLab
    @QuantumBeatsLab Год назад

    Dear Sir,
    I am writing this mail to you regarding the problem faced by me in compiling an OpenLB code according to one of your youtube videos titled "Getting started with OpenLB, lattice Boltzmann simulation code [On Demand 8]".
    According to your video you are able to generate the image files after the simulation but in my case only the "vtk" files are generated.
    I need to know is there any software I need to install to get the image directly or I need to add something to the code? Please help me with that.
    Thank you
    Regards
    Atanu Chaudhury
    Phd, NTHU

    • @TuxRiders
      @TuxRiders  Год назад

      I think you don't need to add anything to the code. can you try to install imagemagick? it should be the missing component I guess. by the way, you can always use ParaView to export the VTK files to images.

    • @QuantumBeatsLab
      @QuantumBeatsLab Год назад

      thank you I will try that @@TuxRiders

    • @QuantumBeatsLab
      @QuantumBeatsLab Год назад

      thank you for your reply, I want to know another thing, how to make the Gnu plot. When I do the simulation a .dat file is also generated. Do I need any software for that to get the Gnu plot? @@TuxRiders

    • @QuantumBeatsLab
      @QuantumBeatsLab Год назад

      Sir the imagemagick is not able to open .matrix files. Any other solution to this????????????????@@TuxRiders

    • @TuxRiders
      @TuxRiders  Год назад

      @@QuantumBeatsLab you need Gnuplot :). it's the name of a software.

  • @QuantumBeatsLab
    @QuantumBeatsLab Год назад

    Sir in the User Guide of OpenLB it is given that "There are two options of generating images of
    the processed values in 2D and 3D" which is Gifwriter and HeatMap. The cylinder2d has HeatMap in the code but its not generating the jpeg file. Any solution to this?
    here is that part of the code
    // Writes the vtk files
    if ( iT%vtkIter == 0 && iT > 0 ) {
    vtmWriter.write( iT );
    {
    SuperEuklidNorm2D normVel( velocity );
    BlockReduction2D2D planeReduction( normVel, 600, BlockDataSyncMode::ReduceOnly );
    // write output as JPEG
    heatmap::write(planeReduction, iT);
    }
    {
    BlockReduction2D2D planeReduction( discretization, 600, BlockDataSyncMode::ReduceOnly );
    heatmap::plotParam jpeg_scale;
    jpeg_scale.name = "quality";
    jpeg_scale.colour = "blackbody";
    heatmap::write( planeReduction, iT, jpeg_scale );

    • @TuxRiders
      @TuxRiders  Год назад

      I've never faced this issue, but in my opinion, it should be relevant to imagemagick, which didn't solve your problem apparently, right?

  • @stachjonas
    @stachjonas 9 месяцев назад

    I was hoping for some description and explanation of the code and its creation. This seemed to me to be completely useless, everyone can see this for himself what he was explaining. I don't know how it was supposed to help.

    • @TuxRiders
      @TuxRiders  9 месяцев назад

      Sorry for disappointing you.

    • @stachjonas
      @stachjonas 9 месяцев назад

      @@TuxRiders Sorry for my fluster, I'm flustered that in the video you keep saying it's very simple, but I don't understand it.

  • @ashkanajrian830
    @ashkanajrian830 4 месяца назад

    Your explanation covers concepts that anyone with a background in LBM and a quick 10-minute read of the OpenLB documentation would understand. I watched this video hoping for more specific details that I could apply to my real projects. Unfortunately, it didn't meet my expectations. Nevertheless, I wish you good luck.

    • @TuxRiders
      @TuxRiders  4 месяца назад

      sorry for disappointing you!

  • @QuantumBeatsLab
    @QuantumBeatsLab 7 месяцев назад

    Sir can you please tell me how to calculate the Element numbers and the Grid point number from the OpenLB codes for example from Cylinder2D?
    As in Ansys we can find the Element number or Grid number directly but I didn’t find any such thing in OpenLB codes. Such as for Cylinder2D code I have estimated like this:
    Identify the grid resolution:
    The resolution N is defined as 200. The lattice length L is defined as 0.1/N.
    L = 0.1 / 200 = 0.0005
    The length of the domain in the x-direction (lengthX) is 2.2.
    The length of the domain in the y-direction (lengthY) is 2.0.
    The number of grid points in the x-direction Nx = lengthX / L.
    The number of grid points in the y-direction Ny = lengthY / L.
    So, Nx = 2.2 / 0.0005 = 4400
    Ny = 2 / 0.0005 = 4000
    Total Grid Points = Nx * Ny = 4400 * 4000 = 17,600,000
    Is it correct? Please help. @TuxRiders

    • @TuxRiders
      @TuxRiders  7 месяцев назад

      I'm afraid I don't know how to get the element numbers in OpenLB. sorry.