mesh =UnitCube(10,10,10)V = FunctionSpace(mesh, "CG", 1)u = Function(V)
v = TestFunction(V)b = assemble(u*v*dx)
You can only assemble forms.
What do you mean, forms?