# Implementation of Schroedinger's equation

 Register Blogs Members List Search Today's Posts Mark Forums Read

 September 5, 2011, 15:17 Implementation of Schroedinger's equation #1 New Member   Join Date: Jul 2011 Posts: 8 Rep Power: 7 I'm quite new in OpenFoam, but I'd like to learn something more by writing some code. I'd like to develop a solver for Schroedinger's equation. I found that the diffusion equation can be modified to achieve this task. But my question is:since Schroedinger's equation contains the imaginary unit, and I've not seen any solver using it, how can I describe the behaviour of the imaginary unit in openfoam? I read this paper, but I'd like to develop something mine, or at least understand the mathematic at the basis of his use of the matrices in substitution to the imaginary unit. Thank you all!!

September 6, 2011, 09:58
#2
Senior Member

Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 9
Quote:
 Originally Posted by DiracRules I'm quite new in OpenFoam, but I'd like to learn something more by writing some code. I'd like to develop a solver for Schroedinger's equation. I found that the diffusion equation can be modified to achieve this task. But my question is:since Schroedinger's equation contains the imaginary unit, and I've not seen any solver using it, how can I describe the behaviour of the imaginary unit in openfoam? I read this paper, but I'd like to develop something mine, or at least understand the mathematic at the basis of his use of the matrices in substitution to the imaginary unit. Thank you all!!
You will have to solve separately for real and imaginary parts just as the author is doing. There is a project on OpenFoam-extend to allow for more general types of unknowns (not just floating real numbers). But I am not familiar with its status regarding complex numbers.

Mirko

 Tags imaginary unit, schroedinger, solver

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Mihail CFX 7 September 7, 2014 06:27 DeliriousPsycho Main CFD Forum 1 December 23, 2011 08:01 aki_yafuji OpenFOAM 0 April 15, 2011 22:51 Sas CFX 15 July 13, 2010 08:56 saii CFX 2 September 18, 2009 08:07

All times are GMT -4. The time now is 05:49.