physics_set_material
Assign a specific material to chosen domains of a physics interface in a COMSOL model, enabling material property definition for simulation.
Instructions
Assign a material to physics domains.
Args: physics_name: Name of the physics interface material_name: Name of the material to assign domain_selection: Domain numbers (default: all domains for this physics) model_name: Model name (default: current model)
Returns: Assignment confirmation
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": {
"physics_name": "<physics_name>",
"material_name": "<material_name>"
},
"name": "physics_set_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| physics_name | Yes | ||
| material_name | Yes | ||
| domain_selection | No | ||
| model_name | No |