August 25, 2023 at 9:09 pm
Ansys Employee
Hi Suruchi,
I apologize for the late reply, I missed the alert somehow.
- That is correct, since the default is 1, A1 will be 1 here. But it also applies to other values. For example, if you run a simulation with an initial amplitde of A1=0.5, you can also use this value in the same equation to find out the required amplitude for another value of power.
- Other than the script command, you can also integrate the Poynting vector over a monitor surface to calculate the power. But I believe it is straightforward to use the script command as well. I would ask you to look at this example: Integrating the Poynting vector. The examples provided on this link use both the methods.
- Can you tell me which example? It is possible that it is related to nonlinear applications. In linear simulations an amplitude of 1 should suffice for most cases. As the final results are normalized to the source power anyway. You can check the power behind the monitor by placing a DFT monitor there, collecting the Poynting vector and integrating it over a monitor surface.
- Please have a look at the script files in the above article. The code is directly provided here, and let me know if you have any issues.
Regards,
Amrita