Ivar KJELBERG
                                                                                                                                                    COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
                                                         
                            
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                9 years ago                            
                            
                                2016年5月25日 GMT+8 13:46                            
                        
                        
                                                    Hi
Which physics are you using ?, 
Normally you can define how many of the eigenfrequencies/eigenvalues respectively you want to display, and depending on the physics COMSOl might set the default to "1". But clearly COMSOL, as numerical tool, cannot propose an "infinite" number of eigenmodes, it must be finite for the software to be able to list them ;)  The more you want the more you need to mesh fine and the more time it takes ...
--
Good luck
Ivar                                                
                                                
                            Hi
Which physics are you using ?, 
Normally you can define how many of the eigenfrequencies/eigenvalues respectively you want to display, and depending on the physics COMSOl might set the default to "1". But clearly COMSOL, as numerical tool, cannot propose an "infinite" number of eigenmodes, it must be finite for the software to be able to list them ;)  The more you want the more you need to mesh fine and the more time it takes ...
--
Good luck
Ivar                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                9 years ago                            
                            
                                2016年5月25日 GMT+8 17:58                            
                        
                        
                                                    My script is this. I want to solve the Schrodinger equation for the geometry defined in the script and this is the only way I can see how to do it. 
In the link:
www.lmn.pub.ro/~daniel/ElectromagneticModelingDoctoral/Books/COMSOL4.3/mph/PhysicsInterfaceBuilderUsersGuide.pdf
There is a long step-by-step guide to set up a physics interface for the Schrodinger equation but I could not follow it because it was written to users of COMSOL which apparently is very different from the 5.1 version I am using. 
Either way the solver is not working in my script. The eigenvalues found do not make sense if they are to be the ground state, first excited state energies etc. Also how do I browse between the different eigensolutions? I would expect there to be one solution/eigenmode for each eigenvalue.                                                 
                            My script is this. I want to solve the Schrodinger equation for the geometry defined in the script and this is the only way I can see how to do it. 
In the link:
http://www.lmn.pub.ro/~daniel/ElectromagneticModelingDoctoral/Books/COMSOL4.3/mph/PhysicsInterfaceBuilderUsersGuide.pdf
There is a long step-by-step guide to set up a physics interface for the Schrodinger equation but I could not follow it because it was written to users of COMSOL which apparently is very different from the 5.1 version I am using. 
Either way the solver is not working in my script. The eigenvalues found do not make sense if they are to be the ground state, first excited state energies etc. Also how do I browse between the different eigensolutions? I would expect there to be one solution/eigenmode for each eigenvalue.                         
                                                
                        
                                                
                                                                                                            
                                             
                                            
                            
                                                                                        
                                Ivar KJELBERG
                                                                                                                                                    COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
                                                         
                            
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                9 years ago                            
                            
                                2016年5月25日 GMT+8 19:01                            
                        
                        
                                                    Hi
have you checked the model "Physics Builder" documentation, there you have the development of the Schrodinger equations for COMSOL
--
Good luck
Ivar                                                
                                                
                            Hi
have you checked the model "Physics Builder" documentation, there you have the development of the Schrodinger equations for COMSOL
--
Good luck
Ivar                        
                                                
                                                                                                            
                                             
                        
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                9 years ago                            
                            
                                2016年5月26日 GMT+8 20:26                            
                        
                        
                                                    Thank you for the suggestion.
I have now set up a physics builder that solves the Schrodinger equation given some geometry and input potential. What I would like to do however, is to be able to solve it where I specify different values for the potential V depending on the domain. If I try to do that for for example two circles with common origin I get a solution that does not make sense. Can you show me in the attached script how you would make V a stepwise function that takes two different values a and b in the outer and inner ring?                                                
                                                
                            Thank you for the suggestion.
I have now set up a physics builder that solves the Schrodinger equation given some geometry and input potential. What I would like to do however, is to be able to solve it where I specify different values for the potential V depending on the domain. If I try to do that for for example two circles with common origin I get a solution that does not make sense. Can you show me in the attached script how you would make V a stepwise function that takes two different values a and b in the outer and inner ring?