Re: 3D Magnetostatics in the presence of a current source.

Posted by Precise Simulation on
URL: http://forum.featool.com/Importing-gmsh-mesh-file-with-several-subdomains-tp315p334.html

ADSW1243 wrote
I would be interested in following a code-based approach rather than a GUI setup to embed field simulations in some other codes I have already written. Are there any tutorials/suggested workflows in the documentation which are code orientated? I have searched but didn't manage to find anything to guide me through the setup - A look through one of the tutorial .m scripts the setup is quite complex so I would be unsure where to start really.
Aside from the documentation, and m-file script examples, as every GUI action corresponds 1-to-1 to a FEATool Matlab function a good way of learning the script modeling syntax is simply to make a model in the GUI and save/export it as an m-file (using the "Save As MATLAB Script..." option in the "File" menu). Also note that if you wonder what a function does, or the input syntax you can either look in corresponding reference guide entry, for example gridgen, or simply type "help gridgen" at the Matlab command line prompt.