CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   Complex vectors and vectorsFields (

JimKnopf May 23, 2012 08:32

Complex vectors and vectorsFields
Hello Everyone!

In Foam it is possible to use complex numbers like

complex a(1.0,1.0);

also it seems to be possible to produce a complex valued vector

complexVector b(a,a,a);

But is it somehow possible to use these complex vectors for Fields? Is it possible to use a complex valued vector field or scalar field for differential equations?

Thanks for any input and best regards,

All times are GMT -4. The time now is 13:12.