# 直流導通 (`field.dcConduction`)

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

**選單:** 無（快速開啟、CLI、Python 與 MCP） · **執行方式:** 背景工作，有進度與取消

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

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

## 說明

Preview. Solves ∇·(σ∇V) = 0 on an automatic mesh of the conductors and electrodes (the insulators' edges carry no current), with Voltecx's own 2D solver: the electrostatic one with σ in place of ε. A conductance comes out two ways (from the electrode currents and from the dissipated power), which agree to the solver tolerance. Planar values are for the sheet depthMm thick (a uniform sheet: no current across its thickness), axisymmetric ones for the full revolution. DC only: no skin or proximity effect (magnetics.fieldSolve {mode: "harmonic"} has them). A job: progress counts the solves, and cancel stops before the next. Changes nothing.

## 參數

- `sketch`: object (a drawing in mm as magnetics.fieldSolve takes it: planar {depthMm, …}, a sheet depthMm thick seen from above with the current in its plane (a copper pour, busbar or trace: 1 oz copper is 0.035), or {axisymmetric:true, …} about x = 0, revolved a full turn; labels \[{name?, at:\[x,y\], maxSizeMm?, conductivity:number (S/m, above 0 and at most 1e9: a conductor; take σ from the material's data sheet, at its temperature) | electrode:str (a perfect conductor where the current enters or leaves, a pad, terminal or via; labels with one name are one electrode) | neither (an insulator: no current crosses it)}\]; every conducting part must touch an electrode, and electrodes must not touch each other)
- `elementMm`: number? (largest element in every conductor and electrode, 0.01 to 50 mm; default the automatic mesher's)
- `reference`: str? (the electrode taken as 0 V for the conductance matrix; default the last in label order)
- `voltagesV`: {electrode: V}? (every electrode's potential, within ±1e6 V, for one more solve with currents, loss and current density)
- `ignoreMemoryCheck`: bool=false

## 回覆

- electrodes:\[{name,labels}\]
- conductance:{names (the electrodes but the reference, in label order),reference,byCurrentS:\[\[S\]\],byPowerS:\[\[S\]\],twoWaysRelative} (I = G V with the reference at 0 V: the nodal matrix of the resistor network the conductor is)
- resistances:\[{between:\[a,b\],ohm}\] (every pair, the other electrodes floating: no net current)
- solution?:{voltagesV,currentsA:{electrode: A into it},powerW (∫σ|∇V|² dV),powerFromElectrodesW (Σ V I, the same to the solver tolerance),regions:\[{region,lossW}\],peakCurrentDensity:{aPerMm2,region,atMm}}
- model:{form:planar|axisymmetric,depthMm,elementMm,nodes,elements,conductingElements,solves,solverVersion}
- notes
- preview
- previewNote
