app
Fusion - the Fusion 360 Bridge
Public Made by Adomby adom
Drive Autodesk Fusion 360 from the cloud via Adom Bridge: component libraries, IPC package generation, board layout, exports (STEP/Gerbers/BOM/CPL), fast APS cloud search, and parametric modeling.
master
John Lauer
Add native thermal-pour expansion experiment, finite-difference comparison and recording scripts
33c4ac5
1mo ago
from shapely.geometry import box
from thermal_model import mesh,solve,SIGMA
# Entire sheet held at the source temperature must match the direct surface equation.
g=box(0,0,10,10);q,_=solve(mesh(g,g,.1),5,.8);Ta=298.15;Ts=338.15
hr=.8*SIGMA*(Ts+Ta)*(Ts*Ts+Ta*Ta)
expected=(1/(1/(5+hr)+25e-6/.2))*100e-6*40
assert abs(q['bottomHeatW']-expected)<1e-10
# Equal-area copper behind a narrow neck must not be credited as an isothermal plate.
narrow=box(0,0,20,10).difference(box(4,0,6,4.9).union(box(4,5.1,6,10)))
wide=box(0,0,narrow.area/10,10);src=box(0,0,1,10)
a=solve(mesh(narrow,src,.1),5,.8)[0];b=solve(mesh(wide,src,.1),5,.8)[0]
assert a['bottomHeatW']<b['bottomHeatW']*.8,(a,b)
print('Passed: surface analytical limit, narrow-neck penalty, and source/surface energy balance')