Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 26527

Solving Self - Consistent Schrodinger and Poisson with MATLAB and COMSOL LiveLink.

$
0
0
I'm a COMSOL 4.2a user. I need to solve 2D self-consistent Schrodinger and Poisson equation. Thus, I need to feed the potential values and the wavefunctions to the Schrodinger and Poisson equations as argument and solve iteratively.

The thing I need to know, how can I feed the updated the wavefunction and potential values as argument iteratively in my model? I have livelink with MATLAB and I intend to solve the problem inside a loop (i.e. Calling one models while passing the result of another as argument). I have solved the models with PDE solver but cant do it iteratively with LiveLink.

One more thing, is it possible to access the results directly from MATLAB and thus use them as variable ( though a class of course) from MATLAB for post-processing, like we get the solution matrix in MATLAB?

--
Thanks
Mehedi

Viewing all articles
Browse latest Browse all 26527

Trending Articles