While attempting to run NEC4.1 using a very large input model
(13,976 wire segments with 4-fold rotational symmetry), I
received the following error message:
JNFIND: ERROR AT -1 END OF SEGMENT 1
MULTIPLE WIRE JUNCTION AT CONNECTION TO SURFACE PATCH IS NOT ALLOWED
which seemed very strange since my model did not include any
surface patches.
After briefly reviewing the source code, I noticed that the
number 10000 appears in several places. My guess is that the
number 10000 is being used as a flag under the assumption that
the number of segments would never be this large.
Based on my limited knowledge of the code logic, I made a backup
copy of nec4d.f and changed all occurrences of the number 10000
to 20000. I set MAXSEG=32000 and MAXMAT=7200 in NECPAR.INC. With
4-fold rotational symmetry, the amount of RAM required to run the
executable should be < 1 GB. I recompiled and started the run on
an Ultra Sparc with 1 GByte of RAM. Based on previous smaller
runs on the same machine, it should take about 10 hours to
run. I'm afraid I may get bad results because I changed something
in the code that I shouldn't have.
My question is, how do you modify the code to allow for more than
10000 model segments without introducing any errors into the code?
Received on Tue Aug 19 1997 - 22:52:40 EDT
This archive was generated by hypermail 2.2.0 : Sat Oct 02 2010 - 00:10:38 EDT