Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old June 16th 07, 12:36 AM posted to rec.radio.amateur.antenna
external usenet poster
 
First recorded activity by RadioBanter: Jul 2006
Posts: 464
Default Antenna programming tool/language/compiler/preprocessor?

In article om,
wrote:
Hello everybody,

I am searching for an antenna programming tool/compiler/preprocessor/
language. To finilize my work with similar subject (based on NEC2/
NEC4, especially on 4NEC2 from Arie Voors), I want to catch some good
ideas for this. Are you knowing some good tools, that provide to model
your antenna with a program code?


I've used a PERL pre-processing script which allows the embedding of
PERL expressions/calculations into a NEC input file, and substitution
of the results of these calculations into the statements in the deck.

It's somewhat simple-minded and doesn't have all of the flexibility
that you seem to be shooting for, but it might get you started.

Google for nec_param_util.Z - it's in most of the NEC2 archive
repositories, I believe.

--
Dave Platt AE6EO
Friends of Jade Warrior home page: http://www.radagast.org/jade-warrior
I do _not_ wish to receive unsolicited commercial email, and I will
boycott any company which has the gall to send me such ads!
  #2   Report Post  
Old June 16th 07, 01:34 AM posted to rec.radio.amateur.antenna
external usenet poster
 
First recorded activity by RadioBanter: Jun 2007
Posts: 22
Default Antenna programming tool/language/compiler/preprocessor?

Hello Dave,

thanks for your hint. I know the problem with perl scripts. What I am
searching is, that no text or symbol replacement or calculating
symbols is done on your source nec file. I am searching for a compiler/
pre-processor, that makes from source file (antenna model) a
compatible nec file (still left in symbolic 4nec2-format).
I am sick off, to code many symbolic lines of nec code. It is boring
and difficult, when your model gets complex and has much more
segments.
Therefore I started with my pre-processor few month ago, that makes
the code for me automatically. It supports primitive object and
complex structures. It also let you "to program" your antenna model.
But the most advantage of letting the nec file symbolic, you can
optimize the antenna parameters.
I tried and constructed many antenna models and wont miss the
optimizer tool from 4nec2.

I am wondering, that nobody made such a tool till now.

Aziz

  #3   Report Post  
Old June 18th 07, 06:47 PM posted to rec.radio.amateur.antenna
external usenet poster
 
First recorded activity by RadioBanter: Mar 2007
Posts: 801
Default Antenna programming tool/language/compiler/preprocessor?

wrote:
Hello Dave,

thanks for your hint. I know the problem with perl scripts. What I am
searching is, that no text or symbol replacement or calculating
symbols is done on your source nec file. I am searching for a compiler/
pre-processor, that makes from source file (antenna model) a
compatible nec file (still left in symbolic 4nec2-format).
I am sick off, to code many symbolic lines of nec code. It is boring
and difficult, when your model gets complex and has much more
segments.
Therefore I started with my pre-processor few month ago, that makes
the code for me automatically. It supports primitive object and
complex structures. It also let you "to program" your antenna model.
But the most advantage of letting the nec file symbolic, you can
optimize the antenna parameters.
I tried and constructed many antenna models and wont miss the
optimizer tool from 4nec2.

I am wondering, that nobody made such a tool till now.

Aziz


What you are looking for is essentially a way to specify a mechanical
design, which would then be processed into an appropriate description
for a modeling code to use.

For trivial antennas, it would be pretty easy to have a text language to
describe things. You could have macros and such. However, at a basic
level, all you're doing is exchanging the somewhat cryptic NEC cards for
something more readable.

As soon as it gets more complex, you're looking at defining your own
shape/geometry definition language, and that's quite a chore.. and has
been done to boot.

A better approach is to use an off the shelf drawing package of some
sort, and build a parser that takes the mechanical drawing and turns it
into a EM model. In the commercial world, there's a lot of activity for
this sort of gridding process.

Typically you'd start with something like an IGES or DXF file.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FA: 1-Day-Left: 3 Books: MICROPROCESSORS, ASSEMBLY LANGUAGE Programming, 8080, Z-80, Etc. David Equipment 0 April 19th 06 12:42 PM
PicBasic Pro Compiler Ver 2.43 tk Homebrew 0 October 12th 03 03:11 PM
PicBasic Pro Compiler Ver 2.43 tk Homebrew 0 October 12th 03 03:11 PM


All times are GMT +1. The time now is 09:57 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 RadioBanter.
The comments are property of their posters.
 

About Us

"It's about Radio"

 

Copyright © 2017