Skip to content

Re: Data Analysis

#2309
robin.trunk
Keymaster

For the pressure drop you can create your own output file. However, OpenLB has no function for this, but it should be easy to implement with some C++ coding, keyword ofstream.rnTo receive information about the velocity at a specific point, you can proceed analogously to the pressure. The functor for the velocity is SuperLatticePhysVelocity2D<T, DESCRIPTOR> velocity(sLattice, converter); and it can be evaluated like the pressure at a point. The variables for the output (p1 and p2 for the pressure) however should be two dimensional fields.rnrnBestrnRobin