<div dir="ltr">First of, many thanks to all the peoples that contributed to Onelab components.<div><br></div><div>I'm modifying the inheat.geo file example to create a spiral coil and instead of calculating inductance, I'll calculate the magnetic field. But first the geometry.</div><div><br></div><div>I've modified the extrusion to</div><div> tmp[] = Extrude { {-Cos((j-1)*Pi/2)*(ws+rc*2)/4,-Sin((j-1)*Pi/2)*(ws+rc*2)/4,0}, {0,0,1} , {0,0,0} , Pi/2} { Surface {tmp[0]};};</div><div><br></div><div>However this gives fragmented pieces (see image). How would you make a spiral coil?</div><div><br></div><div>Best regards,</div><div><br></div><div>Majed</div></div>