Triying to solve the Advection Diffusion I get AssertionError: assert expr._ufl_is_terminal_modifier_

Please format your code by encapsulating it with ```.
Also please make the code a stand-alone example that can be run by anyone. See: Read before posting: How do I get my question answered? for a guidelines for writing a minimal example.