'Can I deal with vector fields in sympy without specifying coordinate system?
I have differential equations for two vector fields: diffusion equation for magnetic field and Navier-Stokes equation for fluid velocity. I am interested in transformation of these equations without specifying coordinate system. Sympy.vector gives opportunity to deal with vector fields, but I need to specify each component of vector. I understand that when you deal with nabla operator symbolicaly (without specifying coordinate system) it can be confusing. For example, see picture. But maybe there is another class in sympy or another package in python that can deal in that way?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|