Closed nschloe closed 3 years ago
I think dot([1., 1.], u) causes it. I'm quite sure dot-helper has no special case for such constant vectors. I'll try to consider how it could work.
One question though. The test function u is scalar, right? So what do you mean by a dot u?
Above I meant "trial function u".
Trying to recover from wisdom teeth removal :0).
One question though. The test function u is scalar, right? So what do you mean by a dot u?
It should be
dot([1,1], grad(u))
and this works indeed. This one's on me, thanks for the quick reply!
See also ex 25 Forced convection. This is just pure Galerkin. Longer term, I'm looking to investigate more specialized discretizations : method of characteristics #600, streamwise upwind Petrov Galerkin, discontinuous Galerkin, ...
I tried to formulate a diffusion-advection problem
(math rendered with Purple Pi) in skfem:
This results in the cryptic error
Any hint on what's going wrong?