# 開啟場範例 (`field.openExample`)

[元件參考](https://voltecx-web.nguyenvanqui291.workers.dev/zh/docs/reference/) · [English](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/commands/field-openExample/)

**選單:** **設計 › 場求解器 › 開啟場範例** · **執行方式:** 背景工作，有進度與取消

> 預覽功能：在「編輯 › 偏好設定 › 模擬」開啟預覽功能，或執行 `preview.set {"enabled":true}`。回覆會帶有 `preview: true` 與說明。

以下參數與說明取自指令本身的定義，與 CLI、Python 及 MCP 讀到的文字相同，因此保留英文。

## 說明

Preview. Opens a field-solver example solved: the drawing, the automatic mesh and Voltecx's own 2D solve, one winding at a time, then the example's check against its row of the accuracy report (docs/accuracy.md). e25BuckInductor is the gapped E 25/13/7 N87 reference inductor (34 turns, 1 mm gap; row mesher\_independence, L within 0.5 % of the Richardson-extrapolated 91.83 µH). e25FlybackTransformer winds the same core as a 1:1 coupled inductor, 25 turns each (row reciprocity, M12 within 0.5 % of M21). ringCoreChoke is a 30/20/5 mm ring core with 20 turns at μr 2208, drawn as an axisymmetric (r, z) section with a toroidal winding (row analytic\_toroid\_axisym, L within 1 % of the closed form 358.1 µH); its model also carries bAt, B in the core at 11 and 14 mm, and its field is the (r, z) section with symmetry "axisymmetric", ψ = 0 and toroidal:{regions,turns} (a toroidal winding's B is along φ, which ψ cannot carry, so the field view draws |B\_φ| = μ0 μr N I / (2π r) and no flux lines). potCore is a Ferroxcube P26/16 pot core (data sheet nominal dimensions) with a 1 mm centre-post gap and 34 turns at μr 2208, drawn as an axisymmetric (r, z) section and solved for ψ = r A\_φ (row energy\_vs\_flux\_linkage: L from flux linkage within 1e-6 of L from stored energy); its model carries lFromEnergy, lFromFieldEnergy, lFromFluxLinkage (H), gapMm, iterations, residual and provenance, and its field is ψ with symmetry "axisymmetric". twoWireLine is two round wires of 1 mm radius 20 mm apart, 1 m deep, go and return, with no core, drawn inside an open boundary (a circle of air of radius 60 mm and 4 graded-permeability shells, as magnetics.fieldSolve's sketch.openBoundary; model.openBoundary says so and the shells are regions of its field) (row open\_boundary\_two\_wire: L per metre in µH/m within 0.5 % of the closed form (μ0/π) arccosh(D/2a) + 2 μ0/(8π) = 1.297 µH/m). A job like magnetics.fieldSolve. Changes nothing in the circuit.

## 參數

- `name`: "e25BuckInductor|e25FlybackTransformer|ringCoreChoke|potCore|twoWireLine"
- `field`: bool=true (also return the solved field, for the field view: A\_z of the planar examples, ψ = r A\_φ of potCore with symmetry "axisymmetric"; ringCoreChoke's section with ψ = 0 and its winding in toroidal:{regions,turns}, from which B\_φ is read)

## 回覆

magnetics.fieldSolve's reply plus example:{name,title:{en,zh-Hant},summary:{en,zh-Hant},row,metric,ours,reference,unit,errorPct,targetPct,pass} (with its warnings:\[{code,message,messageZh,data}\] as magnetics.fieldSolve gives them; the axisymmetric ringCoreChoke and potCore are not planarModel, and each warns linearMaterial for its core)
