[CIG-SHORT] Paraview Calculator errors

Chunyu Liu (cliu5) cliu5 at memphis.edu
Wed Apr 27 12:29:23 PDT 2016


Thanks for quick reply.
Direction fields are in the .info files, and slip field is in the east_tn-fault_t0000.vtk.
I use “ ground dataset “ to combine both of them. Then, I apply the formula.
It turns out it is not working for me on Paraview 4.3.1.
Can you please try it out by using these two files I attached in the email ?

Thank you very much


On Apr 27, 2016, at 14:01, Brad Aagaard <baagaard at usgs.gov<mailto:baagaard at usgs.gov>> wrote:

The slip field is in a different file than the direction fields. As a result you need to load both data files, select them, and use the AppendAttributes filter to combine the datasets. If you do that your formula should work (it worked for me in ParaView 4.3.1).

Regards,
Brad


On 04/27/2016 09:39 AM, Chunyu Liu (cliu5) wrote:
Hi all,
When I try to change slip vector from fault coordinate system to global
coordinate system, I follow this formula:

(slip_X*strike_dir_X+slip_Y*dip_dir_X)*iHat+(slip_X*strike_dir_Y+slip_Y*dip_dir_Y)*jHat+(slip_X*strike_dir_Z+slip_Y*dip_dir_Z)*kHat

However, I am always getting some errors like this :

ERROR: In
/Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Common/Misc/vtkFunctionParser.cxx,
line 1360
vtkFunctionParser (0x7fd968373fb0): Syntax error: expecting a variable
name; see position 1


Warning: In
/Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Filters/Core/vtkArrayCalculator.cxx,
line 405
vtkPVArrayCalculator (0x7fd96859cc30): An error occurred when parsing
the calculator's function. See previous errors.




_______________________________________________
CIG-SHORT mailing list
CIG-SHORT at geodynamics.org<mailto:CIG-SHORT at geodynamics.org>
http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short


_______________________________________________
CIG-SHORT mailing list
CIG-SHORT at geodynamics.org<mailto:CIG-SHORT at geodynamics.org>
http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20160427/f7d12e5f/attachment.html>


More information about the CIG-SHORT mailing list