On 7/23/20 11:47 AM, Daniel Arndt wrote:
McKenzie,
I'm interested in applying a non-homogeneous Dirichlet boundary condition
to a specific edge. However, I'm unsure how to identify or specify a
particular edge or face to add the boundary condition to. Could you help
clear this up for me?
What do you know about that particular edge? You can always ask faces or
edges, e.g., about their midpoints. Have a look at
https://www.dealii.org/current/doxygen/deal.II/step_6.html#Abettermesh
<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dealii.org%2Fcurrent%2Fdoxygen%2Fdeal.II%2Fstep_6.html%23Abettermesh&data=02%7C01%7CWolfgang.Bangerth%40colostate.edu%7C89baeb6e175e40c6c58b08d82f306f84%7Cafb58802ff7a4bb1ab21367ff2ecfc8b%7C0%7C0%7C637311232357310913&sdata=1Jamkij%2BSaxretqshK2UkkMRsRIDxzHVgFQIP5i1mFw%3D&reserved=0>.
And here:
https://github.com/bangerth/dealii/blob/66/examples/step-19/step-19.cc#L303-L317
for an example where I'm setting different boundary indicators depending on
the location of a face. These boundary conditions are then used when
interpolating different boundary conditions here:
https://github.com/bangerth/dealii/blob/66/examples/step-19/step-19.cc#L340-L354
This is eventually going to become step-19.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.colostate.edu/~bangerth/
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/8c48a006-dff5-4333-fc96-2c3a0a28d4e3%40colostate.edu.