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

# Re: [femm] Using LUA to create a Bx table

- To: femm@yahoogroups.com
- Subject: Re: [femm] Using LUA to create a Bx table
- From: David Meeker <dmeeker@foster-miller.com>
- Date: Fri, 10 Aug 2001 13:44:51 -0400
- Organization: Foster-Miller, Inc.
- References: <9l13rv+ko7v@eGroups.com>

peter.ceelen@ct.boc.com wrote:

> I have been trying, without success, to create a LUA script that will
> create a x,y table of Bx values. Has anyone got an example of a
> functioning script that will do this.

OK--here's an example. The attached script evaluates Bx on a matrix of locations in the qfld1.fem example. The results are written to disk as a text file. To run the example:

1) load qfld1.fem (included in the attached zip) into the preprocessor in the usual way
2) push the "turn the crank" button to analyze the problem
3) push the "glasses" button to view the solution
4) select File|Open Lua Script off of the main menu of the postprocessor
5) pick out the file "grid.lua" (also included in the attached zip) and hit OK
6) a file called "values.txt" will then be written automatically with the field values separated by spaces.

Dave.

Attachment: `zip00012.zip`
Description: Zip compressed data

    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

- References:
  - Using LUA to create a Bx table
    - From: peter.ceelen@ct.boc.com

- Prev by Date: Using LUA to create a Bx table
- Next by Date: features
- Previous by thread: Using LUA to create a Bx table
- Next by thread: features
- Index(es):
  - Date
  - Thread