Dear firedrakers,
I have the following function spaces:
W_2 = HDiv(U_2 x V_0) + HDiv(U_1 x V_1) [velocity]
W_2^b = U_2 x V_0 [buoyancy]
where U_0 -> U_1 -> U_2 and V_0 -> V_1 are horizontal- and vertical de Rham complexes.
I need to be able to apply the operator Q: W_2^b -> W_2 defined by
Q_{ij} = <\vec{w}_i,\hat{z} \gamma_j>
where \vec{w}_i and \gamma_j are basis functions and \hat{z} is the unit normal in the vertical direction. To apply Q to a buoyancy field b, I want to write something like
u = assemble(dot(TestFunction(W_2),zhat*b)*dx)
but how do I get the zhat in there? Is that even possible?
Thanks a lot,
Eike