Supported File Formats


The COMSOL Model file type, with the extension .mph, is the default file type containing the entire model tree and application tree from the Model Builder and Application Builder, respectively. The file contains both binary and text data. The mesh and solution data is stored as binary data, while all other information is stored as plain text.

The COMSOL binary and text file types, with the extension .mphbin and .mphtxt, respectively, contain either geometry objects or mesh objects that can be imported directly to the Geometry or Mesh nodes in the model tree.

The Physics Builder file type, with the extension .mphphb, contains one or more user-defined physics interfaces that you can access from the Model Builder.

ファイルフォーマット 拡張子 読込み 書込み
COMSOL Model and Application .mph はい はい
Binary Data .mphbin はい はい
Text Data .mphtxt はい はい
Physics Builder .mphphb はい はい


The CAD Import Module and Design Module allow for import of a range of industry-standard CAD file types. Additional file types are available through the bidirectional functionality of the LiveLink products for CAD as well as with the File Import for CATIA® V5 add-on.

The DXF (2D), VRML (3D), and STL (3D) file types are available for import with COMSOL Multiphysics and do not require any add-on products. Unless noted otherwise in the table below, import of the listed file types is available on all supported versions of Linux®, Mac OS X, and Windows® operating systems.

ファイルフォーマット 拡張子 インポート エクスポート
AutoCAD®1,2,3 .dwg はい Yes9
Inventor®1,2,3 .ipt,.iam はい Yes9
NX®1,4 .prt はい いいえ
PTC® Creo® Parametric1,3 .prt,.asm はい Yes9
PTC® Pro/ENGINEER®1,3 .prt,.asm はい Yes9
Revit® Architecture3,5 .rvt Yes9 Yes9
Solid Edge®3,6 .par,.asm Yes9 Yes9
SOLIDWORKS®1,2,3 .sldprt,.sldasm はい Yes9
DXF (3D1,2 and 2D) .dxf はい Yes10
Parasolid®1 .x_t,.xmt_txt,.x_b,.xmt_bin はい はい
ACIS®1 .sat,.sab,.asat,.asab はい はい
STEP1 .step,.stp はい いいえ
IGES1 .iges,.igs はい いいえ
CATIA® V52,7 .CATPart,.CATProduct はい いいえ
VRML, v18 .vrml,.wrl はい いいえ
STL8 .stl はい はい

1次のうちの一つの製品が必要です. LiveLink™ for AutoCAD®, Revit®, PTC® Creo® Parametric™, Inventor®, PTC® Pro/ENGINEER®, Solid Edge®,SOLIDWORKS®, CAD インポートモジュール, 設計モジュール
2インポートは Windows OS だけでサポートされています.
3COMSOL Multiphysics® とリンクした CAD プログラムは Windows® 7, 8, 8.1 OSでのみサポートされています.
4インポートは Windows® および Linux OSでのみサポートされています.
5LiveLink™ for Revit® が必要です.
6LiveLink™ for Solid Edge® が必要です.
7CAD インポートモジュール (もしくは設計モジュール, もしくは次のうちの一つ: LiveLink™ for AutoCAD®, PTC® Creo® Parametric™, Inventor®, PTC® Pro/ENGINEER®, Solid Edge®, SOLIDWORKS®) と File Import for CATIA® V5 が必要です.
9リンクした CAD パッケージを使ったファイルへの, またはファイルからのインポートとエクスポート. ただし, 元のジオメトリが CAD パッケージで作れられていた場合に限ります.
10ファイルへの書き出しは 2D ジオメトリのみがサポートされています.


The ECAD Import Module allows for import of 2D layout files with automatic conversion to 3D CAD models. The Touchstone file type is used for exporting S-parameters, impedance, and admittance values from simultaneous port and frequency sweeps. The SPICE Circuit Netlist file type is converted at import to a series of lumped circuit element nodes under an Electrical Circuit node, in the model tree.

ファイルフォーマット 拡張子 読込み 書込み
NETEX-G1 .asc はい いいえ
ODB++1 .zip,.tar,.tgz,.tar.gz はい いいえ
ODB++(X)1 .xml はい いいえ
GDS1 .gds はい いいえ
Touchstone2 .s2p, .s3p, .s4p, ... いいえ はい
SPICE Circuit Netlist3 .cir はい いいえ

1Requires the ECAD Import Module
2Requires one of the AC/DC Module, RF Module, MEMS Module, or Wave Optics Module
3Requires one of the AC/DC Module, RF Module, MEMS Module, Plasma Module, or Semiconductor Module

Material Databases

The Chemical Reaction Engineering Module and the Plasma Module can read CHEMKIN® files to simulate complex chemical reactions in the gas phase. The Plasma Module can read LXCAT files for sets of electron impact collision cross sections.

ファイルフォーマット 拡張子 読込み 書込み
CHEMKIN®1 .dat, .txt, .inp3 はい いいえ
CAPE-OPEN (direct connection)1 n/a N/A N/A
LXCAT file2 .lxcat,.txt はい いいえ

1 Any file format is allowed, these are the most common extensions
2Requires the Plasma Module
3Any extension is allowed; These are the most common extensions


The NASTRAN® Bulk Data file types are used to import a volumetric mesh. The VRML and STL file types are used to import a triangular surface mesh and cannot be used for creating a volumetric mesh. If imported as a geometry, VRML and STL files can be used as a basis for creating a volumetric mesh for a single geometric domain

ファイルフォーマット 拡張子 読込み 書込み
NASTRAN® Bulk Data .nas, .bdf, .nastran, .dat はい はい
STL .stl はい はい
VRML, v1 .vrml, .wrl はい いいえ
VTK .vtu いいえ はい


Results visualization can be exported to a number of common image file types; See the table below. Images can also be read and used as interpolation functions for physics modeling. Animations can be exported to one of the Animated GIF, Adobe® Flash®, and AVI file types.

ファイルフォーマット 拡張子 読込み 書込み
Adobe® Flash® .swf いいえ はい
Animated GIF .gif いいえ はい
AVI1 .avi いいえ はい
BMP .bmp はい はい
EPS (1D graphs) .eps いいえ はい
GIF .gif はい はい
JPEG .jpg, .jpeg はい はい
MP42 .mp4 はい いいえ
OGV2 .ogv はい いいえ
PNG .png はい はい
TIFF .tif, .tiff いいえ はい
WEBM2 .webm はい いいえ

1Windows でのみ使用可能です.

2Windows® におけるアプリケーションビルダーのビデオフォームオブジェクトで使用可能です.


Model files for Java® are editable files with the extension .java that contain sequences of COMSOL commands as Java® code. Edit the files in a text editor to add additional commands. You can compile these Java® files into Java® Class files with the extension .class and run them as separate applications. Program code used in model files for Java® is essentially identical to that of the Method editor in the Application Builder. However, the Method editor comes with an integrated Java® compiler.

Model files for MATLAB® are editable script files (M files), similar to the model files for Java®, for use with MATLAB®. These model files, which have the extension .m, contain a sequence of COMSOL commands as a MATLAB® M file. You can run the model files in MATLAB® like any other M file scripts. It is also possible to edit the files in a text editor to include additional COMSOL commands or general MATLAB® commands. Running model files in the M file format requires LiveLink™ for MATLAB®.

With a license for LiveLink™ for Excel®, you can save models on the Visual Basic for Applications (VBA) format for use with Excel®.

Complied C-code can be linked with a model or application in several ways including the External Material and External Function interfaces in the Model Builder and as the External Library interface in the Application Builder.

ファイルフォーマット 拡張子 読込み 書込み
MATLAB®: Model file for MATLAB® .m いいえ はい
MATLAB®: Function1 .m はい いいえ
Java®: Archive File .jar6 はい いいえ
Java®: Compiled model file for Java® .class はい いいえ
Java®: Model file for Java® .java いいえ はい
C: Function .dll3, .so4, .dylib5 はい いいえ
Excel®2 .xlsx,.vba はい はい

1LiveLink™ for MATLAB® が必要です.
2LiveLink™ for Excel® が必要です. Windows® のみで使用可能です.
3Windows® だけで使用可能です.
4Linux® だけで使用可能です.
5Mac OS X だけで使用可能です.

Numerical and Interpolation Data Formats

The grid, sectionwise, and spreadsheet file types can be read for defining interpolation functions. The sectionwise and spreadsheet file types can furthermore be read and used for defining interpolation curves and written for exporting results. In addition, tables can be copy-pasted on spreadsheet format.

Parameters and Variables can be imported and exported to the Plain text, Comma-separated values, or Data file types.

The Continuous and Discrete color table text file types are used for user-defined color tables for Results visualization.

Digital Elevation Model (DEM) files can be read and used as a Parametric Surface for defining a Geometry.

ファイルフォーマット 拡張子 読込み 書込み
Copy and paste spreadsheet format n/a はい はい
Excel® spreadsheet1 .xlsx はい はい
Table .txt, .csv, .dat はい はい
Grid .txt はい はい
Sectionwise .txt, .csv, .dat はい はい
Spreadsheet .txt, .csv, .dat はい はい
Parameters .txt, .csv, .dat はい はい
Variables .txt, .csv, .dat はい はい
Continuous and Discrete color table .txt はい いいえ
Point data for Cut Point data sets .txt はい いいえ
DEM .dem はい いいえ
VTK .vtu いいえ はい

1LiveLink™ for Excel® が必要です. Windows® のみでサポートされています.