phys_add
Adds a physics interface to a COMSOL component and validates the requested type against the COMSOL 6.4 catalog, checking geometry dimensions and returning close matches for unknown types.
Instructions
Add a physics interface to a component (e.g. HeatTransfer, SolidMechanics).
The interface type is validated against the COMSOL 6.4 catalog; an unknown type returns close matches. The target geometry's space dimension is checked as well (e.g. LaminarFlow needs 2D/3D).
Args: type: catalog interface type, e.g. "HeatTransfer", "SolidMechanics", "LaminarFlow", "Electrostatics", "PressureAcoustics", "ElectromagneticWavesFrequencyDomain", "DilutedSpecies". Tag prefixes ("ht") and descriptions are accepted too. tag: interface tag (None = catalog default prefix + number, e.g. "ht"). label: optional display label (e.g. "Heat Transfer in Solids"). geom: target geometry tag (None = first geometry of the component). component: component tag (None = first component). extra_dims: optional extra-dimension tags for reduced models. model: model name/tag (None = current model).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type": "<type>"
},
"name": "phys_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| geom | No | ||
| type | Yes | ||
| label | No | ||
| model | No | ||
| component | No | ||
| extra_dims | No |