0
I Use This!
Activity Not Available

News

Analyzed over 1 year ago. based on code collected over 2 years ago.
Posted about 5 years ago by Robert
Does anyone have any idea why the solutions to static magnetic problems in xfemm would appear in line with FEMM results, but harmonic solutions at any frequency give only NaN for solution components? The harmonic problems differ from the static ... [More] problems only by their value for frequency. This is true for both planar 2D and axisymmetric problems. When I write the fem file associated with the harmonic problem with writefemmfile, FEMM opens and solves it without issue. What might be going on here? Here's... [Less]
Posted about 5 years ago by Robert
Is there a tool in xfemm to remove segments? I see one for removing nodes, but not segments. Based on the code for deletenode_mfemm, it looks like eliminating an entry in the Segments or ArcSegments arrays must be followed by a renumbering of ... [More] elements in order to work properly. Is the code in this file essentially all that is needed to delete segments? Is there any reason why this hasn't been broken out into its own function? [Less]
Posted about 5 years ago by Robert
Is there a tool in xfemm to remove segments? I see one for removing nodes, but not segments. Based on the code for deletenode_mfemm, it looks like eliminating an entry in the Segments or ArcSegments arrays must be followed by a renumbering of ... [More] elements in order to work properly. Is the code in this file essentially all that is needed to delete segments? Is there any reason this hasn't been broken out into its own function? [Less]
Posted about 5 years ago by Robert
I wrote an elementary script in the style of other xfemm functions to solve the basic problem for which I started this thread. I've attached the code here for anyone to use. Caveat emptor: 1. I'm no software engineer, and I wrote this on a tight time ... [More] budget. I've only performed the most cursory debugging. 2. Magnetics problems only (although adapting this code for use with the other solvers doesn't seem difficult since they share so much code in common. See init.lua.) 3. The center point and radius... [Less]
Posted about 5 years ago by Robert
I know this is an old thread (as are most of the threads here) but I was about to post about this very same issue myself. I've noticed that there seems to be a significant difference between how FEMM and xfemm treat overlapping segments; in FEMM ... [More] , overlapping segments are automatically merged, deleted, and split in such a way that you need never (or, at least, I never) worry about overlapping segments; the concept was entirely new to me when I started using xfemm. I've been reading through the IABC... [Less]
Posted about 5 years ago by Robert
There's a very useful wizard in FEMM, "Create IABC Open Boundary," which automatically constructs high-order asymptotic boundary conditions using the problem geometry and user inputs. Is this tool available somewhere in xfemm? I tried searching the ... [More] xfemm source directories for "ABC" as well as for one of the idiosyncratic permeability coefficients, but all that returns is init.lua, which I believe is FEMM source. It seems rather straightforward (albeit time-consuming and prone to transcription error)... [Less]
Posted about 5 years ago by Robert
There's a very useful wizard in FEMM, "Create IABC Open Boundary," which automatically constructs high-order asymptotic boundary conditions using the problem geometry and user inputs. Is this tool available somewhere in xfemm? I tried searching the ... [More] xfemm source directories for "ABC" as well as for one of the idiosyncratic permeability coefficients, but all that returns is init.lua, which I believe is FEMM source. It seems rather straightforward (albeit time-consuling and prone to transcription error)... [Less]
Posted about 5 years ago by Robert
Sounds good. Thank you for all of the work that you've put into this project!
Posted about 5 years ago by Richard C
I was listening, if it helps, but unfortunately too busy to help at the moment, and have experience, or access to a mac. At some point I can see if I can merge your changes with the main code.
Posted about 5 years ago by Robert
Well, I got it all to compile. It was a massive pain. I modified several include directives and compilation options as described above (trivial modifications, I suspect) but also commmented out a couple of FPU-related lines (potentially more ... [More] consequential?) since Apple purportedly does not support the setting of FPU flags. I've attached my whole build directory (which includes the binaries) here. I was talking to myself on this forum - perhaps there isn't a lot of Mac interest here - but I thought... [Less]