Hi,
How do I specify more than two trial and test functions in Fenics. Am new to Fenics.
For example I have U=(U,V), u=(u,v) are vectors functions and p1, p2 are scalar functions. So I choose 2 vector functions m, n and 2 scalar functions q,r for the variational formulation all in 2d and I tried
V1= VectorFunctionSpace(mesh, 'Lagrange', degree=2)
Q = FunctionSpace(mesh, 'Lagrange', degree=1)
VQ = V1 * Q
(U,u, p1,p2)= TrialFunctions(VQ)
(m,n,q,r) = TestFunctions(VQ)
But this is not working. Any hint is appreciated. Thanks