Use the Mesh (
) node to export a mesh to file. Mesh export operates directly on data sets and exports the mesh in the frame specified by the data set. The mesh data can also be exported from data sets that contain meshes, for example, a
Mesh data set or a
Solution data set. Right-click the
Export node and select
Mesh,
or right-click any data set node, for example,
Solution, and select
Add Mesh to Export. In the
Settings window for
Mesh, follow these steps to export mesh data:
Select a Data set. The
Data set list contains the solution and mesh data sets previously defined. Select
None to not export any mesh data.
Select a File type from the list of available file formats. Enter a
Filename including a path to save it to your computer or click
Browse and navigate to where you want to
Save the output. You can export the mesh to a COMSOL Native file (binary
.mphbin or text
.mphtxt) or to an STL file (
.stl or text
.stl) (if a 3D data set is selected).
Select the Always ask for filename check box if you want the program to always display a dialog box for specifying where to store the mesh.
Click the Export button (
) in the
Settings window or right-click the node and select
Export.