[visit-users] Making sense of first_time_when_condition_is_true

Blaise A Bourdin bourdin at lsu.edu
Thu Jul 10 12:51:32 EDT 2014


I have a scalar variable psi (a ``phase--field’’ like variable describing a crack propagating in a 2d domain), with values between 0 and 1 and decreasing in time.
I would like to show the field temporal evolution in a single frame by plotting at each vertex, the first time psi<.1
For that, I created the expression psi_hist: first_time_when_condition_is_true(le(psi,.1), u1)

When I do a pseudo color of psi_hist, I get nonsensical results: the bounds do not match the range of value of time and the actual result seems to depend on the previous plot. For instance in the attached plot, the range of values of time is [0,.928], but the pseudocolor plot of psi_hist seems to another scalar variable (the y component of the displacement field)

Does anybody understands what is happening?


Department of Mathematics and Center for Computation & Technology
Louisiana State University, Baton Rouge, LA 70803, USA
Tel. +1 (225) 578 1612, Fax  +1 (225) 578 4276 http://www.math.lsu.edu/~bourdin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://elist.ornl.gov/pipermail/visit-users/attachments/20140710/6fc13a7c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: visit0000.png
Type: image/png
Size: 40379 bytes
Desc: visit0000.png
URL: <https://elist.ornl.gov/pipermail/visit-users/attachments/20140710/6fc13a7c/visit0000.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: visit0002.png
Type: image/png
Size: 47493 bytes
Desc: visit0002.png
URL: <https://elist.ornl.gov/pipermail/visit-users/attachments/20140710/6fc13a7c/visit0002.png>

More information about the visit-users mailing list