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.
Schrodinger equation in COMSOL
Posted 11 avr. 2016, 07:33 UTC−4 0 Replies
Please login with a confirmed email address before reporting spam
The Schrodinger equation is an eigenvalue equation so I used the eigenvalue template and set the appropriate coefficients to their value in the equation. Is this also how you would approach the problem?
Either way I am faced with the problem that I want the coefficient u in the generic expression to be a piecewise function that takes on three different values in my geometry. My script is attached and it contains two hexagons and a third polygon which is on two of the facets. I want to define a function that I can use in the coefficient form PDE, which takes on separate values in the smaller hexagon, larger hexagon and on the third polygon.
Could anyone show how to do this?
Attachments:
Hello William Heinesen
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.