Message Boards Message Boards

0
|
4885 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Is ToElementMesh missing from the Home Edition?

Posted 3 years ago

Hi,

I am running Mathematica 12.1.1.0 on Mac OS 10.15.6 and I imported an .stl file

taged = Import[path <> "/_taged.stl"]

I can check the header:

In[35]:= Head[taged]
Out[35]= MeshRegion

I can count its volume:

In[43]:= RegionMeasure[taged]
Out[43]= 573.635

but when I try to convert it into an ElementMesh, Mathematica gives me back to command. So, I copied to an example from the online documentation:

In[57]:= em = ToElementMesh[Disk[]]
Out[57]= ToElementMesh[Disk[{0, 0}]]

Any good hint?

POSTED BY: Janos Lobb
2 Replies
Posted 3 years ago

It was not. Now I added with:

Needs["NDSolve`FEM`"]

and after a kernel restart I am getting /ToElementMesh is in RED color/:

In[71]:= em = ToElementMesh[taged]
During evaluation of In[71]:= TetGenLink`TetGenTetrahedralize::reterr
During evaluation of In[71]:= NDSolve`FEM`ToElementMesh::femtemnm
Out[71]= $Failed

The stack trace is in the attached file. I do not want a volume Mesh, because the .stl file is a 3D surface boundary, so I need a surface mesh to feed it to NDSolve.

Attachment

Attachments:
POSTED BY: Janos Lobb

Have you loaded the NDSolve FEM package?

POSTED BY: Ian Williams
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract