physics_set_material
Assign a specific material to selected physics domains in a COMSOL model to define physical properties for accurate 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
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| physics_name | Yes | ||
| material_name | Yes | ||
| domain_selection | No | ||
| model_name | No |