physics_set_material
Assign materials to physics domains in COMSOL models. Automatically adds from the built-in library if not already present.
Instructions
Assign a material to physics domains.
This tool tries to add the material from COMSOL's built-in library if it's not already in the model.
Args: physics_name: Name of the physics interface material_name: Name of the material (e.g. "Silicon", "Steel AISI 4340", "Copper") 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 |
|---|---|---|---|
| model_name | No | ||
| physics_name | Yes | ||
| material_name | Yes | ||
| domain_selection | No |