Mesh (Export)
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:
Data
Select a Dataset. The Dataset list contains the solution and mesh datasets 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 also click the downward arrow beside the Browse button and choose Browse From () to open the fullscreen Select File window. 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 Location menu () to choose Edit Location () (if it is a database location), Copy Location (), and (if you have copied a file location) Paste Location ().
Select the Always ask for filename check box (only available if you are not saving to a database) 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 (). You can also click the downward arrow beside the Export button or right-click and choose Export To () to open the fullscreen Export window for exporting to a database.
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.