Marking Boundary Nodes in Triangulation

20 views
Skip to first unread message

Chen R

unread,
Jun 23, 2021, 4:08:02 AM6/23/21
to deal.II User Group
Hi all,

So I am trying to use dealii together with our own geometric modeling environment to do different FE calculations on.

I am transferring our geometry into the Triangulation object based on the way that the read_msh function does.

The problem is that I want to keep track of boundary nodes so as later, after calculating some solution to a problem (for example an elasticity problem on the object) I want to only show graphically the changes on the boundaries of the geometry as, for example through some color map, those are the only parts of the geometry that are shown. 

I know the Triangulation object has some property of boundary IDs that can be used but how exactly to use it I'm not sure?

Thank you,
Chen

Jean-Paul Pelteret

unread,
Jun 24, 2021, 4:14:58 PM6/24/21
to dea...@googlegroups.com
Hi Chen,

Is the DoFTools::extract_boundary_dofs() function perhaps what you’re looking for?

Best,
Jean-Paul

--
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/082fc358-393f-4bee-bd66-13bcd5548326n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages