Error message displaying formula results

formula is sqrt(u.x^2+u.z^2)^0.5*abs(u.x)/u.x
i realize the above equation should be
sqrt(u.x^2+u.z^2)^0.5*abs(u.x)/u.x
but when i try to display the results i get the attached error messages after which i cannot see any results, the window has a red cross through it have to close down and restart

Comments

  • Thanks for reporting this bug. It's a known one that will be fixed in version 10.

    It happens with the Gradient contour plot option (not the Banded one) and a formula that has a divide by zero or similar problem.
  • yes i found after posting that it would generate division by zero dut i am struggling to would out an alternative way of creating a directional radian displacement. ie. such that expansion of vessel is positive but contraction is negative. Ideally i would use a sign function. which is what i tried to create with abs(u.x)/u.x. but forgot about zero values.

    Any suggestions for another way to do this?
  • Signed radial displacement is
    (x*u.x + z*u.z) / sqrt(x^2+z^2)
  • thanks, I'm trying to figure out how that equation works.
  • It's the dot product of displacement with the unit radial vector.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!