inertia calculation facetbox
Hi,
I am performing compression test with a facetbox with mass. I assign masses to the 12 facets in the facetbox. Then I perform Updateclumpprop
Below is an example with a cube.
The mass of the box from yade is correct. I expect the interia tensor with identical components values in the three rotation axes for a cube. This is not the case though. Any idea?
-------
from yade import pack
import shutil, sys, imp
import numpy as np
density_box = 3000.0
Mat_box=
L = 1.0;
M_total = density_box*L*L*L
box_id = []
box_id.
box_id=
O.bodies.
for ijk in box_id:
if isinstance(
O.bodies[
O.bodies[
O.bodies.
print O.bodies[
print O.bodies[
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Bruno Chareyre
- Solved:
- Last query:
- Last reply:
This question was reopened
- by Nishant