[ParaView Postprocessing 13] Fluid flow: particle tracking and path lines

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ต.ค. 2024
  • It’s time to combine all the things we have learned so far with some new filters to create super cool visualization of fluid flow fields. In this video, we see an introduction to particle tracking in ParaView, and then we use an orchestration of various filters to visualize flow in a bend pipe using particles and their path lines.
    Codes and Resources:
    In order to follow the videos and reproduce the output, you need the raw simulation results. You can find these files here: tuxriders.com/v...
    Topics covered:
    🎯 Working with line sources
    🎯 Working with particle tracer filter
    🎯 Using temporal particles filter to add path lines
    Lecturer: Mojtaba Barzegari mbarzegary.git...
    To learn more about the goals of the TuxRiders project, please visit our website at tuxriders.com.

ความคิดเห็น • 43

  • @saeidhariri7182
    @saeidhariri7182 2 ปีที่แล้ว +2

    Very informative and constructive tutorial. Thanks a lot, Dr Mojtaba.

    • @TuxRiders
      @TuxRiders  2 ปีที่แล้ว

      you're welcome :)

  • @kakchoon
    @kakchoon 3 ปีที่แล้ว

    Thank you very much for this wonderful tutorial Dr. Mojtaba. Looking forward to getting more hints and tips on Paraview from your channel.

    • @TuxRiders
      @TuxRiders  3 ปีที่แล้ว

      My pleasure!

  • @nickjohnsonn9761
    @nickjohnsonn9761 3 ปีที่แล้ว

    You just solved my problem in paraview for moving gylphs! Thank you so much!

    • @TuxRiders
      @TuxRiders  3 ปีที่แล้ว

      So glad to read this, Nick.

  • @cronos864
    @cronos864 ปีที่แล้ว

    another great video. Thank you!

    • @TuxRiders
      @TuxRiders  ปีที่แล้ว

      My pleasure :)

  • @pradyumnadas7533
    @pradyumnadas7533 4 หลายเดือนก่อน

    Thank you for the detailed video. How do we do it if the Lagrangian files are saved as VTK files?

    • @TuxRiders
      @TuxRiders  4 หลายเดือนก่อน

      so, you mean the particles by "Lagrangian files", right? if so, you can do it by plotting (representing) them as Point Gaussian.

  • @jiahaowei7649
    @jiahaowei7649 2 ปีที่แล้ว +2

    Thank you so much for this tutorial. I have a question, Is there any way to extract the time data of each particle in the tube? I mean, each particle you set has different residence time. Can the time data be extracted? Thanks a million in advance.

    • @TuxRiders
      @TuxRiders  2 ปีที่แล้ว +2

      glad you liked it :). regarding the residence time, I'm afraid I don't know it. but, since I've been asked for this once more in the past, I will try to find the solution and make a video on it in the "On-Demand" series.

  • @alejandrotenorio2327
    @alejandrotenorio2327 3 หลายเดือนก่อน

    Thanks! Hope you're still familiar with this, I've been getting some issues while applying the Particle Tracer filter. Paraview just decides to crash. The only difference I have is that my files are *.VTK. Any idea what might be causing this? Awesome tutorial!

    • @TuxRiders
      @TuxRiders  2 หลายเดือนก่อน

      Are yo able to reproduce the visualization using the files I provided. I believe it should not matter which file type you use as the input.

  • @AJ-et3vf
    @AJ-et3vf 2 ปีที่แล้ว

    Awesome video! Thank you!

    • @TuxRiders
      @TuxRiders  2 ปีที่แล้ว

      Glad it helped!

  • @tomvandervliet586
    @tomvandervliet586 3 ปีที่แล้ว

    Very good explanation and clear example. Is it also possible to compute quantities for these particles based on their history within the velocityfield?

    • @TuxRiders
      @TuxRiders  3 ปีที่แล้ว

      you're welcome :). I have never done that, but it should be possible since the pathlines are still ParaView objects, on which you can apply the Calculator filter and compute new quantities.

  • @hesamh7448
    @hesamh7448 2 ปีที่แล้ว +1

    very excellent

    • @TuxRiders
      @TuxRiders  2 ปีที่แล้ว

      glad to hear it :)

  • @gokhans99
    @gokhans99 8 หลายเดือนก่อน

    Thank you very much!

    • @TuxRiders
      @TuxRiders  8 หลายเดือนก่อน

      You're welcome :)

  • @idreeskhan-zp5ey
    @idreeskhan-zp5ey 10 หลายเดือนก่อน

    Thanks for the video! Is there any way to extract the each particles residence time inside the tube?

    • @TuxRiders
      @TuxRiders  10 หลายเดือนก่อน +1

      I'm afraid I don't know how to do that. I guess it may be possible with some Python scripting if you can grab the coordinates of the particles there.

    • @idreeskhan-zp5ey
      @idreeskhan-zp5ey 9 หลายเดือนก่อน

      How about to apply Lagrangian particle tracking to each guy?@@TuxRiders

    • @TuxRiders
      @TuxRiders  9 หลายเดือนก่อน +1

      @@idreeskhan-zp5ey then you need to do it externally (outside of ParaView) I believe.

  • @143jaggu
    @143jaggu 3 ปีที่แล้ว

    Thanks a lot for explaining.

    • @TuxRiders
      @TuxRiders  3 ปีที่แล้ว

      my pleasure :)

  • @kushalchoudhary432
    @kushalchoudhary432 3 ปีที่แล้ว

    Very well explained 👍👍👍👍

  • @aliumara1205
    @aliumara1205 ปีที่แล้ว

    thank you for this video , can we apply magnetic force for thesis particles

    • @TuxRiders
      @TuxRiders  ปีที่แล้ว +1

      glad you liked the video! I'm afraid ParaView is not a simulation software, so applying any kind of force (including magnetic) should be very cumbersome. instead, you should consider modeling it in the simulation code/software that generates the output for ParaView.

    • @aliumara1205
      @aliumara1205 ปีที่แล้ว

      @@TuxRiders thank you so much

  • @georgezodo1770
    @georgezodo1770 2 ปีที่แล้ว

    Hi, is there anyway that we can count how many particles whose sizes belong to a certain range (for example between 5 and 20 micron) exist at a certain time. So a histogram of the counts of particles with certain size range. As we know some particles with certain size evaporates or breakup

    • @TuxRiders
      @TuxRiders  2 ปีที่แล้ว

      hi George, if I get your question correctly, you want to map a quantity to the size of the particles (using "Scale Array") and then how many are vanished due to a physical phenomenon like evaporation. I think the best way to do this is not via particle tracking, but instead, try to get some insight out of the quantity you want to scale the particle sizes with.

    • @georgezodo1770
      @georgezodo1770 2 ปีที่แล้ว

      @@TuxRiders let me give you an example. I need to track how many (count) of particles I have such that these particles have a certain size (let's say particle with size between 1 mm and 2 mm. I need to know this number as a function of time. For instance at time 1 second, I might have 1000 particles whose size is between 1 mm and 2 mm. at time 2 second this number became for example1100 particles. It has increased from 1000 to 1100 because for example 100 particles whose size was more than 2mm and due to evaporation their size reduced to the range I am interested in (between 1 mm and 2 mm). I believe Paraview has histograms for different particles size range but at a certain time. so the graph shows at a certain time how many numbers I have (y-axis) for different ranges of sizes (x-axis). so the x-axis shows different ranges (for example size 1mm to 2mm, and size 2mm to 3mm, and 3mm to 4mm, etc.). But what I need is only one range but at different time. So th histogram I am looking for will have the number of particles for the y-axis for a specific range (let's say between 1 mm and 2mm) and the x-axi will be the time. So this graph will give me at different time how many particles I have for particles whose range is beteen 1 mm and 2 mm.

    • @TuxRiders
      @TuxRiders  2 ปีที่แล้ว

      thanks for the clear explanation. I see. my suggestion is that you always consider doing things in ParaView with tools available as plugins or integration, like with Python scripting option. using that, you have a good control on what you want to do, which can be usually easier than looking at operations possible only through the user interface. another thing you can do is export the data to csv at different time points (can be done also using Python again) and plot what you need outside of ParaView using a spreadsheet program or any other data processing language. this is what I usually do instead of struggling with ParaView available plotting features :)

  • @ivanzaev7538
    @ivanzaev7538 2 ปีที่แล้ว

    Can I save the pathline into file with required quantity along it?

    • @TuxRiders
      @TuxRiders  2 ปีที่แล้ว

      I'm afraid I don't know. maybe you can ask it in the paraview community (discourse).

    • @ivanzaev7538
      @ivanzaev7538 2 ปีที่แล้ว

      @@TuxRiders Actually I found answer and it is Yes

    • @TuxRiders
      @TuxRiders  2 ปีที่แล้ว +1

      @@ivanzaev7538 cool! if you like, you can put a summary of the solution here for other people reading this with the same problem in their pocket :)

  • @navidmadd
    @navidmadd ปีที่แล้ว

    Good content
    good technique
    Just please use less “indeed” in your explanation

    • @TuxRiders
      @TuxRiders  ปีที่แล้ว

      haha, I have recently replace it with "actually". that's a problem I have in my mother tongue too, so I need to fix it fundamentally :)