[Gmsh] Adding second-order nodes to tet4
jeremy theler
jeremy at seamplex.com
Thu Mar 19 12:56:55 CET 2020
Yes, but the difficult part here is to know if a new node needs to be added
or another element already added it, and in such case what is the
already-added node id.
Maybe Gmsh already has this somewhere near the "refine by splitting" tool.
--
jeremy theler
www.seamplex.com
On Thu, Mar 19, 2020, 08:51 Max Orok <morok at mevex.com> wrote:
> Hi Jeremy,
>
> Going through the API shouldn't be too bad..
>
> - going over the triangle elements
> - find midpoint nodes
> - either use addElements or find the element format and make them on
> the fly
>
> Could you maybe send a small piece of the mesh file to try out?
>
> Max
>
> On Thu, Mar 19, 2020 at 7:10 AM Jeremy Theler <jeremy at seamplex.com> wrote:
>
>> Hi All
>>
>> Say I have a .msh file with first-order tetrahedra and triangles. How
>> can I ask Gmsh to convert these tet4 and tria3 to tet10 and tria6 by
>> adding mid-edge nodes? Something like "refine by splitting" but for p
>> instead for h.
>>
>> I only have the .msh file, not the original geometry.
>>
>> Any ideas?
>>
>> Regards
>> --
>> jeremy theler
>> www.seamplex.com
>>
>>
>>
>>
>> _______________________________________________
>> gmsh mailing list
>> gmsh at onelab.info
>> http://onelab.info/mailman/listinfo/gmsh
>>
>
>
> --
> Max Orok
> Contractor
> www.mevex.com
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20200319/c4fa9cf1/attachment.html>
More information about the gmsh
mailing list