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

# Re: [femm] LUA question on current density

- To: femm@yahoogroups.com
- Subject: Re: [femm] LUA question on current density
- From: David Meeker <dmeeker@foster-miller.com>
- Date: Fri, 24 Aug 2001 09:47:20 -0400
- Organization: Foster-Miller, Inc.
- References: <4.3.2.7.2.20010824075302.00aabc10@staff-mailin.lboro.ac.uk>

    Keith Gregory wrote:

    > Jim,
    >
    > I think you may have to delete the material using
    >
    > delete_material("copper", ...
    >
    > and then put it back with a different current density using
    >
    > add_material("copper", .....
    >
    > I've never tried this but it works with circuits.
    >
    > Keith.

    I've incorporated Robin's latest fixes, and added some of my own new new lua
    functions, and uploaded it to the files section:
    http://groups.yahoo.com/group/femm/files/setup.exe for the self-installing
    executables
    http://groups.yahoo.com/group/femm/files/femmsrc.zip for the source code
    One of the things that this version has is the ability to modify properties,
    rather than having to delete them and then totally rebuild them. I've also
    updated the documentation, so these functions are described in section 5.2.9
    (modify_material, modify_bound_prop, modify_point_prop, modify_circ_prop).

    Other modifications:
    Since it was really easy to do, I made it so that all lua functions can use
    either the function naming convention with the underscores or the one without
    it (e.g. modifymaterial and modify_material can be used interchangeably);
    I added the "reset colors" button to the preferences (thanks to Alexander
    Eigner for the suggestion);
    Fixed two obscure bugs with the flux smoothing algorithm that I ran across;
    Modified the lua preprocessor command analyse() so that it can take a
    parameter that tells it to run in minimized mode. I also created the
    alternative function name analyze() for those of us in the USA who can't spell
    right...
    Added the routies add_bh_point and clear_bh_points so that nonlinear materials
    can be defined from scratch in a lua script (before, there was no way to
    programatically build a bh curve);
    I've also (hopefully) finished revising the manual to reflect all of the femm
    3.1 and lua functionality.

    Dave.

    begin:vcard
    n:Meeker;David
    tel;fax:781-890-3489
    tel;work:781-684-4070
    x-mozilla-html:TRUE
    url:http://members.aol.com/_ht_a/dcm3c
    org:Foster-Miller, Inc.;Electrical and Electronic Systems Group
    version:2.1
    email;internet:dmeeker@foster-miller.com
    title:Senior Engineer
    adr;quoted-printable:;;350 Second Avenue=0D=0A;Waltham;MA;02451-1196;USA
    fn:David Meeker, Ph.D.
    end:vcard

- Follow-Ups:
  - Re: [femm] LUA question on current density
    - From: Keith Gregory <k.gregory@lboro.ac.uk>

- References:
  - Re: [femm] LUA question on current density
    - From: Keith Gregory <k.gregory@lboro.ac.uk>

- Prev by Date: Re: [femm] LUA question on current density
- Next by Date: Re: [femm] LUA question on current density
- Previous by thread: Re: [femm] LUA question on current density
- Next by thread: Re: [femm] LUA question on current density
- Index(es):
  - Date
  - Thread