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

# Re: [femm] General question and/or proposition for the circuit property and global variable

- To: femm@yahoogroups.com
- Subject: Re: [femm] General question and/or proposition for the circuit property and global variable
- From: Keith Gregory <k.gregory@lboro.ac.uk>
- Date: Fri, 13 Dec 2002 08:37:16 +0000
- In-reply-to: <atajuc+j4lk@eGroups.com>

`What you really need is the facility to make series circuits which is on Dave's wish list already, however you could do it relatively easily using a lua function.`
`Lua functions are defined as, for example`

    function MakeNode(x,y)
    addnode(x,y)
    end

`which is then referred as if MakeNode(x,y) existed as a lua command. Functions should be at the start of a script before the main operations.`
`I think it would be possible to loop around your conductors instead of having to define each individually by assembling the lua command from the loop counter.`
`Keith.`
``
`Define a lua function (which should be at the start of a script before the main operations) At 18:18 12/12/2002 +0000, you wrote:`

>     General question and/or proposition for the circuit property and
>     global variables.

> `Hello, again, every body !`

>     Inductance and wire are made with turn of wires. When you simulate at
>     high frequency it is necessary to put a current in each wire with its
>     own in circuit property c1 c2 cn ? Each property has its own current
>     which is the same ex:10A.
>     If I want to change the current from 10A to 20A , I have to modify the
>     c1 c2 cn.

>     Is there any method to create a global variable named Ix , defined in
>     each current property ? By changing Ix , I will change all the
>     current properties .
>     On the same level , I can define another global value R for turn
>     ration . and define the secondary current as Ix/R .

>     Global variables can also be used in Lua programming for iterative
>     calculation

> `Let me know about his !`
> ``
> ``
> ``
> `
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/`

``

- References:
  - General question and/or proposition for the circuit property and global variable
    - From: "jire602000 <jire602000@yahoo.com>" <jire602000@yahoo.com>

- Prev by Date: Re: [femm] General question and/or proposition for the circuit property and global variable
- Next by Date: Re: [femm] Call to triangle unsucessful after import of DXF
- Previous by thread: Re: [femm] General question and/or proposition for the circuit property and global variable
- Next by thread: Femm releases 3.3 - 3.2
- Index(es):
  - Date
  - Thread