<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
hi<br>
<br>
<div class="moz-cite-prefix">On 21/05/14 22:43, Matthew Knepley
wrote:<br>
</div>
<blockquote
cite="mid:CAMYG4Gm5uJ+kbGTqsnyoCai0jRN6Gdp3RhLiOLLohRQMsGq_7A@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Wed, May 21, 2014 at 12:46 AM, Jed
Brown <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="">Adrian Croucher <<a
moz-do-not-send="true"
href="mailto:a.croucher@auckland.ac.nz">a.croucher@auckland.ac.nz</a>>
writes:<br>
> In the 'PhysicsCreate' functions there are calls to
DMPlexAddBoundary(),<br>
> which takes an array of IDs; e.g. in
PhysicsCreate_SW() the IDs are<br>
> {100,101,200,300}. It looks like these IDs define
where the BCs are<br>
> applied, but what do these numbers actually refer
to?<br>
<br>
</div>
They are numbered "face sets" on the Cubit-generated
example mesh.<br>
</blockquote>
</div>
<br>
1) Cubit has a notion of Face Set, which are groups of faces
in the mesh</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">2) These sets are written out as Face
Sets in the ExodusII format</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">3) PETSc reads in the ExodusII format
and creates a label names Face Sets,</div>
<div class="gmail_extra"> where the value is the set label
(like 101) and the points are the set members.</div>
</div>
</blockquote>
<br>
Right, thanks very much for explaining that. I had been looking in
the code to see where those Face Sets label values were being set
up- hadn't realised they were in the mesh file...<br>
<br>
Cheers, Adrian<br>
<pre class="moz-signature" cols="72">--
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
University of Auckland, New Zealand
email: <a class="moz-txt-link-abbreviated" href="mailto:a.croucher@auckland.ac.nz">a.croucher@auckland.ac.nz</a>
tel: +64 (0)9 923 4611
</pre>
</body>
</html>