Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

Schroedinger Poisson

Please login with a confirmed email address before reporting spam

Good morning,
I have a very simple question about building my model however after looking quite a lot on the internet I was not able to find the solution so... sorry if it's trivial :-)

I have a comsol model were I first solve the Schroedinger equation in a triangular potential well. Thus at the end of this calculation the variable ("u") is solved for a serie of eigenvalues. This works fine..

Then I want to use let's say the three first eigenvectors to compute this :

(with(1,u*conj(u))+with(2,u*conj(u))+with(3,u*conj(u)))/epsilon

with epsilon a constant.

This expression seems to be correct since I can plot it in comsol. However if I introduce this expression in the source term of the poisson equation it doesn't work..is there any other way to specifiy to comsol that I want the electron density term in the poisson equation to be defined as the sum of the three first solution ?

If you need I can upload my model..

Thanks a lot
Alex

1 Reply Last Post 24 avr. 2014, 14:23 UTC−4
COMSOL Moderator

Hello Alexandre Fête

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.


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 24 avr. 2014, 14:23 UTC−4

Good morning,
I have a very simple question about building my model however after looking quite a lot on the internet I was not able to find the solution so... sorry if it's trivial :-)

I have a comsol model were I first solve the Schroedinger equation in a triangular potential well. Thus at the end of this calculation the variable ("u") is solved for a serie of eigenvalues. This works fine..

Then I want to use let's say the three first eigenvectors to compute this :

(with(1,u*conj(u))+with(2,u*conj(u))+with(3,u*conj(u)))/epsilon

with epsilon a constant.

This expression seems to be correct since I can plot it in comsol. However if I introduce this expression in the source term of the poisson equation it doesn't work..is there any other way to specifiy to comsol that I want the electron density term in the poisson equation to be defined as the sum of the three first solution ?

If you need I can upload my model..

Thanks a lot
Alex


I have checked that if you introduce with(1,u*conj(u)) it does work.
However, with(2,u*conj(u)) does not, because only the first eigenvector
is stored in solution 1 ... I do not know yet to store all eigenvectors
in this solution 1
jp

[QUOTE] Good morning, I have a very simple question about building my model however after looking quite a lot on the internet I was not able to find the solution so... sorry if it's trivial :-) I have a comsol model were I first solve the Schroedinger equation in a triangular potential well. Thus at the end of this calculation the variable ("u") is solved for a serie of eigenvalues. This works fine.. Then I want to use let's say the three first eigenvectors to compute this : (with(1,u*conj(u))+with(2,u*conj(u))+with(3,u*conj(u)))/epsilon with epsilon a constant. This expression seems to be correct since I can plot it in comsol. However if I introduce this expression in the source term of the poisson equation it doesn't work..is there any other way to specifiy to comsol that I want the electron density term in the poisson equation to be defined as the sum of the three first solution ? If you need I can upload my model.. Thanks a lot Alex [/QUOTE] I have checked that if you introduce with(1,u*conj(u)) it does work. However, with(2,u*conj(u)) does not, because only the first eigenvector is stored in solution 1 ... I do not know yet to store all eigenvectors in this solution 1 jp

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.