Hallo
I have todeal with a three dimensional problem of fluid dynamic stability. To simplify its solution I have applyed a spatial Fourier transform along one of coordinates. With this approach my variables, Fourier coefficients, are complex numbers. Since there are nonlinear terms and multiplications with the imaginary unit, splitting the variables in their real and imaginary parts would make my formulation very complicated.
My question is if there are embedded tools in UFL to deal with complex variables or I necessarily have to split my variables into their real and imaginary parts and deal with them separately. I didn't find about this issue in the UFL manual.
Thanks in advance for any suggestion.
Stefano