visit-dav / visit

VisIt - Visualization and Data Analysis for Mesh-based Scientific Data
https://visit.llnl.gov
BSD 3-Clause "New" or "Revised" License
435 stars 114 forks source link

Schlieren Post Processing of Hydrodynamics Simulations #12190

Closed biagas closed 3 years ago

biagas commented 4 years ago

We're trying to combine visit-users email list with GitHub issues. When replying on visit-users, please reply only to emails with a Subject line that includes [visit-dav/live-customer-response].


Does anyone know about a way to post process density results from hydrodynamics simulations in VisIT to get simulated Schlieren images? the manual is silent on this capability.

Thanks,

Rick

biagas commented 4 years ago

Response from Tomek Plewa

Use Controls -> Expression to create a mesh variable; in 2D,

constAexp(constBmagnitude(ij_gradient())

Tomek

Rick indicated Tomek's solution worked.

cyrush commented 4 years ago

depending on the mesh type ,the ij gradient isn't a good choice -- it doesn't calc the right dx, dz, dy factor -- I would compare against the standard gradient.

cyrush commented 4 years ago

well not the mesh type, but the nature of the mesh. Depends on how dx,dy,dz compare to logical deltas.