Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Electronics

Electronics

Topics related to HFSS, Maxwell, SIwave, Icepak, Electronics Enterprise and more.

Poynting vector calculations in the far-field

    • halamohmmed7
      Subscriber

      Hello. Please I need help regarding how can I calculate the normal component of the Poynting vector directly from the far-field Electric fields ? I used the following script, but it did not work:
      mon_name = "xz";
      f = getdata(mon_name, "f");
      # Get the electric field components in the far field
      E_squared = farfield2d(mon_name, 1, 2000);
      theta = farfieldangle("xz"); # Get angle data if needed for integration
      # Calculate the normal component of the Poynting vector using pre-defined constants
      epsilon0 = 8.854187817e-12; # Permittivity of free space
      Poynting_normal = sqrt(epsilon0 / mu0) * E_squared;
      # Integrate the Poynting vector over the specified solid angle
      x=getdata(mon_name,"x");
      z=getdata(mon_name,"z");
      T2 = 0.5 * integrate(Poynting_normal); # Power in watts
      # get power injected by source (Watts)
      sp=sourcepower(f);
      # Normalize to source power
      T2 = T2 / sp;
      ?"Total Scattered Power: " + num2str(T2);
      ?"Source power (Watts): "+num2str(sp);

    • Rob
      Forum Moderator

      Duplicate  https://innovationspace.ansys.com/forum/forums/topic/poynting-vector-calculations-in-the-far-field/  

Viewing 1 reply thread
  • The topic ‘Poynting vector calculations in the far-field’ is closed to new replies.
[bingo_chatbox]