femm_add_boundary
Define boundary conditions for a FEMM physics model and assign them to selected segments or arcs, including periodic, fixed voltage, heat flux, and sliding-band gap pairs.
Instructions
Define a boundary condition for the current physics and (optionally) assign it.
Magnetics bc_type (mi_addboundprop, 12 args): prescribed_a (A = a0 + a1x + a2y, phase phi; A=0 is the usual outer boundary), small_skin_depth (mu = relative permeability, sigma MS/m), mixed (c0, c1 complex OK), strategic_dual_image, periodic, antiperiodic, periodic_air_gap / antiperiodic_air_gap (sliding band: inner_angle/outer_angle = rotor/stator shift in degrees). Assign it to BOTH concentric arcs of the gap annulus and put a "" block label inside the annulus (verified: without it the solver stops with "a region has no material assigned"). Electrostatics: fixed_voltage (value = V), mixed (c0, c1), surface_charge (flux = C/m^2), periodic, antiperiodic. Currentflow: fixed_voltage (value), mixed, surface_current (flux), periodic, antiperiodic. Heatflow: fixed_temperature (value = K), heat_flux (flux W/m^2), convection (h W/m^2K, t_inf K), radiation (beta emissivity, t_inf_rad K), periodic, antiperiodic. segments / arcs: [[x, y], ...] points ON the segments/arcs (e.g. midpoints) to assign this boundary to (each picks the nearest). Periodic pairs need one boundary per pair, assigned to both sides. For an unbounded open boundary see femm_call('mi_makeABC').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | No | ||
| a0 | No | ||
| a1 | No | ||
| a2 | No | ||
| c0 | No | ||
| c1 | No | ||
| mu | No | ||
| phi | No | ||
| arcs | No | ||
| beta | No | ||
| flux | No | ||
| name | Yes | ||
| sigma | No | ||
| t_inf | No | ||
| value | No | ||
| bc_type | No | prescribed_a | |
| session | No | main | |
| segments | No | ||
| t_inf_rad | No | ||
| arc_maxseg | No | ||
| inner_angle | No | ||
| outer_angle | No |