Voltecx is in beta. The macOS build comes first; Windows and Linux packages are still being tested.Beta. macOS comes first; Windows and Linux are still in testing. What's new
Documentation

DC Conduction (field.dcConduction)

Component reference · 繁體中文

Menu: none (Quick Open, the CLI, Python and MCP) · Runs as: a job, with progress and Cancel

Preview: turn on Preview features in Edit › Preferences › Simulation, or run preview.set {"enabled":true}. Its replies carry preview: true and a note.

What it does

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.

Parameters

  • 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

Reply

  • 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