Search code examples
computational-geometrymesh

how to create computational mesh of a geometry with known level set function definition of its boundary


I have a level set function, that defines a "flower like" shape geometry. I want to create a 2D fitted computational mesh around this flower geometry (flower geometry inside a unit square) with a free meshing tool but no free tool seems to work with level set definitions. Anyone knows such meshing tool that I can use?

I have visitied FreeFem, ngsolve and fenicsproject tools but none was working to create a fitted mesh around a level set defined geometry.

Thanks in advance.


Solution

  • To plot an isosurface, you can

    • use Python with the PyVista library;

    • use R with the rmarchingcubes and rgl libraries;

    • use CalcPlot3D online (select "implicit surface").

    All these ways produce an interactive graphic.