Loading [MathJax]/jax/output/HTML-CSS/jax.js

First time here? Check out the FAQ!

Ask Your Question
2

Matrix/Tensor derivative for Stress Tensor

asked 13 years ago

packoman gravatar image

updated 13 years ago

I need to do define/calculate the following stress tensor in an elegant way:

Ti,j:=pδi,j+η(ivj+jvi)

where i,j can be x,y,z and

ivj:=vji

I've found the sage-function kronecker_delta for the first term, but I am having problems with the two partial derivatives.

Thanks in advance!

Preview: (hide)

Comments

Can you post what have you tried, or what are exactly your problems? The `diff` function can compute partial derivatives: just pass the variable with respect to you are differentiating. Does this help you in any way?

Juanlu001 gravatar imageJuanlu001 ( 13 years ago )

1 Answer

Sort by » oldest newest most voted
0

answered 9 years ago

roberto gravatar image

Have you tried SageManifolds? sagemanifolds.obspm.fr

I do tensor calculus with it and I think it's good. Then as Juanlu001 already told you try to use diff and post your code.

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 13 years ago

Seen: 1,271 times

Last updated: May 24 '15