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

# Re: [FEMM] Lua script to output B field and other info

- To: FEMM mailing list <femm@list.foster-miller.net>
- Subject: Re: [FEMM] Lua script to output B field and other info
- From: "robert Macy" <macy@california.com>
- Date: Sat, 20 Mar 2004 11:31:18 -0800
- In-reply-to: <200403201224.02922.adeffs@rpi.edu>
- List-archive: <http://femm.foster-miller.net/pipermail/femm>
- List-help: <mailto:femm-request@list.foster-miller.net?subject=help>
- List-id: FEMM mailing list <femm.list.foster-miller.net>
- List-post: <mailto:femm@list.foster-miller.net>
- List-subscribe: <http://femm.foster-miller.net/mailman/listinfo/femm>, <mailto:femm-request@list.foster-miller.net?subject=subscribe>
- List-unsubscribe: <http://femm.foster-miller.net/mailman/listinfo/femm>, <mailto:femm-request@list.foster-miller.net?subject=unsubscribe>
- Reply-to: FEMM mailing list <femm@list.foster-miller.net>

    Use lua to "map" B fields.  Use the lua script to calculate
    a model, then use the "plot to file" function to generate a
    table of values for B.  Always have to set the number of
    points in the plot to something plus 1 to get even
    positions.  for example, 51.  Also, plot both normal and
    tangential to get the x,y directions.  For AC fields,
    you'll get a complex value at each point.

    For multiple models, use lua to name the files in some
    sequential manner, like Bn001, Bt001, Bn002,Bt002, etc.

    Once you have text tables of data, you can do with it what
    you need.

    Little more detail what you're doing and I can send sample
    lua scripts.  But keep in mind I have the old version of
    femm.  Where there were two step processing of lua.

                           - Robert -

    On Sat, 20 Mar 2004 12:24:02 -0500
     Steven Adeff <adeffs@rpi.edu> wrote:
    > hello all!
    > I'm working on a programming project for my Computer
    > Methods in Electric Power
    > Engineering course that I'd like to use some output from
    > FEMM for. What I'd
    > like to do is be able to output the B field information
    > from a FEMM analysis
    > in a x,y,B style layout into a text file for import into
    > the program I have
    > to write. I haven't used Lua before and was wondering if
    > anyone had anything
    > similar that I could steal some code from, or if anyone
    > knows of a quick and
    > easy way to do this and wouldn't mind helping me.
    >
    > Thanks!!
    >
    >
    > --
    >
    > Steven Adeff
    > ADEFFS@RPI.EDU
    > Graduate, Electric Power Engineering
    > Rensselaer Polytechnic Institute - Troy, NY
    > _______________________________________________
    > FEMM mailing list
    > FEMM@list.foster-miller.net
    > http://femm.foster-miller.net/mailman/listinfo/femm

- References:
  - [FEMM] Lua script to output B field and other info
    - From: Steven Adeff <adeffs@rpi.edu>

- Prev by Date: [FEMM] Lua script to output B field and other info
- Next by Date: [FEMM] Ferrofluid BH curve?
- Previous by thread: [FEMM] Lua script to output B field and other info
- Next by thread: [FEMM] Ferrofluid BH curve?
- Index(es):
  - Date
  - Thread