Skip to content

No contour Variables for Velocity

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics No contour Variables for Velocity

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6178
    achodankar
    Participant

    Hello Developers,
    I am unable to view the contours of velocity stored in the pvd file in ParaView. It only shows the option of pressure field. Does this have to do anything to the way the .pvd file is created in openLB? In the contourBy option only the Physpressure field shows up?

    Here is the link with the image: https://ibb.co/Wg00mdK

    I would really appreciate if you can help on this issue.

    Thank you.

    Yours sincerely,

    Abhijeet C.

    #6180
    Adrian
    Keymaster

    The countours are not explicitly stored in the VTK file. Instead it contains the raw vector fields of e.g. the velocity in this case (really any functor) from which you can then compute and visualize contour lines in ParaView.

    As the contour tool there expects a scalar field you will first have to apply some norm to the velocity field. Alternatively you can also use the results of e.g. OpenLB’s euklid norm functor.

    • This reply was modified 8 months, 3 weeks ago by Adrian.
    #6183
    achodankar
    Participant

    Hello Adrian,
    Thank you so much for your help. I stored the scalar field of velocity separately using calculator tool in ParaView, and now I can plot the contours of velocity field. The problem is resolved.

    Thank you so much!!! I really appreciate it.

    Thank you.

    Yours sincerely,

    Abhijeet C.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.