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.

Problem with Mesh when sweeping a geometric parameter

Please login with a confirmed email address before reporting spam

I am making a model of an optical device that is composed of a metal grating, with an air gap below, a dielectric layer below that and a metal ground plane below. All of the geometry is defined with parameters. I am using a frequency domain study.

I have been able to sweep the wavelength with a parametric sweep to get a nice spectrum for the device. I now want to sweep the height of the air gap and the wavelength at the same time by adding it to the same parametric sweep as the wavelength. When I try to this, I get the error "You must specify the destination."

I've traced this back to the mesh node. I've used the Copy Edge feature to match the mesh at the edge of my model where I have periodic boundary conditions. Apparently, trying to sweep the geometry in this way depopulates the selections used in Copy Edge. To repair the model, I then have to revert to the last saved state. Whenever I change the air gap manually, my geometry and my mesh both update correctly. Is there a way I can make this work properly using a parameter sweep?

Thank you,

Will

0 Replies Last Post 09.04.2013, 19:54 GMT-4
COMSOL Moderator

Hello Will Streyer

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

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.