Borrar filtros
Borrar filtros

Position vector of the "Spatial Contact Force" reaction.

2 visualizaciones (últimos 30 días)
Camilo Manrique
Camilo Manrique el 31 de Oct. de 2020
Comentada: Juan Sagarduy el 1 de Nov. de 2020
Hello.
I am currently employing the "Spatial Contact Force" block to model the contact reaction between two bodies. I need the position vector of the contact point between the two bodies. That is, either the global or local position vector of the instantaneous point of contact. This information seems not to be included in the block menu.
Is there any way to measure it?.
Thanks in advance.

Respuestas (1)

Juan Sagarduy
Juan Sagarduy el 31 de Oct. de 2020
Hello Camilo
This is not trivial to derive. You can have a sensor between selected points in the two bodies and then sample this when the sensed separation distance given by the block becomes very low (contact).
Then, the contact point vector consists of the vector position of one body + fraction of the sampled vector. To know exactly, you need knowledge on the mesh. This is easiest for contact between two spheres.
Good luck / Juan
  2 comentarios
Camilo Manrique
Camilo Manrique el 31 de Oct. de 2020
Hello Juan,
Thanks for answering. Yes, it is not a trivial computation. Unfortunately, I am not dealing with spheres, so an analytical estimation does not seem to be the way to go. I am hoping to get the information from the simulation. Is there any way in which I can extract data from the mesh?. There is no mention in the documentation about this.
Thanks!
Juan Sagarduy
Juan Sagarduy el 1 de Nov. de 2020
Hi Camilo
There is a function called stlread that extracts the triangulation mesh from a STL file from CAD.
So, if u use STL files in Multibody, the approach i proposed might be plausible. In any case, it remains an ambitious goal.
Cheers Juan

Iniciar sesión para comentar.

Categorías

Más información sobre Applications en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by