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
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| physics_name | Yes | ||
| material_name | Yes | ||
| domain_selection | No | ||
| model_name | No |