CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Complex vectors and vectorsFields (http://www.cfd-online.com/Forums/openfoam-programming-development/102143-complex-vectors-vectorsfields.html)

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,
Jim


All times are GMT -4. The time now is 15:52.