[deal.II] Output domain id for different parts of the domain

48 views
Skip to first unread message

陈敏

unread,
Apr 29, 2024, 9:23:37 AM4/29/24
to dea...@googlegroups.com
Dear all

I'm dealing with a fluid-structure interaction problem, and I want ot output the domain id to the cell to the vtk/vtu result files. By the way, partitioning the fluid and solid domain by the id can be very convenient in paraview. But I don't know how to output the domain id when using dealii. Could anyone help me?


Best regards
Chen

Daniel Arndt

unread,
Apr 29, 2024, 11:31:04 AM4/29/24
to dea...@googlegroups.com
Chen,

Have a look at how the subdomain id is added to the output results in
step-40 (https://www.dealii.org/current/doxygen/deal.II/step_40.html#LaplaceProblemoutput_results).

Best,
Daniel
> --
> 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+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/CADr3OdJcgOW8VfxzUwPS01zsGuT%2BkKy6-UiPnR66XAeij%2B0R0g%40mail.gmail.com.

陈敏

unread,
May 7, 2024, 6:05:12 AM5/7/24
to dea...@googlegroups.com

Dear Daniel Arndt




Thank you for your reply, it is really helpfull and appreciated!

Best
Chen

Daniel Arndt <d.arnd...@gmail.com> 于2024年4月29日周一 23:31写道:
Reply all
Reply to author
Forward
0 new messages