[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

# Re: [femm] FEMM "batch processing"

- To: femm@yahoogroups.com
- Subject: Re: [femm] FEMM "batch processing"
- From: Dave Squires <djsquires@plix.com>
- Date: Tue, 24 Apr 2001 16:16:26 -0700
- References: <9c4i5a+s9rs@eGroups.com> <OE281TbdkSmLAztxc1o000050aa@hotmail.com>

Actually, the animation was for 108 simulations, not 180...easy to transpose the 8 and 0. But Graham is right. It is tedious and took me a week. But putting this capability into FEMM should not be that hard as it does not involve messing with the core simulation algorithms. It needs an incremental setup routine to increment specified parameters and solve for a specified number of iterations and save to different output file names. Anything should be legal to increment. I can see two ways to approach this. (This assumes we are talking about incremental motion.) 1. Specify a range of motion and number of increments and let the program determine the stepsize of whatever parameters are being incremented. 2. Explicitly state the stepsize and the number of steps for a given parameter. Another way is to specify the increments and have FEMM create a new data .fem file for each case and then set up a serial batchrun. It might be handy so you can look at the increment results to make sure nothing weird happened and correct errors before running. Even that is useful so you don't have to do it all by hand at 5-10 minutes each. Manual editing is error prone as we all know. FEMM would have to monitor FKERN to know when it is done so it can launch the next run. I do know C and could do this ...if I had the time. Maybe somebody else has the time and motivation to do it. Dave Squires Graham Gunderson wrote: Hi, I've run into the same thing, kind of. Recently, I've been using FEMM to make animations. For each frame (in this example), I have to adjust the angular offset of magnetization to simulate rotating magnets and moving fields. To get a smooth animation, I have to use at least 16 frames; with nonlinear materials the crunch time is about a day, and it must be tended to manually. (16 frames is still pretty chunky; 36 or 72 frames would be awesome but I do not have the time or patience to mess around with it) Isn't it possible to invent a "shell" for FEMM, which will iteratively run fkern, each time after changing some variable(s) in the model? Then, the changing parameters could be selected from a list of all properties (frequency, materials, magnetization direction, point coordinates, you name it) and the progression of values given either by a list (100, 200, 300...) or a parsed formula (i.e., x = x + 100). This is one suggestion out of many ways it can be done. I feel this would save a lot of time, for problems that depend on multiple solutions. A colleague of mine did a moving simulation in FEMM using something like 180 frames - and he did that all by hand. This is a lot of babysitting, when you have to solve each frame individually (or in batches of a few, with a couple windows open, each running FKERN... but this "divided attention" multitasking is SLOWER, overall, and crashes too often.) If I knew C++ I might try making an iterative shell of my own... it seems like it would not be so hard to do. I don't know C, though, and have no spare time to learn it now. (I barely have the spare time to manually iterate the simulations!) Regards,Graham ----- Original Message ----- From: frank.e.lenning@boeing.com To: femm@yahoogroups.com Sent: Tuesday, April 24, 2001 11:54 AM Subject: [femm] FEMM "batch processing" `Is there a way to "batch process" multiple frequencies in FEMM? I've` `been doing simple lightning (F domain) current distribution problems` `in FEMM but I have to laboriously increment through the frequencies to` `build a broadband result. (BTW, it works great!) I am interested in` `getting some quantity (say integral of Ht around a loop) as a function` `of frequency. Any help? I suppose it is possible to do by modifying` `the code but that sounds painful with no prior experience with this` `code and limited C++ programming experience.` `Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.` `Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.`

- References:
  - FEMM "batch processing"
    - From: frank.e.lenning@boeing.com
  - Re: [femm] FEMM "batch processing"
    - From: "Graham Gunderson" <infinitenergy@hotmail.com>

- Prev by Date: Re: [femm] FEMM "batch processing"
- Next by Date: About .fem file and meaning of its elements
- Previous by thread: Re: [femm] FEMM "batch processing"
- Next by thread: Re: [femm] FEMM "batch processing"
- Index(es):
  - Date
  - Thread