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

3D Electrostatics (field.electrostatic3d)

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 the bodies meshed on a lattice with Voltecx's own 3D electrostatic solver, one solve per conductor at 1 V with the others at 0 V, and gives the Maxwell capacitance matrix two ways (from the conductor charges and from the field energy, which agree to the solver tolerance). A face that does not lie on a lattice plane is cut through the cells, so curved faces are less accurate than flat ones. With component, each pair of windings gets one capacitor CIW<n> between their starts (p1 and p2) at its interwindingF, which the EMI commands then measure; a winding modelled as one body has no self-capacitance, so none goes across a winding; the part is checked before any solve. A job: progress counts the solves, and cancel stops before the next. Without component it changes nothing.

Parameters

  • import: {path:str (an STL, STEP or IGES file, read as magnetics.fieldSolve's import reads it),unitMm:number? (mm per file unit: 1 by default for STL; a STEP or IGES file states its own),bodies:[{name?:str, conductor:str (a conductor, meshed as metal; bodies with one conductor name are one conductor) | epsR:number (a dielectric, 1e-3 to 1e5)}] (each solid of the file, in its order),boxMm?:{lo:[x,y,z],hi:[x,y,z]} (the box of air round the bodies, εr 1, its sides the ground at 0 V; no conductor may touch them; default the bodies' bounds grown by half their largest extent on every side)}
  • elementMm: number? (largest cell side, 0.01 to 50 mm; default a twentieth of the box's largest side)
  • voltagesV: {<conductor>:V}? (the conductors' voltages for fieldStress, each 0 V when not named)
  • strengthKVPerMm: {<dielectric body or air>:kV/mm}? (needs voltagesV: each material's dielectric strength from its data sheet, none assumed)
  • windings: [str]? (the conductors that are a part's windings, in the order of its pins, each modelled as one body with its turns joined)
  • component: str? (needs windings: the coupled inductor, common-mode choke or transformer (p1–n1, p2–n2) whose windings they are; the interwinding capacitor goes into the circuit as a pending proposal)
  • apply: bool=false (with component: add it at once, in ONE history step, instead of a proposal)
  • ignoreMemoryCheck: bool=false

Reply

  • conductors:[{name,bodies:[str]}]
  • matrix:{names,byChargeF:[[F]],byEnergyF:[[F]],twoWaysRelative} (the Maxwell matrix, the ground the reference)
  • fieldStress?:[{body,peakVPerM,element,atMm:[x,y,z],strengthVPerM?,margin?}] (with voltagesV: the largest |E| in each dielectric body and the air, the mean over the tetrahedron it is in, and where (that tetrahedron's centroid, mm); with a strength, margin = strength / peak)
  • hotSpot?:{body,peakVPerM,atMm,margin?} (with voltagesV: the row with the least margin, or the largest |E| when no strength is given)
  • windings?:[str]
  • interwindingF?:[[F]] (with windings: between two windings with every other conductor and the ground floating; 0 on the diagonal)
  • capacitors?:[{part,kind:interwinding,between,component,nets,cF}] (with component: the parts planned)
  • apply?
  • proposal?|applied?
  • model:{construction:"imported",elementMm,nodes,elements,dihedralDeg:[min,max],solves,iterations,solverVersion}
  • notes
  • preview
  • previewNote