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 <[email protected]> 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 <[email protected]> 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
>> [email protected]
>> http://onelab.info/mailman/listinfo/gmsh
>>
>
>
> --
> Max Orok
> Contractor
> www.mevex.com
>
>
>
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to