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.

Running a parametric sweep using parametric inputs from another study

Marcus Collier-Wright

Please login with a confirmed email address before reporting spam

Hello. In my project I am simulating a resonant cavity with a microwave input. My goal is to simulate the resonant electric field for a variety of geometries.

My current simulation process consists of two study steps for a given geometry. Study 1 is an eigenfrequency study to determine the resonant frequency of the geometry.

Study 2 is a frequency domain study with a microwave input. I set the frequency of the microwave input as the eigenfrequency calculated in study 1.

I can run a parametric sweep on study 1, changing one parameter (e.g. cavity height) to output a set of eigenfrequencies for each parameter value. I then want to run study 2 sweeping the same parameter but for each value, I want the input frequency to be the eigenfrequency for that particular geometry configuration.

This is straightforward to do manually but I'm having trouble automating it. I'd like to be able to define a parameter sweep of one parameter, and have COMSOL calculate the eigenfrequency and then the frequency domain solution for each configuration automatically.

Any help would be greatly appreciated.


0 Replies Last Post 07.01.2019, 10:41 GMT-5
COMSOL Moderator

Hello Marcus Collier-Wright

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.