[Dune] Boundary IDs of the faces of a cube within the DGF file

Dedner, Andreas A.S.Dedner at warwick.ac.uk
Mon May 13 15:41:08 CEST 2013


Hi.
You can use the interval block to define your domain (like in 2d) but that has nothing to do with the
boundary ids. Have a look at the boundarydomain block which should do exactly what you need
(it also uses an "interval" to define a region with the same boundary id).
Best
Andreas
________________________________
From: dune-bounces+a.s.dedner=warwick.ac.uk at dune-project.org [dune-bounces+a.s.dedner=warwick.ac.uk at dune-project.org] on behalf of Sacconi, Andrea [a.sacconi11 at imperial.ac.uk]
Sent: 13 May 2013 14:37
To: dune at dune-project.org
Subject: [Dune] Boundary IDs of the faces of a cube within the DGF file

Hi everybody,

I would like to ask you a question about how to prescribe boundary IDs within a DGF file.
I just had a closer look at the DGF format, but I couldn't find how to do what I need.

Let's say that the domain for your computations is a cube (or a rectangular cuboid, it doesn't matter), and you want to impose different boundary conditions on the six faces.
In order to do that, I would introduce different boundary IDs to be read in the code, to guarantee that the faces are treated accordingly.

If you want to assign the same ID to all the faces of elements lying on a certain big face of the cube, is it possible to do it directly, without enumerating all those faces?
I mean, in 2D there is the excellent command "Interval".
What happens if I use the keyword "Interval" (in 3D), passing the four segments forming the perimeter of the (big) face?

Thanks in advance!

Andrea
__________________________________________________________

Andrea Sacconi
PhD student, Applied Mathematics
AMMP Section, Department of Mathematics, Imperial College London,
London SW7 2AZ, UK
a.sacconi11 at imperial.ac.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20130513/81599ffc/attachment.htm>


More information about the Dune mailing list