Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Wave optics far field pattern optimization

Please login with a confirmed email address before reporting spam

When designing an antenna, how to use far field pattern as objective function of the optimization toolbox? For example, with a given control geometrical parameter, by calculating the frequency domain study with far field domain, a far field pattern is obtained. How to export the far field pattern as a function of radiation angle? If I want to obtain a far field pattern that is concertrate at one direction (for example for 2D problem), I would define an objective function as sign(cos(\theta-\theta_{0})-0.5)*ewfd.normdBEfar(\theta). In comsol, how to ascess the function ewfd.normdBEfar(\theta)? If I use the export data function, the exported data is a function in real space, but not a function of the radiation angle \theta. Also, how to define this integration in comsol as a probe function?


1 Reply Last Post 24 avr. 2023, 06:47 UTC−4
Kristian Ejlebjærg Jensen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 2 years ago 24 avr. 2023, 06:47 UTC−4

Gradient based optimization with far field variables is not supported for wave optics in COMSOL 6.1. You can use gradient free optimization to solve the problem, if the number of controls is not too large. The x-component of the far field at x0,y0,z0 can be computed by evaluating Efarx(x0,y0,z0). You can use this to express the norm of the field, and that approach should work with gradient free optimization.

Alternatively, you might be able to do some analytical calculations to produce an objective function that corresponds to the far field variables, but there is no built-in support for gradient based optimization with wave optics far field variables in COSMOL 6.1.

Best regards, Kristian E. Jensen Technical Product Manager, Optimization

Gradient based optimization with far field variables is not supported for wave optics in COMSOL 6.1. You can use gradient free optimization to solve the problem, if the number of controls is not too large. The x-component of the far field at x0,y0,z0 can be computed by evaluating Efarx(x0,y0,z0). You can use this to express the norm of the field, and that approach should work with gradient free optimization. Alternatively, you might be able to do some analytical calculations to produce an objective function that corresponds to the far field variables, but there is no built-in support for gradient based optimization with wave optics far field variables in COSMOL 6.1. Best regards, Kristian E. Jensen Technical Product Manager, Optimization

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.