Use the Mesh (
) node to export a mesh to file. Mesh export operates directly on datasets and exports the mesh in the frame specified by the dataset. The mesh data can also be exported from datasets that contain meshes, for example, a
Mesh dataset or a
Solution dataset. Right-click the
Export node and select
Mesh,
or right-click a supported dataset node, for example,
Solution or
Mesh, and select
Add Mesh to Export. In the
Settings window for
Mesh, follow these steps to export mesh data:
Select a Dataset. The
Dataset list contains the solution and mesh datasets 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 Multiphysics binary file (*.mphbin) or text file (*.mphtxt) or to an STL binary file (*.stl) or text file (*.stl), if a 3D dataset is selected. Click the downward arrow for the
File Location Actions menu (
) to choose
Copy File Location (
) and (if you have copied a file location)
Paste File Location (
).
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.