Hi Community,
I am writing a lua script to extract power flux density (PFD) from postfeko. Below is the metadata of the nearfield data using Getdata() function.
DataSet:
Number of axes = 2
Frequency axis spanning from XX Hz to YY Hz with n values.
Number of quantities = 7
EFieldComp1 is a Complex with the unit V/m
EFieldComp2 is a Complex with the unit V/m
EFieldComp3 is a Complex with the unit V/m
HFieldComp1 is a Complex with the unit A/m
HFieldComp2 is a Complex with the unit A/m
HFieldComp3 is a Complex with the unit A/m
MediumIndex is a Scalar with no unit
MetaData
Using the above metadata, I was able to extract Ex, Ey, Ez, Hx, Hy and Hz.
ChatGPT gave me the following method to calculate PFD from E-field and H-field as:
Where H* is the conjugate of H-field.
I used the above formula and compared against the values shown in postfeko GUI, the values didn’t match.
Can you please advise?
Thanks!