CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

Implementation of Schroedinger's equation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 5, 2011, 15:17
Default Implementation of Schroedinger's equation
  #1
New Member
 
Join Date: Jul 2011
Posts: 8
Rep Power: 5
DiracRules is on a distinguished road
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!!
DiracRules is offline   Reply With Quote

Old   September 6, 2011, 09:58
Default
  #2
Senior Member
 
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 8
mirko is on a distinguished road
Quote:
Originally Posted by DiracRules View Post
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
mirko is offline   Reply With Quote

Reply

Tags
imaginary unit, schroedinger, solver

Thread Tools
Display Modes

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
Problem in implementation of Shallow water equation DeliriousPsycho Main CFD Forum 1 December 23, 2011 08:01
Implementation into the reynolds stress equation aki_yafuji OpenFOAM 0 April 15, 2011 22:51
Constant velocity of the material Sas CFX 15 July 13, 2010 08:56
mass flow in is not equal to mass flow out saii CFX 2 September 18, 2009 08:07


All times are GMT -4. The time now is 04:32.