[TowerTalk] Need a test run on various versions of NEC

Lux, Jim jim at luxfamily.com
Tue Jan 12 16:43:28 EST 2021


On 1/12/21 12:53 PM, Máximo EA1DDO_HK1H wrote:
> Hi Jim,
>
> What you meant "NEC broken" ?
> Can´t you just download it again?

I used to use CocoaNEC 
(http://www.w7ay.net/site/Applications/cocoaNEC/)  and separately, a 
compiled version of NEC2, both broke when I upgraded to Catalina (All of 
the CocoaXYZ ham stuff no longer works, and there's some difference in 
the libraries for my compiled version - which I've not used in a very 
long time.)

W7AY has the source code for CocoaNEC, but I'll save a recompile for 
another day.

Ditto for the nec2 - I use nec4 normally, and that I have compiled 
recently and keep up to date.


>
> I am trying to run your code but has several errors.
What's the error message?
>
> What is XQ and  PT?

XQ tells NEC to run the model, then the next cards change the loading 
and excitation, and the next XQ tells it to run again.

PT -1 suppresses the printing of the segment currents (since I'm not 
interested in them for this model)



> CM cross dipole test
> CM 10 degree skew
> CM antennas are slightly long for resonance at 299.8 MHz
> CM cos(10) - 0.23916
> CM sin(10) - 0.04217
> CM
> CM loading is for copper 5.8E7
> CM Jim Lux - W6RMK - 12 Jan 2021
> CE GW 1 101  0.24285 0        0     -0.24285  0         0 0.001
> GW 3 101  0.04217 0.23916  0.1   -0.04217 -0.23916  .1 0.001
> GW 991 1 -100.000000 -100.000000 0.000000 -100.000000 -100.000000 0.010000 0.000500
> GW 992 1 101.000000 -101.000000 0.000000 101.000000 -101.010000 0.000000 0.000500
> GE
> GN -1
> CM excite element #1, measure radiated field
> LD 5 0 0 0 5.8e7
> EX 0 1 51 0 1 0
> EX 0 3 51 0 1E-17 0
> PT -1
> RP 0 1 1 1000 0 0 0 0 XQ
> CM excite element #2, measure radiated field
> LD 5 0 0 0 5.8e7 EX 0 1 51 0 1E-17 0 EX 0 3 51 0 1 0
> PT -1
> RP 0 1 1 1000 0 0 0 0 XQ
> CM radiate with field, measure open circuit voltages
> LD 5 0 0 0 5.8e7
> NT 1 51 991 1 1e-10 0 0 0 1e20 0
> NT 3 41 992 1 1e-10 0 0 0 1e20 0
> EX 1 1 1 0 0.000000 0.000000 0.000000 0 0 0 0
> PT -1 XQ
> CM radiate with field other direction, measure open circuit voltages
> LD 5 0 0 0 5.8e7
> NT 1 51 991 1 1e-10 0 0 0 1e20 0
> NT 3 41 992 1 1e-10 0 0 0 1e20 0
> EX 1 1 1 0 0.000000 90.000000 0.000000 0 0 0 0 PT -1 XQ
> EN
>
> -----Original Message-----
> From: TowerTalk [mailto:towertalk-bounces at contesting.com] On Behalf Of Lux, Jim
> Sent: martes, 12 de enero de 2021 18:35
> To: towertalk
> Subject: [TowerTalk] Need a test run on various versions of NEC
>
> I'm writing some software to generate/parse NEC input and output files.
> Generically for the purposes of optimizing phased arrays.
>
>
> I've been testing it here with NEC4.2, but my NEC2 seems to be broken
> (Curse you Catalina!).  I would love it if someone could just cut/paste
> the following NEC deck, run it through your flavor of NEC2 and send me
> the output file.
>
> Tnx,
>
> Jim
>
> CM cross dipole test
> CM 10 degree skew
> CM antennas are slightly long for resonance at 299.8 MHz
> CM cos(10) - 0.23916
> CM sin(10) - 0.04217
> CM
> CM loading is for copper 5.8E7
> CM Jim Lux - W6RMK - 12 Jan 2021
> CE
> GW 1 101  0.24285 0        0     -0.24285  0         0 0.001
> GW 3 101  0.04217 0.23916  0.1   -0.04217 -0.23916  .1 0.001
> GW 991 1 -100.000000 -100.000000 0.000000 -100.000000 -100.000000
> 0.010000 0.000500
> GW 992 1 101.000000 -101.000000 0.000000 101.000000 -101.010000 0.000000
> 0.000500
> GE
> GN -1
> CM excite element #1, measure radiated field
> LD 5 0 0 0 5.8e7
> EX 0 1 51 0 1 0
> EX 0 3 51 0 1E-17 0
> PT -1
> RP 0 1 1 1000 0 0 0 0
> XQ
> CM excite element #2, measure radiated field
> LD 5 0 0 0 5.8e7
> EX 0 1 51 0 1E-17 0
> EX 0 3 51 0 1 0
> PT -1
> RP 0 1 1 1000 0 0 0 0
> XQ
> CM radiate with field, measure open circuit voltages
> LD 5 0 0 0 5.8e7
> NT 1 51 991 1 1e-10 0 0 0 1e20 0
> NT 3 41 992 1 1e-10 0 0 0 1e20 0
> EX 1 1 1 0 0.000000 0.000000 0.000000 0 0 0 0
> PT -1
> XQ
> CM radiate with field other direction, measure open circuit voltages
> LD 5 0 0 0 5.8e7
> NT 1 51 991 1 1e-10 0 0 0 1e20 0
> NT 3 41 992 1 1e-10 0 0 0 1e20 0
> EX 1 1 1 0 0.000000 90.000000 0.000000 0 0 0 0
> PT -1
> XQ
> EN
>
>
> _______________________________________________
>
>
>
> _______________________________________________
> TowerTalk mailing list
> TowerTalk at contesting.com
> http://lists.contesting.com/mailman/listinfo/towertalk
>



More information about the TowerTalk mailing list