physics_add
Add a physics interface to a COMSOL model, selecting from types like Electrostatics or SolidMechanics, to define governing equations for simulation.
Instructions
Add a physics interface to the model.
Common physics types:
"Electrostatics" or "es": Electrostatic field analysis
"ElectricCurrents" or "ec": Electric current conduction
"SolidMechanics" or "solid": Structural stress analysis
"HeatTransfer" or "ht": Heat transfer in solids
"LaminarFlow" or "spf": Fluid dynamics
Args: physics_type: Type identifier (e.g., "Electrostatics", "es") component_name: Component to add physics to (default: first component) model_name: Model name (default: current model)
Returns: Created physics interface info
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| physics_type | Yes | ||
| component_name | No | ||
| model_name | No |