Supported File Formats

COMSOL®


The COMSOL Model filetype, with the extension .mph, is the default file type containing the entire Model Tree. The file contains both binary and text data.The mesh and solution data are stored as binary data while all other information is stored as plain text.

The COMSOL Model filetype, with the extension .mph, is the default file type containing the entire Model Tree. The file contains both binary and text data.The mesh and solution data are 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 which can be imported directly to the Geometry or Mesh branches in the Model Tree.

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

Datei Format Dateiendung Lesen Schreiben
COMSOL Modelle .mph Ja Ja
Binärdaten .mphbin Ja Ja
Text Dateien .mphtxt Ja Ja
Physics Builder .mphphb Ja Ja

MCAD


The CAD Import Module allows 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 don’t require any add-on products.

Datei Format Dateiendung Lesen Schreiben
AutoCAD® (3D only)1 .dwg Ja8 Ja8
Autodesk Inventor®2,3 .ipt, .iam Ja Ja8
Creo™ Parametric2 .prt, .asm Ja Ja8
Pro/ENGINEER® .prt, .asm Ja Ja8
Solid Edge® 4 .par, .asm Ja8 Ja8
SolidWorks®2,3 .sldprt, .sldasm Ja Ja8
SpaceClaim®5 .scdoc Ja8 Ja8
DXF (2D only) .dxf Ja Ja
Parasolid®2 .x_t, xmt_txt, .x_b, .xmt_bin Ja Ja
ACIS®2 .sat, .sab, .asat, .asab Ja Nein
STEP2 .step, .stp Ja Nein
IGES2 .iges, .igs Ja Nein
CATIA® V53,6 .CATPart, .CATProduct Ja Nein
VRML, v17 .vrml, .vrl Ja Nein
STL7 .stl Ja Ja

1Benötigt den LiveLink for AutoCAD®
2Benötigt eines der LiveLink Produkte für AutoCAD®, PTC® Creo Parametric®, Inventor®, Pro/ENGINEER®, SolidWorks® oder SpaceClaim® CAD Systeme, oder das CAD Import Module
3Import wird nur unter Windows® unterstützt.
4Benötigt den LiveLink for Solid Edge®
5Benötigt den LiveLink for SpaceClaim®
6Benötigt das CAD Import Module (oder eines der LiveLink Produkte für LiveLink for AutoCAD®, PTC® Creo Parametric®, Inventor®, Pro/ENGINEER®, SolidWorks® oder SpaceClaim®) und den File Import for Catia®V5
7Eingeschränkte Funktionalität für ein einziges geometrisches Gebiet
8Laden und Speichern von Dateien der verlinkten CAD-Programme

ECAD


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.

Datei Format Dateiendung Lesen Schreiben
NETEX-G1 .asc Ja Nein
ODB++1 .zip, .tar, .tgz, .gz, .Z Ja Nein
ODB++(X)1 .xml Ja Nein
GDS II1 .gds Ja Nein
Touchstone .s2p, .s3p, .s4p, ... Nein Ja
SPICE Circuit Netlist2 .cir Ja Nein

1Requires the ECAD Import Module
2Requires one of the AC/DC, RF, MEMS, or Plasma Modules

Material Databases


The Chemical Reaction Engineering 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.

Datei Format Dateiendung Lesen Schreiben
CHEMKIN® .dat, .txt, .inp3 Ja Nein
CAPE-OPEN1 (direct connection) n/a n/a n/a
LXCAT file2 .lxcat, .txt Ja Nein

1 Requires Chemical Reaction Engineering Module
2 Requires Plasma Module
3 Any file format is allowed, these are the most common extensions

Numerische Daten, Bilder und Videos


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.

Datei Format Dateiendung Lesen Schreiben
JPEG .jpg, .jpeg Ja Ja
PNG .png Ja Ja
BMP .bmp Ja Ja
.tif, .tiff .bmp Nein Ja
GIF .gif Ja Ja
EPS (1D graphs) .eps Nein Ja
Animated GIF .gif Nein Ja
Adobe® Flash® .swf Nein Ja
AVI1 .bmp Nein Ja

1Nur unter Windows verfügbar

Interpolationsdaten


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.

Datei Format Dateiendung Lesen Schreiben
Copy and paste spreadsheet format n/a Ja Ja
Excel® spreadsheet1 .xlsx Ja Ja
Table .txt, .csv, .dat Ja Ja
Grid .txt Ja Ja
Sectionwise .txt, .csv, .dat Ja Ja
Spreadsheet .txt, .csv, .dat Ja Ja
Parameters .txt, .csv, .dat Ja Ja
Variables .txt, .csv, .dat Ja Ja
Continuous and Discrete color table .txt Ja Nein
DEM .dem Ja Nein

1Benötigt den LiveLink for Excel®, nur unter Windows® verfügbar

Netz


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, then VRML and STL files can be used as a basis for creating a volumetric mesh for a single geometric domain.

Datei Format Dateiendung Lesen Schreiben
NASTRAN® Bulk Data .nas, .bdf, .nastran, .dat Ja Ja
VRML, v1 .vrml, .wrl Ja Nein
STL .stl Ja Ja

Programmiersprachen


Model Java® files are editable script files, with the extension .java, that contain sequences of COMSOL Multiphysics 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.

Model M-files are editable script files, similar to the Model Java® files, for use with MATLAB®. Model M-files, which have the extension .m, contain a sequence of COMSOL Multiphysics commands as a MATLAB® M-file. Run the Model M-files in MATLAB® like any other M-file scripts. Also edit the files in a text editor to include additional COMSOL Multiphysics commands or general MATLAB® commands. Running files in the Model M-file format requires the LiveLink for MATLAB®.

Datei Format Dateiendung Lesen Schreiben
MATLAB®: Model M-File .m Nein Ja
MATLAB®: Function1 .m Ja Nein
Java®: Model Java® File .java Nein Ja
Java®: Model Class File .class Ja Nein
C: Function .dll3, .so4, .dylib5 Ja Nein
Excel®2 .xlsx Ja Ja

1Benötigt den LiveLink for MATLAB®
2Benötigt den LiveLink for Excel®, nur unter Windows® verfügbar
3Nur unter Windows® verfügbar
4Nur unter Linux® verfügbar
5Nur unter Mac OS X verfügbar