physics_boundary_selection
Configure any boundary condition in a COMSOL physics interface by specifying the physics name, boundary condition type, boundary numbers, and properties.
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):
TemperatureBoundary: Set T0 (temperature)
HeatFluxBoundary: 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 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 |
|---|---|---|---|
| physics_name | Yes | ||
| boundary_condition_type | Yes | ||
| boundary_numbers | Yes | ||
| properties | No | ||
| model_name | No |