Voltecx 目前為測試版。macOS 版先推出,Windows 與 Linux 安裝包仍在測試中。測試版。macOS 版先推出,Windows 與 Linux 版仍在測試。⁠最新消息
文件

熱場求解 (field.thermalSolve)

元件參考 · English

選單: 無(快速開啟、CLI、Python 與 MCP) · 執行方式: 背景工作,有進度與取消

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

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

說明

Preview. Steady temperature of the part on the drawing magnetics.fieldSolve meshes: conduction in the named regions, convection from every outer edge of them (the clearances between core and winding count as outer edges), the regions left out not solved. Copper regions are iterated with their temperature until the largest change is below 0.05 K. With ac, the conductors' heat is the time-average |J|²/(2σ) of the time-harmonic solve (the air and every label of the drawing in it; a coil label without sigmaSm carries no current), and a copper conductor's conductivity follows its mean temperature (IEC 60028), iterated with the thermal solve; the values in ac are at the settled temperature. With core, the core's heat is magnetics.fieldCoreLoss's loss map, computed with the material's Steinmetz temperature factor at the core's mean temperature and iterated with the thermal solve (Wegstein's secant step) until the largest change is below 0.05 K; a core that heats to its Curie point is refused. With core and ac together, both losses heat one thermal solve and are iterated in one loop, each at its own temperature; a core region given sigmaSm is refused (the data-sheet core loss already holds its eddy loss). With core and copper regions given a loss (no ac), that loss follows the copper resistivity at each element's temperature in the same loop as the core loss. With dimension 3 and core, the core loss is magnetics.fieldCoreLoss {dimension:3, linear:true}'s on the same extrusion (with drive curve, magnetics.fieldCoreLoss {dimension:3}'s on the curve), iterated the same way. Planar, as deep as the drawing; an axisymmetric sketch is revolved a full turn, its axis insulated by symmetry. Along a line, the temperature is linear inside each element as solved, null where the line leaves the solids; the CSV is in SI units (m, °C). The lumped network reproduces the regions' mean temperatures for any losses (superposition; maxErrorK at this call's losses), so a sweep needs no further field solve; it gives means, not the hot spot, and copper losses follow each region's mean. No heat-transfer coefficient is built in, and conductivities only for copper, aluminium, air, ferrite, kapton hn, nomex 410 and mg 832tc (handbook, Fair-Rite, DuPont Kapton HN, DuPont Nomex 410 and MG Chemicals 832TC data sheets): give the rest from data sheets or a measurement. Changes nothing.

參數

  • design: object? (a magnetics.design reply, or its best design)
  • sketch: object? (instead of design: the planar drawing magnetics.fieldSolve takes, in mm; or with axisymmetric:true and no depthMm an (r, z) section about x = 0 revolved a full turn)
  • clearanceMm: number=0.1 (design only)
  • elementMm: number? (largest element in the core and the windings, 0.01 to 50 mm)
  • regions: [{"name":str (a label name of the drawing; every label with that name),"k":W/(m·K)? (thermal conductivity, from the data sheet),"material":str? (instead of k: a built-in conductivity, copper | aluminium | air | ferrite | kapton hn | nomex 410 | mg 832tc, each cited; a range is used at its low end),"kAxes":[W/(m·K)]? (instead of k or material: the conductivity along each axis of the model, from the data sheet, for a material that conducts differently by direction (a lamination stack, a winding bundle, a board in-plane and through-plane): [kx, ky] in 2D, [kr, kz] for an axisymmetric sketch, [kx, ky, kz] with dimension 3, z along the depth; not on a ring-core design in 3D),"kAngleDeg":deg=0 (with kAxes: the angle from the model's x axis (r when axisymmetric) to the axis kAxes' first value runs along, turning towards y (z), -180 to 180, for a sheet or stack laid at an angle; the tensor is turned about the depth axis, so kz stays),"kTable":[[°C,W/(m·K)]]? (instead of k, material or kAxes: the data sheet's conductivity against temperature, 2 to 200 points, temperatures rising; k is linear between the points and held at the end values outside them (warned), taken at each element's temperature and iterated until the largest change is below 0.05 K; planar, axisymmetric or dimension 3, not with ac, core, eddy, lumped or copper regions),"lossW":W? (heat of the region for the model's depth, or over the full revolution when axisymmetric, spread by volume),"heatWm3":W/m³? (instead of lossW: heat density),"lossMultiplier":number=1 (above 0, at most 100: scales lossW or heatWm3, a margin such as 1.2 maps 10 W as 12 W of heat; only with one of them, so not on an ac, core or eddy region; a lumped sweep's losses are taken as given),"copper":bool=false (the loss follows the copper resistivity, IEC 60028),"lossAtC":°C=20 (copper only: the temperature lossW, heatWm3 or sigmaSm was found at),"sigmaSm":S/m? (with ac: the region is a solid conductor of the AC solve with this electrical conductivity, from the data sheet; its heat is the AC loss, so no lossW or heatWm3),"bundle":{"wire":str? (a round or litz wire of the wire catalogue; gives the strands, instead of strandDiameterMm and strands),"strandDiameterMm":mm (copper diameter of one wire or litz strand, at most 10),"strands":int=1 (strands in parallel per turn: 1 for round wire, more for litz),"turns":int (turns of the winding through the region, 1 to 1e6)}? (with sigmaSm: the region is round wire or litz, solved as one homogeneous region by Meeker's model; its turns carry the winding's current, and with copper its strands follow their temperature)}] (the solid regions; the rest are left out)
  • convection: {"hWm2K":W/(m²·K) (heat-transfer coefficient of every outer surface of the solids),"ambientC":°C,"emissivity":number? (0 to 1, from the surface's data sheet: the outer surfaces also radiate as grey surfaces to large surroundings at ambientC, ε σ (T⁴ − T∞⁴), each surface seeing only the surroundings (no view factors), iterated with the temperature until the largest change is below 0.05 K; planar, axisymmetric or dimension 3 (each outer triangle at its mean temperature), not with ac, core, eddy, lumped, kTable or copper regions)}
  • surfaces: [{"name":str,"region":str? (the outer edges of this solved region),"boxMm":[x0,y0,x1,y1]|[x0,y0,z0,x1,y1,z1]? (the outer edges with both ends in this box, mm; with region, the edges both pick; with dimension 3 the outer faces with all three corners in it, four numbers spanning every z, six bounding z too),"hWm2K":W/(m²·K)? (convection; 0 = insulated),"ambientC":°C? (with hWm2K; default convection ambientC),"temperatureC":°C? (instead of hWm2K: the edges (faces in 3D) held at this temperature, a cold plate or heat sink taken as isothermal),"heatInWm2":W/m²? (instead of hWm2K: this heat flux into the part through the edges (faces in 3D), a heater pad or a known flux; negative takes heat out),"emissivity":number? (with hWm2K: 0 to 1, from the surface's data sheet; the surface also radiates to surroundings at its ambientC, as convection emissivity does; wins over convection emissivity, 0 does not radiate; given alone it turns radiation on for this surface)}]? (per-surface boundaries: each outer edge (with dimension 3, each outer face of the solids, an extrusion's end faces among them unless ends is insulated) takes the first entry that picks it, the rest keep convection; each entry gives exactly one of hWm2K, temperatureC or heatInWm2; an entry that picks no edge is refused, and so is a node two held entries hold at different temperatures; with convection emissivity the convecting entries and the rest radiate (an insulated entry, hWm2K 0, only with its own emissivity), held and flux entries never; not with lumped when an ambient or held temperature differs or with heatInWm2; the reply lists every surface with its kind (convection | held | flux), areaMm2 (over the depth or the revolution), minC, maxC, meanC (area-weighted), heatW, a held surface's the heat the hold takes out, heatFluxWm2 (heatW per area) and, convecting, hEffectiveWm2K (heatW / (areaMm2 (meanC − ambientC)), convection and radiation together; null when meanC is the ambient), and with radiation its emissivity and radiatedW, the part of heatW it radiates)
  • contacts: [{"name":str? (default a–b),"regions":[str,str] (two solved regions that share faces),"resistanceM2KW":m²·K/W? (the contact's resistance per unit area R″, from the pad's or grease's data sheet or a measurement; above 0, at most 1),"thicknessMm":mm?,"k":W/(m·K)? (instead of resistanceM2KW: a layer too thin to draw, R″ = t / k; thicknessMm at most 10)}]? (planar, axisymmetric or dimension 3: thermal contact resistance, a zero-thickness interface between the two regions across which the temperature jumps by q″ R″ (Incropera §3.1.4); nodes that also touch a third solved region keep one temperature; no default value; at most 64; with emissivity the outer faces radiate while the contacts carry their jump)
  • transient: {"stepS":s (above 0, at most 3.2e7),"steps":int (1 to 10000),"heatCapacityJm3K":{"<region>":J/(m³·K)} (ρ·c of every solved region, from its data sheet or a handbook; none is built in),"initialC":°C? (uniform start; default convection ambientC),"fosterTerms":int? (1 to 8: fit a Foster chain to zthKW)}? (also step the warm-up after the losses switch on at t = 0: lumped heat capacity, backward Euler (first order in stepS); fixed losses only, planar, axisymmetric or dimension 3 (its tetrahedra, surfaces and contacts): not with copper or kTable regions, emissivity, ac, core, eddy or lumped)
  • line: {"from":[x,y] (mm),"to":[x,y] (mm),"points":int=101 (2 to 10000, both ends included)}? (read the temperature along this line)
  • csvPath: str? (with line: the .csv file to write, through the host's file service)
  • plane: {"axis":"x"|"y"|"z" (the axis the cut is normal to),"atMm":mm (where it cuts that axis; z = 0 is mid-depth),"points":int|[int,int]=51 (grid points along each side, 2 to 1001, or one count per in-plane axis)}? (dimension 3: read the temperature on this axis-aligned cut plane, on a regular grid over the solids' bounding box in the plane's two axes (y, z for x; x, z for y; x, y for z), linear inside each tetrahedron as solved; refused when no grid point is in a solved region)
  • summary: {"regions":[str]? (names from regions: volume entries),"surfaces":[str]? (instead of regions: names from surfaces, or convection for the outer edges no entry picks),"quantities":[str]? (default every one of the kind: regions volumeMm3, lossW, minC, maxC, meanC; surfaces areaMm2, heatW, heatFluxWm2, minC, maxC, meanC; a surface quantity asked of regions is refused, a volume offers only its temperatures, loss and volume),"rows":"each"|"together"="each" (each: one row per name, in the order given; together: one row for all, min of the minima, max of the maxima, the mean weighted by volume or area, sums of the rest, the flux the summed heat over the summed area)}? (a fields-summary table over chosen regions or surfaces, read from this reply's rows: no further solve; at most 128 names)
  • lumped: bool|{"sweep":[[W per region, in regions order]]? (at most 10000 points)}? (also reduce the solve to a thermal network, one node per region at its mean temperature, one more field solve per region, and evaluate the sweep on it)
  • field: bool=false (also return the solved temperature field, for a temperature map: field.exportImage and field.exportCsv read it in 2D; in 3D the app's 3D view and report.export draw it)
  • ac: {"frequencyHz":Hz|[Hz] (0 for DC, at most 1e9; a list of 1 to 64 distinct frequencies, the harmonics of the winding currents, solves each and adds their losses, as simultaneous (they are orthogonal over a period); planar or extruded (dimension 3), with or without core),"windings":[{"name":str,"currentA":A|[A] (peak, at most 1e6; with a frequency list, one peak per frequency, 0 where the winding carries none),"conductors":[{"region":str (a region given sigmaSm; every label with that name is one conductor in series),"direction":1|-1=1 (1 going, -1 returning)}]}]}? (heat the conductors with the winding loss of the time-harmonic solve on the whole drawing: skin, proximity and eddy loss; the planar section's loss, also on the extruded model (dimension 3); not with lumped)
  • core: {"material":str? (sketch only, required there: the catalogue material of the muR labels; a design uses its own),"waveform":{t:[s],i:[[A] one list per circuit, in the order magnetics.fieldSolve reports the circuits]}? (one period, as magnetics.fieldCoreLoss takes it),"signals":[str|null]? (instead of waveform: the current signals of the last run, one per circuit, as magnetics.fieldCoreLoss takes them),"t0":s?,"t1":s?,"fsw":Hz?,"tEnd":s?,"points":int=200 (signals only: the period's window and resampling, as magnetics.fieldCoreLoss reads them),"permeability":"fixed"|"followsTemperature"="fixed" (followsTemperature: the core takes the data sheet's permeability or B-H curve at its temperature),"drive":"linear"|"curve"="linear" (curve: the core on the catalogue B-H curve, the model solved by Newton's method at every step of the waveform as magnetics.fieldCoreLoss solves a curve core, in 2D and 3D; with fixed the curve at the ambient temperature, solved once; with followsTemperature the curve at the core's temperature, solved again at each step)}? (heat every muR label, each named in regions with k and no lossW or heatWm3, with the iGSE core loss of the waveform, recomputed at the core's mean temperature until it settles; with ac, the AC winding loss is iterated in the same loop, so winding and core warm each other; copper regions' given loss follows ρ(T) in the same loop; planar or extruded (dimension 3), not with lumped)
  • dimension: 2|3=2 (3: solve the 3D model magnetics.fieldSolve {dimension:3} builds, the planar drawing extruded through its depth on the same tetrahedra; regions, convection and copper as in 2D, lossW is the region's whole heat; core as in 2D with the 3D core loss on the same tetrahedra, at the drawing's permeability or, with followsTemperature, the data sheet's initial permeability at the core's temperature (every winding solved again at each step), or with drive curve on the B-H curve; line takes from and to as [x,y,z] mm, or [x,y] on the middle plane z = 0, and its points add zMm; lumped as in 2D, one 3D solve per region; ac as in 2D with the planar section's AC loss on every tetrahedron over its triangle, the same along the depth (no end turns), copper following each conductor's mean temperature, with core both losses iterated in one loop as in 2D, not with lumped; a ring-core design is its (r, z) section revolved a full turn as magnetics.fieldSolve {dimension:3} revolves it, its core the only solid (the windings are current sheets), every face convecting, core as above, no layers, ends or ac; naming a region A or B also draws that winding's copper as a solid frame around the core (the build its turns of the design's wire fill in the hole, carried over the faces and outside, clearanceMm from the core), each frame air to the core drive; not with an axisymmetric sketch)
  • eddy: {"frequencyHz":Hz (above 0, at most 1e9),"currentsA":[A] (peak, one per winding in the design's order, in phase, each at most 1e6)}? (dimension 3, a ring-core design only: heat the regions given sigmaSm (the core; with copper and lossAtC σ follows the mean temperature, IEC 60028) with the 3D time-harmonic eddy-current loss ½∫σ|E|² on the revolved ring, each winding a toroidal current sheet, iterated with the temperature; a winding's frame given sigmaSm is refused (a shorted turn); not with ac, core or lumped)
  • layers: int? (dimension 3: element layers through the depth, 1 to the extrusion's limit, default magnetics.fieldSolve's 8)
  • stepDeg: number? (dimension 3, a ring-core design: the largest angular step of its revolution, 1 to 30°, default 10, as magnetics.fieldSolve takes it)
  • ends: "convecting"|"insulated"="convecting" (dimension 3: whether the two end faces convect like the other outer faces; insulated gives the planar solve's temperature)
  • ignoreMemoryCheck: bool=false (dimension 3: run past the memory guard)

回覆

  • hotSpot:{temperatureC,atMm ([x,y], or [x,y,z] in 3D),region}
  • regions:[{name,areaMm2 (2D only),volumeMm3,lossW,minC,maxC,meanC,kWmK (null with kAxes or kTable),kAxesWmK (null without),kAngleDeg (null without kAxes),kTable (null without),kAtMeanWmK (kTable's k at the region's mean temperature; null without),kSource (null when k or kAxes was given),lossMultiplier (1 unless given; lossW includes it)}]
  • heatGeneratedW
  • heatRemovedW
  • balance
  • coupling:{solves,lastChangeK,history}|null
  • radiation:{emissivity,surroundingsC,radiatedW,convectedW}|null (with emissivity)
  • contacts:[{name,regions:[a,b],resistanceM2KW,thicknessMm|null,kWmK|null,faces (2D: interface edges, each a face of the depth or the revolution),areaMm2,heatW (from a to b),meanJumpK,maxJumpK,sharedNodes (interface nodes on a third region, kept at one temperature)}]|null (with contacts)
  • line:{points:[{sMm,xMm,yMm,zMm (3D only),region,temperatureC}],minC,maxC,csv}|null
  • plane:{axis,atMm,uAxis,vAxis (the in-plane axes),uMm:[mm],vMm:[mm] (the grid, rising),temperatureC:[[°C|null, one per uMm] one row per vMm] (null in the air),points,inside,insideFraction,minC,maxC,meanC (the mean of the grid points inside the solids),hotSpot:{temperatureC,atMm:[x,y,z],region}}|null (dimension 3 with plane)
  • path
  • written
  • summary?:{entity (regions | surfaces),rows (each | together),names,quantities,table:[{name (together: the names joined by a plus sign),<each quantity>:number|null}],csv (header name,<quantities>; an empty field for null)} (with summary)
  • lumped:{nodes,resistances:[{between,rKW}],toAmbient:[{region,rKW}],negative:[{between|region,rKW (below 0)}] (conductances that come out negative, a region reaching ambient only through another: kept in the network, so the sweep stays exact, but no resistor can hold them),leftOut (how many are in negative),maxErrorK,fieldSolves,sweep:[{lossW,meanC,hottest,solves}]}|null
  • transient:{stepS,steps,initialC,timesS:[s],hotSpotC:[°C per time],regions:[{name,meanC:[°C per time]}],zthKW:[K/W per time] (the hot spot's rise over initialC per W of the whole loss; null without loss),foster:{terms,rKW:[K/W],tauS:[s],worstKW}|null (with fosterTerms),finalHotSpotC,steadyHotSpotC (this reply's hotSpot),settledFraction (the last step's share of the rise to the steady hot spot),iterations}|null (with transient)
  • ac:{frequencyHz,skinDepthMm (null at DC),windings:[{name,currentA,lossW,rdcOhm,racOhm,fr}],conductors:[{region,sigmaSm (settled),meanC,lossW,currentA:[re,im] (a bundle's: all its turns),bundle:{wire,strandDiameterMm,strands,turns,fill}|null}],totalLossW,solver,iterations}|{frequencyHz:[Hz],harmonics:[that object, one per frequency],windings:[{name,lossW (summed)}],conductors:[{region,sigmaSm,meanC,lossW (summed)}],totalLossW (summed)} (with a frequency list)|null
  • core:{material,permeability,drive (linear | curve),regions,circuits,waveform:{source (call | last result | new run),signals,t0,t1,points},lossW (settled),lossAtC (the core temperature of the last loss),meanC (the core's mean temperature),lossHistoryW,muR:[number|null per core region],peakBT,p99BT,saturationT}|null
  • eddy:{frequencyHz,windings:[{name,turns,currentA}],conductors:[{region,sigmaSm (settled),copper,meanC,lossW,skinDepthMm}],totalLossW,lossHistoryW,iterations,residual,solver}|null
  • model:{family,form (planar | axisymmetric | extruded | revolved),depthMm (null when axisymmetric or revolved),nodes,elements (tetrahedra in 3D),minAngleDeg,iterations,residual,leftOut,solverVersion,dimension (3D only),layers (3D only),ends (3D only),memoryEstimateBytes (3D only),stepDeg (3D ring only: the revolution's largest step)}
  • field?:{nodes:[[x,y]] (m),triangles:[[a,b,c]],elementRegions:[region],regions:[{name}],temperatureC:[°C per node]} (the solids' mesh only; in 3D {dimension:3,nodes:[[x,y,z]] (m),tetrahedra:[[a,b,c,d]],elementRegions,regions:[{name}],temperatureC:[°C per node, single precision]})
  • notes
  • warnings