https://linen.dev logo
Join Discord
Powered by
# paraview
  • o

    otaolafr

    04/01/2025, 8:11 AM
    okey, but this is not a default feature of paraview, this is a python script you made yourself,no?
  • q

    qr

    04/01/2025, 8:12 AM
    Yes .. more or less. With some basic commands copied from trace.
  • q

    qr

    04/01/2025, 8:13 AM
    (basically commands obtained through ``from Paraview.simple import *``)
  • u

    ⵣAryazⵣ

    04/01/2025, 7:46 PM
    A bug-fixes release: https://www.kitware.com/paraview-5-13-3-release-notes/
  • u

    ~Photon~ 1,618

    04/10/2025, 3:25 PM
    Hi, I'm a big noob, what do these two scales represent? https://cdn.discordapp.com/attachments/616621476853841930/1359912207323758873/IMG_1793.jpg?ex=67f93470&is=67f7e2f0&hm=6b2a7ad327afb1391a9d410e7244fda04b867f853ffc574acca089a3f71544d6& https://cdn.discordapp.com/attachments/616621476853841930/1359912208183726311/IMG_1794.jpg?ex=67f93470&is=67f7e2f0&hm=6a4f30ae7076fb866027c716de442b3c2ff29c1521eeda8fb51058039469b293&
  • y

    Yann

    04/10/2025, 3:34 PM
    Velocity magnitude and pressure fields 🤔
  • u

    ~Photon~ 1,618

    04/10/2025, 3:46 PM
    Thanks, but why is there no low pressure in the back?
  • r

    Rand Paul's Neighbor

    04/10/2025, 10:22 PM
    At the trailing edge of the airfoil?
  • u

    ~Photon~ 1,618

    04/10/2025, 10:22 PM
    yeah ?
  • r

    Rand Paul's Neighbor

    04/10/2025, 10:23 PM
    That is the correct behaviour for an airfoil that isn't stalled. The pressure at the trailing edge recovers to approximately the same as at the leading edge as the flow decelerates
  • u

    ~Photon~ 1,618

    04/11/2025, 12:38 AM
    Ahhh ok thanks you!
  • f

    faon

    04/23/2025, 8:40 AM
    Hey, quick question: I think I knew how to do it but forgot. I've got the thermal gradient G as a scalar from my simulations and I would like to extract the components in x, y and z (Gx, Gy, Gz) to compare with the temperature gradient calculated from the temperature field with the Gradient filter, how to do this ?
  • q

    qr

    04/23/2025, 8:43 AM
    Do you see them listed as independent scalars, eg if you use Calculator?
  • f

    faon

    04/23/2025, 8:45 AM
    Nope, I just have one scalar for G as calculated during the simulation, without them listed as Gx, Gy and Gz into the scalars list
  • q

    qr

    04/23/2025, 8:46 AM
    Why is your gradient a scalar? It should be different along different directions. How do you calculate this quantity G?
  • f

    faon

    04/23/2025, 8:50 AM
    To summarise, to save storage, I only export the magnitude of the gradient and not the components I'm simulating welding, and to analyse the solidification history, I need to store the thermal gradient at the solidification front in the solidified. So in the liquid metal, I calculate the thermal gradient following the equation attached, and in the solidified region it is a frozen value, hence the fact that it is a scalar. https://cdn.discordapp.com/attachments/616621476853841930/1364523868001140867/image.png?ex=6809fb61&is=6808a9e1&hm=fa42c0e8f676c9eb24f0d4db2134c762755cd35eff5acc5a5cc6617737858161&
  • f

    faon

    04/23/2025, 8:54 AM
    That being said, I can go back to the simulation and export all components to compare with the gradient calculated with the paraview filter. I just thought there would be a way to extract the components from the scalar
  • q

    qr

    04/23/2025, 9:07 AM
    Yeah so that's just the magnitude. When you did that calculation you lost information on direction. You could either export the components, or export the G unit vector G/|G|.
  • q

    qr

    04/23/2025, 9:07 AM
    Either of those will let you reconstruct the Gradient vector field.
  • f

    faon

    04/23/2025, 9:15 AM
    Yeah that makes sense actually, thanks for the help 🙂
  • f

    faon

    04/23/2025, 9:23 AM
    Just had a quick check up on a previous simulation where I exported more information; it looks like I can fairly use Gy calculated from the temperature field by paraview https://cdn.discordapp.com/attachments/616621476853841930/1364532014744604682/image.png?ex=680a02f8&is=6808b178&hm=a62fb40bda9bcd1a019365c54822de34cce7af18da87019923e35aa65830dec9&
  • q

    qr

    04/23/2025, 9:25 AM
    Are you comparing the results of gradient calculation in paraview vs gradient calculation in openfoam?
  • q

    qr

    04/23/2025, 9:27 AM
    That'll be 99.99% equal if you use cell data. Point data will introduce interpolation related differences and the more correct values (closer to satisfying governing equations) will be openfoam ones.
  • f

    faon

    04/23/2025, 11:12 AM
    I used Fluent for my simulations, I don't know how different it may be from openfoam But I used point data and not cell data for the comparison
  • o

    otaolafr

    05/06/2025, 7:25 AM
    I created a cell zone that I can see that exists when i run checkMesh, but in paraview even when i turn on 'read zones' i dont see it listed. I am missing something? it should appear in 'mesh region' section, no?
  • y

    Yann

    05/06/2025, 7:30 AM
    It looks like it doesn't directly appear in mesh regions, but if you use the extract block filter you should see it
  • o

    otaolafr

    05/06/2025, 7:30 AM
    thanks!
  • y

    Yann

    05/06/2025, 7:30 AM
    https://cdn.discordapp.com/attachments/616621476853841930/1369214767968817215/image.png?ex=681b0c1f&is=6819ba9f&hm=31332fd0597bfecc6e7967b0236f6b14a7aced951d3af88165e07b8f24e5de50&
  • o

    otaolafr

    05/06/2025, 7:30 AM
    @François Mazen (Kitware) worth to make a paraview issue about this?
  • f

    François Mazen (Kitware)

    05/07/2025, 8:55 AM
    Yes, definitely! Feel free to tag me in the issue report: https://gitlab.kitware.com/paraview/paraview/-/issues/new