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

Complex scalar fields

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2013, 12:29
Default Complex scalar fields
  #1
New Member
 
Jam Rash
Join Date: May 2011
Posts: 4
Rep Power: 15
JamR is on a distinguished road
Dear All,
I want to simulate Wave equation as: laplacian(p)+k^2*p=... in which k (wave number) has both real and imaginary part. Thus, the pressure field would be a complex scalar field. Then, I need gradient and laplacian of its magnitude. It means it should be a volScalarfield or volVectorfield to apply those mathematical operations. Has anybody experience with defining a complex scalar field and mathematical operations on it?
I've seen something in dnsFoam in defining fft for random fluctuations. However, It is not useful because it works only with complex numbers and not with complex fields.

any comment is appreciated.

Thanks in advance,

RJ
JamR is offline   Reply With Quote

Reply


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
whats the cause of error? immortality OpenFOAM Running, Solving & CFD 13 March 24, 2021 08:15
compressible flow in turbocharger riesotto OpenFOAM 50 May 26, 2014 02:47
a reconstructPar issue immortality OpenFOAM Post-Processing 8 June 16, 2013 12:25
an odd(at least for me!) reconstructPar error on a field immortality OpenFOAM Running, Solving & CFD 3 June 3, 2013 23:36
is internalField(U) equivalent to zeroGradient? immortality OpenFOAM Running, Solving & CFD 7 March 29, 2013 02:27


All times are GMT -4. The time now is 17:56.