<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Hi, </div>
<div class="">You may use the function Boundary:</div>
<div class=""><br class="">
</div>
<div class=""><dt style="line-height: 1.35; color: rgb(37, 37, 37); font-family: helvetica, sans-serif; font-size: 15.199999809265137px;" class="">
<code style="line-height: 1.35; font-size: 11.732500076293945px;" class="">Boundary { <var style="line-height: 1.35;" class="">transform-list</var> }</code><a name="index-Boundary-_007b-transform_002dlist-_007d" style="line-height: 1.35; color: rgb(26, 13, 171); background-image: none;" class=""></a></dt><dd style="line-height: 1.35; color: rgb(37, 37, 37); font-family: helvetica, sans-serif; font-size: 15.199999809265137px;" class="">
<div style="line-height: 1.35; margin: 0.8em 0px;" class="">(Not a transformation per-se.) Returns the entities on the boundary of the elementary entities in <var style="line-height: 1.35;" class="">transform-list</var>, with signs indicating their orientation
in the boundary. To get unsigned tags (e.g. to reuse the output in other commands), apply the <code style="line-height: 1.35; font-size: 11.732500076293945px;" class="">Abs</code> function on the returned list.</div>
</dd></div>
<div class=""><br class="">
</div>
<div class="">For instance:</div>
<div class="">vol_air=newv; Box(vol_air) = {0, 0, 0, 1, 1, 1};</div>
<div class="">bnd_air() = Boundary{Volume{vol_air};};</div>
<div class=""><br class="">
</div>
<div class="">bnd_air() contains the list of surfaces you are looking for.</div>
<div class=""><br class="">
</div>
<div class="">Regards,</div>
<div class="">Ruth </div>
<br class="">
<div class="">
<div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
—<br class="">
Prof. Ruth V. Sabariego<br class="">
KU Leuven <br class="">
Dept. Electrical Engineering ESAT/Electa, EnergyVille<br class="">
<a href="http://www.esat.kuleuven.be/electa" class="">http://www.esat.kuleuven.be/electa</a></div>
<div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<a href="http://www.energyville.be" class="">http://www.energyville.be</a></div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<br class="">
</div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Free software: <a href="http://gmsh.info" class="">http://gmsh.info</a> | <a href="http://getdp.info" class="">http://getdp.info</a> | <a href="http://onelab.info" class="">http://onelab.info</a><br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
</div>
</div>
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 17 Oct 2017, at 11:56, ISABELA PAREDES CISNEROS <<a href="mailto:iparedes1@uc.cl" class="">iparedes1@uc.cl</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">
<div class="">
<div class="">
<div class="">
<div class="">Hello,<br class="">
<br class="">
</div>
I am creating volumes using the OpenCASCADE kernel, such as "Box" and "Cylinder".
<br class="">
</div>
Is there any way I can obtain the surfaces (loop) defining these volumes? I need them to define Physical Surfaces.
<br class="">
<br class="">
</div>
Thanks for your help!<br class="">
<br class="">
</div>
Best,<br class="">
<br class="">
</div>
Isabela<br class="">
</div>
_______________________________________________<br class="">
gmsh mailing list<br class="">
<a href="mailto:gmsh@onelab.info" class="">gmsh@onelab.info</a><br class="">
http://onelab.info/mailman/listinfo/gmsh<br class="">
</div>
</blockquote>
</div>
<br class="">
</body>
</html>