<div dir="auto">Defining physical groups or not control what is saved in the .msh file not what is shown in the GUI.<br><br><div data-smartmail="gmail_signature">--<br>jeremy theler<br><a href="http://www.seamplex.com">www.seamplex.com</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 8, 2020, 04:40 Keith Sloan <<a href="mailto:keith@sloan-home.co.uk">keith@sloan-home.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<p><font size="+1">I am new to Gmsh and trying to reproduce the
following but still seeing triangles on the surface.</font></p>
<p><font size="+1">Can I check that when it mentions sphere demo it
is talking about sphere-discrete.geo</font></p>
<p>// merge a surface mesh (any format will work: .msh, .unv, etc.)<br>
<br>
Merge "sphere-surf.stl";<br>
<br>
// add a geometrical volume<br>
<br>
Surface Loop(1) = {1};<br>
Volume(1) = {1};<br>
Physical Volume('tets') = {2};<br>
<br>
// use this to force a coarse mesh inside<br>
//Mesh.CharacteristicLengthExtendFromBoundary = 0;<br>
//Mesh.CharacteristicLengthMax = 0.5;</p>
<p>I have also tried <br>
Physical Volume('tets') = {1};</p>
<p>Previous discussion
</p>
<p>Mark Starnes mark.starnes at <a href="http://fttech.co.uk" target="_blank" rel="noreferrer">fttech.co.uk</a> <br>
Tue May 1 10:42:09 CEST 2012<br>
Previous message: [Gmsh] 3D volume as tetrahedra only<br>
Next message: [Gmsh] 3D electrostatic BEM solver<br>
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]<br>
<br>
Hi Bartek,<br>
<br>
Yes: use a Physical Group definition in your .geo<br>
file, like this:<br>
<br>
Physical Volume('tets') = {2};<br>
<br>
where `2' in this case would be the volume number<br>
assigned to your tetrahedra and 'tets' is a name I<br>
made up.<br>
<br>
Adding a `Physical Group' definition results in<br>
only the groups specified as being physical being<br>
exported.<br>
<br>
Search for, `Physical' in the manual:<br>
<br>
<a href="http://www.geuz.org/gmsh/doc/texinfo/gmsh.html" target="_blank" rel="noreferrer">http://www.geuz.org/gmsh/doc/texinfo/gmsh.html</a><br>
<br>
Best regards,<br>
<br>
Mark.<br>
<br>
<br>
On Tue, May 01, 2012 at 09:15:31AM +0200, Bartek Grychtol wrote:<br>
> Hi,<br>
> <br>
> I'm new to gmsh, just seeing if it can do what I need.<br>
> I have a surface mesh in an stl file. I need to create a nice<br>
> tetrahedral volume mesh,<br>
> but without changing anything on the surface.<br>
> The sphere demo does exactly that.<br>
> However, the generated .msh file contains both triangles (for
the<br>
> surface) and<br>
> tetrahedra (for the volume inside).<br>
> Is there a way (a command or file format) to have the
complete mesh<br>
> represented as tetrahedra only?<br>
> <br>
> Best wishes,<br>
> <br>
> Bartek<br>
> <br>
> _______________________________________________<br>
> gmsh mailing list<br>
> gmsh at <a href="http://geuz.org" target="_blank" rel="noreferrer">geuz.org</a><br>
> <a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank" rel="noreferrer">http://www.geuz.org/mailman/listinfo/gmsh</a><br>
<br>
-- <br>
Dr. Mark Starnes<br>
Principal Physicist<br>
FT Technologies<br>
Church Lane<br>
Teddington<br>
TW11 8PA<br>
<br>
web: <a href="http://www.fttech.co.uk" target="_blank" rel="noreferrer">www.fttech.co.uk</a><br>
DDI: 0208 614 2730<br>
</p>
<br>
<p><br>
</p>
</div>
_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@onelab.info" target="_blank" rel="noreferrer">gmsh@onelab.info</a><br>
<a href="http://onelab.info/mailman/listinfo/gmsh" rel="noreferrer noreferrer" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br>
</blockquote></div>