On 7/16/20 9:15 AM, Muhammad Mashhood wrote:
So far it would be enough if I have the Gauss point values only at the points rather than having complete field. I like to access these point values of stress and strain tensors in .vtk file or .pvtu file through ParaView (same as I am accessing the results currently). I would be grateful if you or any other user has experience in this regard or know about relevant deal.ii tutorial dealing with same feature.

deal.II has functionality to output data on individual points if that data is associated with particles. I don't know how much work you want to invest in getting this to work for you, but here are two options:

* Easy: Create a ParticleHandler object, loop over all of your quadrature points, and for each quadrature point you create a particle. You can then associate "properties" with each particle, and use Particles::DataOut to output these properties in the same way as you would use DataOut for field data. You can probably figure out how this works by looking at the draft step-19 tutorial program:

* More work, but more elegant: You could write a class, let's say QuadraturePointData::DataOut or something similar, to which you could describe the information of location + values without the detour of particles. I'm sure we'd be happy to walk you through the process of doing so if you wanted to go for that, and it would be a very nice addition to deal.II if you wanted to get it merged.


Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/

The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
--- 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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

Reply via email to