Author 
Topic 

dennyshih
Taiwan
3 Posts 
Posted  Sep 30 2023 : 08:12:27

Hi fellows,
I am a new user of FastHenry2. I'm now trying to calculate the mutual inductance in the case of 100 source filaments vs 100 observation filaments.
I know two nodes can construct a line, So I want to ask is there any "for" (like "for" in Matlab or python) to create the nodes(N1, N2, N3...) or I have to code it from N1 to N4000 all by myself.
(Sorry for any mistakes. English is not my native language)
first using fasthenry 

Enrico
543 Posts 
Posted  Oct 04 2023 : 11:04:48

Hi Denny,
FastHenry is 'only' a solver engine and does not allow scripting; the input file is descriptive of the geometry only.
However, you can use the E.M. Workbench for FreeCAD as a free, open source frontend for FastHenry. In this way you can model, script in Python, automate, visualize and manipulate the input geometry in a parametric 3D CAD before launching the simulations.
Alternatively, you can write your own script to generate the FastHenry input file; the geometry file format is relatively simple, in particular if you just want to have straight source and observation segments.
Be aware however that 100 source and 100 observation filaments will yield, by definition, a 200x200 output impedance matrix.
Best, Enrico




Topic 


