How to define a manifold for representing PDEs in vectorial form?

asked 1 year ago

Hello folks, I need some help, I want to be able to represent equations like ρ2u(x,y,z,t)t2c22u(x,y,z,t)=0, in which u is a vector field, but in this case 2u=2uxx2ex+2uyy2ey+2uzz2ex is actually a Laplacian only in the physical dimensions x, y, z, not time. As a consequence, the gradient, divergent and curl should only be applied to the physical dimensions as well. I wasn't able to reproduce this behavior for a 4D Euclidean space field:

from sage.manifolds.operators import *

E.<x,y,z,t> = EuclideanSpace()

u = E.scalar_field(function('u')(x,y,z,t))

laplacian(u).display()

E^4 → ℝ

(x, y, z, t) ↦ d^2(u)/dx^2 + d^2(u)/dy^2 + d^2(u)/dz^2 + d^2(u)/dt^2

I suspect the way to solve is by creating a manifold with a custom frame, but I have no idea of where to begin since my knowledge of manifolds is minimal. Any thoughts on how I can do this, thanks!

Preview: (hide)