CHAPTER 5

Programmed Modeling

5.0 Introduction

As is often said, numerical experiment and design require a lot of trips around the modify-run-examine loop. In the last chapter, I showed how the SY command in 4nec2 can be used to simplify the modify step. In the next section, you will see that there are NEC commands that generate a whole set of wire descriptions. After that, I describe using a programming language, C++, to generate a NEC input file from a relatively simple file that describes the geometry, operating conditions, and desired output.

5.1 Using Wire-List Generators in NEC

Simple antenna structures can be readily described and altered in a direct NEC-command text file. A more complex structure, such as a spiral antenna on a box, ...

Get Small Antenna Design now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.