Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in the Cauchy stress formula? #111

Open
r03ert0 opened this issue Oct 17, 2024 · 0 comments
Open

Error in the Cauchy stress formula? #111

r03ert0 opened this issue Oct 17, 2024 · 0 comments

Comments

@r03ert0
Copy link

r03ert0 commented Oct 17, 2024

Dear Taichi devs,

In engine/mpm_solver.py, the formula for the Cauchy stress is

stress = 2 mu (F-R) F^T + I lambda J (J-1).

Isn't the formula missing a J^(-1) factor?

The Piola-Kirchhoff tensor for the fixed corrotated model is

P = 2 mu (F-R) + lambda (J-1) J F^(-T),

The Cauchy stress is defined as stress = (1/J) P F^(T), which should give

stress = 2 mu (F-R)/J + lambda (J-1) I.

However, the code in the mpm_solver.py (lines 452, 550) is:

stress = 2 * mu * (
    self.F[p] - U @ V.transpose()) @ self.F[p].transpose(
    ) + ti.Matrix.identity(ti.f32, self.dim) * la * J * (J - 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant