Mesh (Export)
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:
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.
Output
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.
See Importing and Exporting Meshes for information about exporting mesh data using the Export option from the main Mesh node. You can use that mesh export if you want to export the mesh using the NASTRAN format and also if you want to export the mesh before solving. If you have a mesh and want to import it into another model (as a mesh without its geometry) or into some other software package, it might be inconvenient to have to solve first.