DataOut

40 views
Skip to first unread message

王艺康

unread,
Dec 4, 2024, 9:27:40 AM12/4/24
to deal.II User Group
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!

Wolfgang Bangerth

unread,
Dec 4, 2024, 11:49:30 AM12/4/24
to dea...@googlegroups.com

On 12/4/24 07:27, 王艺康 wrote:
> **
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.

王艺康

unread,
Dec 4, 2024, 9:45:28 PM12/4/24
to deal.II User Group
Thank you very much for your advice that solved my problem perfectly, thanks again!
Reply all
Reply to author
Forward
0 new messages