Dataset
COMSOL Multiphysics model datasets for AI training
A COMSOL dataset is a collection of COMSOL Multiphysics model files (.mph), each holding a model tree of parameters, geometry sequences, materials, physics interfaces, multiphysics couplings, meshes, studies and results, sometimes with a simulation app built on the model and the Java or MATLAB model file that scripts it. SourceX sources it to a buyer's spec from established businesses that run COMSOL Multiphysics, such as R&D groups and engineering consultancies. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- COMSOL model files with their model trees, plus model scripts, exported results and simulation apps where kept
- Typical systems
- COMSOL Multiphysics with the add-on modules each model uses, such as AC/DC, Heat Transfer, CFD or RF; Application Builder, Model Manager and LiveLink for MATLAB where used
- Typical history
- Specified by the buyer; versions exist as renamed copies or in Model Manager, and older files often have solutions cleared
- Modality
- Parametric geometry and meshes; model trees and API scripts as text; solution fields as arrays
- Delivery formats
- Agreed per order; .mph files, model files for Java or MATLAB, a JSON extract of the tree, and fields as VTU, CSV or text
- Preparation
- Author names, comments and file paths removed; project and customer names replaced in labels and descriptions
- Licensing
- Rights reviewed per model for ownership of the design and material data; the COMSOL license type and the vendor's terms are checks for the owner and buyer; permitted use set in the license
- Availability
- Sourced to your spec by physics, add-on module and whether solutions were stored; supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| model_id | string | Re-keyed ID for one Model MPH-file, with the COMSOL version that last saved it and the add-on modules it requires. |
| parameters | array | Global Definitions, Parameters: each name, its expression with the unit in brackets, such as 40[um], and its description. |
| geometry_sequence | array | Each Component's space dimension and its Geometry node's features in order, such as Block, Extrude, Import and Form Union. |
| selections | array | Named selections and the domain, boundary, edge or point numbers each resolves to. |
| materials | array | Material nodes with property expressions, the selection each applies to, and whether the data is built-in, from the Material Library or user-defined. |
| physics_interfaces | array | Each physics interface with its tag, such as ec, ht or spf, dependent variables and feature nodes with their selections and expressions. |
| multiphysics_couplings | array | Nodes under Multiphysics, such as Electromagnetic Heating or Thermal Expansion, with the interfaces each one couples. |
| equation_contributions | array | Equations the user typed: Coefficient Form and Weak Form PDE nodes, weak contributions and edited Equation View expressions. |
| mesh | object | The Mesh sequence's operations, such as Size, Free Tetrahedral and Swept, and element counts where the mesh is built. |
| studies | array | Study nodes with their Study steps, such as Stationary, Time Dependent or Eigenfrequency, sweeps and Solver Configurations. |
| results | object | Whether a solution is stored, the Datasets under Results, Derived Values and Tables, and the exported field files. |
| model_script | object | The Model File for Java or MATLAB saved from the model, and whether its history was compacted. |
| application | object | Application Builder forms and method code saved in the same file, or null when the model has no app. |
Field names from the table above; values are masked placeholders.
Example record
{
"model_id": "mph_4e91b7",
"saved_in": {"version": "6.2", "modules": ["AC/DC Module"]},
"parameters": [
{"name": "w_trace", "expression": "40[um]", "description": "Heater trace width"},
{"name": "V_in", "expression": "3.3[V]", "description": "Drive voltage"}
],
"geometry_sequence": [
{
"component": "comp1",
"dimension": "3D",
"features": ["blk1 Block", "wp1 Work Plane", "ext1 Extrude", "fin Form Union"]
}
],
"selections": [{"tag": "sel1", "label": "Input pad", "level": "boundary", "entities": [14]}],
"materials": [
{
"tag": "mat2",
"label": "Trace metal",
"source": "user_defined",
"electricconductivity": "sigma0/(1+alpha*(T-T_ref))"
}
],
"physics_interfaces": [
{
"tag": "ec",
"interface": "Electric Currents",
"dependent_variables": ["V"],
"features": [
{
"tag": "pot1",
"type": "Electric Potential",
"selection": "sel1",
"V0": "V_in"
}
]
},
{
"tag": "ht",
"interface": "Heat Transfer in Solids",
"dependent_variables": ["T"],
"features": [{"tag": "hf1", "type": "Heat Flux", "h": "12[W/(m^2*K)]"}]
}
],
"multiphysics_couplings": [{"tag": "emh1", "type": "Electromagnetic Heating", "couples": ["ec", "ht"]}],
"equation_contributions": [],
"mesh": {
"sequence": ["Size", "Free Triangular", "Swept"],
"built": true,
"elements": 48212
},
"studies": [
{
"tag": "std1",
"steps": ["Stationary"],
"parametric_sweep": {"parameter": "V_in", "values": "range(1,0.5,5)"}
}
],
"results": {
"solution_stored": true,
"derived_values": [{"expression": "maxop1(T)", "unit": "K", "table_rows": 9}],
"fields_file": "mph_4e91b7/fields.vtu"
},
"model_script": {"file": "mph_4e91b7/model.java", "history_compacted": false},
"application": null
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Train surrogates for coupled fields
Parameters, geometry and physics settings paired with swept solutions support learned solvers for coupled problems such as resistive heating.
Teach multiphysics model setup
Complete trees show which interfaces, couplings, boundary conditions and study steps an engineer chose for a device.
Fine-tune models on the COMSOL API
Model scripts pair each node of a working model with the API call that creates it.
Learn equation-level modeling
User-typed PDE coefficients, weak contributions and unit-checked expressions link written mathematics to models that solve.
Evaluate engineering agents
Held-out models test whether an agent can build a tree that computes and reproduces a stored Derived Value.
Use-case guides: Coding agents, Private evaluation sets, Robotics and embodied AI
What makes this data valuable
Solution status stated
Each file is marked as solved or setup only.
Named selections
Boundary conditions refer to labeled selections, not only to clicked entity numbers.
Native geometry sequences
Geometry is built from parameterized features and rebuilds at new dimensions.
Described parameters
Parameters carry units and descriptions that say what each one is.
Stored sweeps
Solutions cover many parameter values or output times, not a single case.
History kept
Model scripts are uncompacted, or Model Manager versions show how a model changed.
Process
COMSOL dataset
One tree holds every physics and its couplings
A COMSOL model is a tree, and the .mph file is that tree saved whole. Global Definitions holds the Parameters. Each Component holds its Definitions, a Geometry sequence, Materials, one node per physics interface, a Multiphysics node and a Mesh. In a resistive heating model, Electric Currents and Heat Transfer in Solids are sibling nodes in one Component, and an Electromagnetic Heating node under Multiphysics names both and passes the resistive loss to the thermal equation as a heat source. Many simulation suites split a coupled problem across separate solver products that exchange data. Here the entire coupled problem is stated in one file.
Almost every settings field also takes a typed expression. A conductivity can be entered as a function of the temperature T solved by another interface, and a quantity carries its unit in square brackets, as in 40[um]. COMSOL checks those units and flags an expression whose units are inconsistent. Equation View shows the variables and weak-form terms each node contributes, and the mathematics interfaces, such as Coefficient Form PDE and Weak Form PDE, hold equations the user typed outright. The governing setup is readable text, not a menu choice.
Three limits follow. A boundary condition points at geometry through a selection, and one made by clicking is stored as entity numbers, such as boundaries 4, 7 and 12, which mean nothing without the finalized geometry and can change when the geometry sequence is edited. The tree holds only the current state of each node, so an earlier setting is gone unless the model history, a renamed copy or a Model Manager version kept it. And a Dataset in COMSOL is a Results node that points at a solution or a cut through it, not a training dataset.
A file holds the setup, the solution or a script
Two .mph files of the same problem can differ enormously in size, because a model can be saved with its built meshes and solutions or with them cleared. A cleared file still opens with every setting intact, but producing fields from it means computing the study again, which needs COMSOL, its add-on modules and solve time. A stored solution is also selective. By default a Time Dependent study stores the output times the analyst listed, interpolated from the solver's own steps, and not every step it took. The solution is the dependent variables on the mesh at their discretization order. Fluxes and stresses are evaluated from them on request, so an export has to name the expressions, the points and the units.
COMSOL can also save a model as a Model File for Java or for MATLAB: a text file of API calls that recreate the tree node by node, from model.param().set to the solver sequence. It holds no solution. It does hold the model history, a record of the changes made since the history was last compacted, corrections and overridden settings included. Uncompacted, the script is a trace of how the analyst worked. Compacted, it is a clean recipe for the final model. A script names imported CAD and data files by path, so those files must be delivered or the script stops where it reads them.
To test a sample, open three models in the COMSOL version the supplier states, since a file saved in a newer version does not open in an older one. Rebuild the geometry and mesh, compute one study again and compare a Derived Values table with the stored one. Where a simulation app is in scope, ask for the .mph that holds its Application Builder forms and method code, not a compiled app.
What to check before licensing
- Ask for an inventory per model: the COMSOL version that saved it, the add-on modules it needs, and whether meshes, solutions and a model script exist.
- Confirm who owns the device design each model represents. Consultancies often model a client's product, and the client has to clear its release.
- List every material by source, whether built-in, from the Material Library, measured in-house or from a supplier's data sheet, and confirm each may be licensed, masked or excluded.
- Ask which license type each model was built under, and confirm with counsel that no model made under an academic or classroom license is offered commercially against its terms.
- Have the buyer and the data owner each check COMSOL's license terms on model files, exported data and API use against the intended use, with counsel.
- Compute one study again on a sample model, compare a Derived Values table with the stored one, and run one model script in an empty session.
- Search file properties, node labels, comments, import paths and method code for client and personal names, and ask whether any modeled device is export-controlled.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Do I need a COMSOL license to use the data?
Not for the exported parts. Model files for Java or MATLAB are plain text, and solved fields can be delivered as VTU, CSV or text exported by the supplier. You do need COMSOL Multiphysics to open an .mph file, and the add-on modules a model uses to compute a study again or run its model script. Ask the supplier which modules each model requires.
Are solved fields included in every .mph file?
No. A model can be saved with its meshes and solutions or with them cleared. A file without a solution still holds the full setup and can be computed again. State in your request whether you need solved fields or only reproducible setups, and ask for an inventory marking which models hold a solution.
What is the difference between an .mph file and a Model File for Java?
The .mph file is the binary model, and the Java file is a script that rebuilds it. The .mph can carry meshes, solutions and plots. The Java or MATLAB file carries none of those but shows every API call, and unless its history was compacted it also shows settings the analyst tried and replaced.
Can the models be solved again to generate more data?
Often yes, on your own COMSOL installation. A model with a parameterized geometry sequence and named selections can be swept over new values, while one built on imported CAD or clicked selections tends to break when its geometry changes. Whether you may train on new solutions depends on the dataset license and your own COMSOL license terms.
Can models built under an academic or classroom license be included?
Only if the terms they were built under allow it, so settle that before scoping. Models made under academic or classroom licenses may carry restrictions on commercial use from the vendor's license terms or the institution. Ask the supplier which license type each model was built under, and have counsel confirm with the data owner that licensing those models commercially is allowed.
Is SourceX affiliated with COMSOL?
COMSOL Multiphysics is named to identify the system the records come from. That does not imply a partnership with or endorsement by COMSOL. The records belong to the business that runs COMSOL Multiphysics, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- FEA and CFD simulation cases
Complete simulation cases: geometry, mesh, materials, boundary conditions, solver settings, logs, results and report
- Optical, antenna and RF design files
Optical, antenna and RF circuit design projects with setup, optimization history, simulated results and measurements of built units
- Ansys simulation projects
Ansys Workbench projects with Mechanical and Fluent setups, solver input and logs, retained results and parametric design point tables
- Abaqus finite element models
Abaqus analyses as model databases, keyword input files, output databases and journal scripts, with each job's status and message files
- MATLAB code and Simulink models
MATLAB source, live scripts and MAT-files with Simulink models, libraries and data dictionaries, and the generated code trees built from them
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026.