On 08/21/2017 10:10 AM, Alberto Salvadori wrote:
I understand there is no data component interpretation for tensors (I mean anything like DataComponentInterpretation::component_is_part_of_tensor) and I read that in aspect 1.3 ASPECT 1.3 released. <https://groups.google.com/forum/#%21searchin/dealii/output$20tensors%7Csort:relevance/dealii/qoJwnOgg_zE/bKjbgzY66dQJ> there are "New visualization postprocessors that can output the shear stress and full stress tensors". Is it a dedicated procedure for vtk?

No. The tensors are output as individual scalar components.


Of course I can manage by projecting tensors on three orthogonal directions and visualize as vectors, but I find this inelegant.

That's the way to go, unless you want to implement the DataComponentInterpretation part as well as support in DataOutBase for tensor-valued quantities.

Best
 W.


--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to