CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Complex Fields

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2010, 04:47
Default Complex Fields
  #1
New Member
 
sunil
Join Date: Jan 2010
Posts: 8
Rep Power: 16
suniljain is on a distinguished road
What would be the procedure to be able to solve for Complex (complex as in complex numbers, with a real and imaginary parts) fields.

Complex number support seems to be present in OpenFOAM, but no such thing as volComplexField, volComplexVectorField, etc.

What would be the procedure to be able to use ddt and div, grad etc schemes with complex numbers??

And finally the boundary conditions?

What will have to be done to make the solver, so that solve(...) can be used?

Has any work already gone in this direction?
suniljain is offline   Reply With Quote

Old   September 12, 2019, 09:09
Default
  #2
Member
 
Join Date: Aug 2012
Posts: 33
Rep Power: 13
gigilentini8 is on a distinguished road
This would be a great feature indeed...
but quite "complex" to implement. I wonder if there is some workaround to define solvers using separately two fields (real and imaginary part)

Quote:
Originally Posted by suniljain View Post
What would be the procedure to be able to solve for Complex (complex as in complex numbers, with a real and imaginary parts) fields.

Complex number support seems to be present in OpenFOAM, but no such thing as volComplexField, volComplexVectorField, etc.

What would be the procedure to be able to use ddt and div, grad etc schemes with complex numbers??

And finally the boundary conditions?

What will have to be done to make the solver, so that solve(...) can be used?

Has any work already gone in this direction?
gigilentini8 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFoam and complex numbers panara OpenFOAM Pre-Processing 3 June 13, 2017 06:25
PostChannel maka OpenFOAM Post-Processing 5 July 22, 2009 10:15
Programming a CFD code using complex variables New coding Main CFD Forum 1 July 3, 2008 22:32
Can Fluent deal with complex number? demigod FLUENT 2 June 27, 2005 04:53
CFD code for sort of complex fluid/solid interaction? Alton Reich, PE Main CFD Forum 3 May 29, 2000 10:33


All times are GMT -4. The time now is 19:35.