On 12/4/24 07:27, 王艺康 wrote:
**

I am using dealii to carry out a simulation using DataOut which is outputting my data as a vtu file, I would like to extract the surface data of the vtu file but when I open the vtu file using paraview, there is no information about my boundaries saved in it, which leaves me with no way to extract the data for a specific boundary. I would appreciate if you could tell me how to do this!

Are you asking how to add information about the boundary indicators to the file?

If so, you may be interested in this glossary entry: https://dealii.org/developer/doxygen/deal.II/DEALGlossary.html#GlossBoundaryIndicator If you want to output information that lives on faces (in the code example on the glossary page, that is the boundary_id, but it could also be the solution itself), you should use DataOutFaces instead of DataOut.

Best
 W.

--
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 dealii+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/dealii/60f7fc8a-6eeb-466f-8e92-ace7fc016a3f%40colostate.edu.

Reply via email to