3D Field Tables (field.tables3d)
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 carrypreview: trueand a note.
What it does
Preview. Solves the 3D model of magnetics.fieldSolve {dimension:3} ONCE and returns the tables a circuit and a design loop reuse without solving again: the linear L/M matrix from one 1 A solve per winding; with currents, winding 1 swept through them by the 3D Newton solve on the core's catalogue B-H curve (warm-started, with a first point at a thousandth of the first current standing for zero current), giving the flux-linkage table psiCurve (one winding) or the incremental L/M matrix at each current as coupledCurve rows (two windings, M the mean of the two mutual terms), the tables magnetics.fieldFluxMap writes from the 2D sweep and both circuit solvers follow; with loss, the iGSE core loss of the 3D field for winding 1 driven by a sine of each peak current at each frequency (the other windings open), from the 1 A field scaled (linear at the model's μr, no further solve), each row with the core's bP99 and peak |B| so it reads as loss vs flux and frequency. field.tableLookup reads L, M and the loss from this reply at any current and frequency. A job: progress counts the solves, the swept points and the grid points; cancel stops at the next conjugate-gradient iteration.
Parameters
design: object? (a magnetics.design reply, or its best design)sketch: object? (instead of design: the planar drawing magnetics.fieldSolve takes, in mm; one or two circuits)muR: number? (design only: a linear core at this μr)clearanceMm: number=0.1 (design only)elementMm: number? (as magnetics.fieldSolve)layers: int? (an extrusion's element layers, 1 to 64; default 8)material: str? (a sketch's catalogue core material: its B-H curve for currents and its loss data for loss; a design names its own)temperatureC: number? (core temperature for the B-H curve and the loss data, -40 to 200 °C; default the design's, else 25)linear: bool=false (keep the core linear even when its material has a B-H curve; currents are then refused)currents: [A]? (the L(I) sweep: winding 1's currents, rising, 1 to 15, each above 0 and at most 1e5 A; needs a core material with a catalogue B-H curve; without it the table is the linear matrix, one row)loss: {"frequencies":[Hz] (1 to 16, each above 0 and at most 1e8),"currents":[A] (winding 1's peak sine current, 1 to 16, each above 0 and at most 1e5)}? (the core-loss grid)component: str? (the inductor, coupled inductor or transformer to write)apply: bool=false (an inductor: l, and with currents psiCurve (and the design's core link when the part links none); a coupled inductor: l1, l2, k and coupledCurve; a transformer: n and coupledCurve; in ONE history step)ignoreMemoryCheck: bool=false
Reply
- kind:"field.tables3d"
- source
- result:{headline,values:[l0,lMax?,maxCurrent?]}
- windings
- nonlinear
- material?
- temperatureC?
- linear:{l:[H per winding, 1 A solve],m?,k?}
- table:[{current,fluxLinkage?:[Wb],incremental:[[H]] (the L/M matrix at this point; row 1 at zero current)}]
- psiCurve? (one winding with currents: i:λ pairs, A and Wb)
- coupledCurve? (two windings: i:L11:M:L22 rows, A and H)
- lossTable?:{material,temperatureC,frequencies,currents,rows:[{frequency,current,bP99 (T),bPeak (T),lossW,lossIgseW}],coreVolume (m³)}
- model:{dimension:3,construction,family,nodes,elements,edges,elementMm,layers,iterations:[per winding],newtonSteps?:[per point],residuals?,solverVersion,inputHash}
- apply:[edits]
- applied
- notes
- preview
- previewNote