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.

How to couple multiple physics

Please login with a confirmed email address before reporting spam

Hello,
I have a big issue when I try to model harmonic generation in plasmonic nanoantennas with the RF module. But this can be a general issue when you must couple multiple physics.
I am simulating the nonlinear phenomena of Second-Harmonic Generation and Third-Harmonic Generation, therefore 3 frequencies are involved: f1, f2 and f3.
I wrote my script as it was a coupled-physics problem:
- I set Study 1 to solve the problem at the frequency f1, which is independent from the others, no problem.
- I set Study 2 to solve the problem at the frequency f2, where the field is dependent only on a variable evaluated during Study 1. No problem, I set "Values of variables not solved for" in order to get the required value from the solution calculated during Study 1.
- Finally, I set Study 3 to solve the problem at the frequency f3, which must be dependent both on the fields at f1 and f2. But in this case one "variable not solved for" should be taken from Study 1, and the other one from Study 2.
Is it possible to perform this action in some way in my script? Or maybe there is a simpler way to couple studies at different frequencies?

Thanks!

0 Replies Last Post 21 ago 2015, 11:08 GMT-4
COMSOL Moderator

Hello Daniele Modotto

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.