Ok, I feel seriously stupid now. I finally figured out that you choose Extract Scalars, change "effective stress" to "component" and then specify the (row,column) of the tensor component that you want. I didn't realize that they wanted a (row,column) indication of the tensor component. Anyway, it does what I want now.
On Monday, August 3, 2015 at 2:55:19 PM UTC-7, Dennis Perchak wrote:
I understand (or more accurately I have followed the examples, such as its2D_5) how to calculate the stress and strain for an elastic deformation problem and probe along a line. What I want to do now is display the surface of the material and color it by one of the (for example) strain components, such as the zz component of the strain tensor. It seems like one just has to create a pipeline in mayavi2 that uses the ExtractTensorComponent filter but for the life of me I can't figure out how to select a single component (such as the zz one of stress or strain) to use to create the surface mapping. I can change the scalar mode value in ExtractTensorComponent from "effective stress" to "component" but I don't understand how to choose a particular component.
I hate to post what is probably a simple question but lots of searching hasn't yielded an answer yet.