physics_boundary_selection
Configure boundary conditions in COMSOL by selecting a physics interface, condition type, boundary numbers, and required properties for simulation setup.
Instructions
Generic boundary condition setup with boundary selection.
Use this tool to configure any boundary condition by specifying:
The physics interface name
The boundary condition type
The boundary numbers to apply the condition to
Properties specific to the boundary condition
Common boundary condition types by physics:
Heat Transfer (ht):
Temperature: Set T0 (temperature)
HeatFlux: Set q0 (heat flux)
ConvectiveHeatFlux: Set h (coefficient), Text (ambient temp)
Laminar Flow (spf):
InletBoundary: Set U0 (velocity)
OutletBoundary: Set p0 (pressure)
Wall: No-slip wall
Solid Mechanics (solid):
Fixed: Fixed constraint
BoundaryLoad: Set Fx, Fy, Fz or FAx, FAy, FAz
Args: physics_name: Name or label of the physics interface boundary_condition_type: Type of boundary condition boundary_numbers: List of boundary numbers properties: Dictionary of property names and values model_name: Model name (default: current model)
Returns: Configuration confirmation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_name | No | ||
| properties | No | ||
| physics_name | Yes | ||
| boundary_numbers | Yes | ||
| boundary_condition_type | Yes |