- #1
Curl
- 758
- 0
I have a scalar function and a vector function and I need to make a scalar function as so:
k=[kx ky kz]
T=T(x,y,z)
Function I want:
div(k ? gradT) where "?" would be some operator that multiplies each component of k and gradT to make the vector [kx ∂T/dx , ky ∂T/∂y , kz ∂T/∂z]
that way I can apply the divergence operator and get:
∂/∂x (kx ∂T/∂x) + ∂/∂y (ky ∂T/∂y) + ∂/∂z (kz ∂T/∂z)
So is there some way to express this using elementary notation?
k=[kx ky kz]
T=T(x,y,z)
Function I want:
div(k ? gradT) where "?" would be some operator that multiplies each component of k and gradT to make the vector [kx ∂T/dx , ky ∂T/∂y , kz ∂T/∂z]
that way I can apply the divergence operator and get:
∂/∂x (kx ∂T/∂x) + ∂/∂y (ky ∂T/∂y) + ∂/∂z (kz ∂T/∂z)
So is there some way to express this using elementary notation?