Hi,
You may use the function Boundary:
Boundary { transform-list }
(Not a transformation per-se.) Returns the entities on the boundary of the
elementary entities in transform-list, with signs indicating their orientation
in the boundary. To get unsigned tags (e.g. to reuse the output in other
commands), apply the Abs function on the returned list.
For instance:
vol_air=newv; Box(vol_air) = {0, 0, 0, 1, 1, 1};
bnd_air() = Boundary{Volume{vol_air};};
bnd_air() contains the list of surfaces you are looking for.
Regards,
Ruth
—
Prof. Ruth V. Sabariego
KU Leuven
Dept. Electrical Engineering ESAT/Electa, EnergyVille
http://www.esat.kuleuven.be/electa
http://www.energyville.be
Free software: http://gmsh.info | http://getdp.info | http://onelab.info
On 17 Oct 2017, at 11:56, ISABELA PAREDES CISNEROS
<[email protected]<mailto:[email protected]>> wrote:
Hello,
I am creating volumes using the OpenCASCADE kernel, such as "Box" and
"Cylinder".
Is there any way I can obtain the surfaces (loop) defining these volumes? I
need them to define Physical Surfaces.
Thanks for your help!
Best,
Isabela
_______________________________________________
gmsh mailing list
[email protected]<mailto:[email protected]>
http://onelab.info/mailman/listinfo/gmsh
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh