Skip to content

Computing Pressure Statistics with PostProcessors

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum please send a message via our contact form.

Forums OpenLB General Topics Computing Pressure Statistics with PostProcessors

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10739
    jmctighe
    Participant

    Dear OpenLB Community,

    I am trying to write a postprocessor to compute pressure statistics. I would like to start by computing the time-average field pressure, but I eventually want to try to obtain the pressure probability distribution over several 2D planes in a 3D flow. The statistics computations are straight forward (at least for the time-averaging), but I am unsure of how I to obtain the pressure field. What is the best way to operate on pressure data within a postprocessor?

    Best Regards,
    jmctighe

    #10753
    FBukreev
    Keymaster

    Hello,

    to obtain pressure you need to compute denisty with computeRho() and then make (density – 1)/descriptors::invCs2(). That will give you pressure in lattice units.

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