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

# Re: [femm] Re: Current

- To: femm@yahoogroups.com
- Subject: Re: [femm] Re: Current
- From: David Meeker <dmeeker@ieee.org>
- Date: Fri, 09 Aug 2002 14:54:23 -0400
- References: <F257zpYEzJcZikaTAbN0002131f@hotmail.com>
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530

`Israel Kehaty wrote:`

> `Hi. David:`
> `In your example there are only 7 coils. But practically there can be hundreds or even thousands of coils. How can one assign all those coils the circuit propeties automatically without having to assign it one after another?`
> `Thanks.`

`This is a pain to do manually for any more than a small number of turns. However, it isn't too difficult to programmatically define and assign the currents with a loop in a lua script.`
`I've attached an example lua scipt that does just this. It draws an air-cored coil with 100 turns. Each turn has its own current constraint, forcing exactly 1 amp to flow in the turn. All of the block labels in the coil are defined to be in group 1, so you can use the lua command groupselectblock(1) in the postprocessor to select them all in one step, e.g. to compute the total losses including proximity effects.`

    Dave
    --
    David Meeker

``

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

- References:
  - Re: [femm] Re: Current
    - From: "Israel Kehaty" <tsiporak@hotmail.com>

- Prev by Date: Power
- Next by Date: Calculation of force
- Previous by thread: Re: [femm] Re: Current
- Next by thread: Power
- Index(es):
  - Date
  - Thread