Hi,
After running the following code:
V = VectorL2(mesh, order=2, dgjumps=True)
Q = L2(mesh, order=1, dgjumps=True)
X = FESpace([V,Q])
...
gfu = GridFunction(X)
...
uh, ph = gfu.components
vtk = VTKOutput(ma=mesh, coefs=[uh,uh[0],uh[1],ph,grad(uh)[0,0]+grad(uh)[1,1]],\
names=["velsol","usol","vsol","psol","divsol"], filename="plot_ex", subdivision=3)
vtk.Do()
I cannot see the stream line graph of the velocity field but just a plane plot of Norm(uh). How can we recieve stream line graph, i.e., a vector graph with vector-valued (uh[0], uh[1]) in VTKOutput(…)?
Best,
Di Yang