Simscape Spatial Contact Force no contact signal when minimum distance is 0

18 ビュー (過去 30 日間)
Riccardo Capellino
Riccardo Capellino 2024 年 11 月 28 日 14:54
I'm modelling the collision between a plate and the L shaped mesh shown in figure (aircraft winglet).
The plate is a brick solid of dimensions XYZ [0.7 0.64 0.005]m, with a mass of 2.5kg.
The L shape mesh is made of 2 distinct components assembled as follow:
The mesh files are 2 STLs, each one have already been prepared as convex hull in Blender.
As you can see the minim distance approaches 0 but the contact signal is never triggered.
This is where it gets weird: if you replace the brick solid with a STL of the plate from Blender with same dimensions and mass you still get no collision. So you change the geometry of the winglet with a unique convex hull, yet no progres. If you increase the volume of the winglet, such as extruding in the X direction, collisions start to get recognized, but only after a certain amount. Every other part of the helicopter works fine.
For what I could understand this issue does not depend on:
1) The geometry of either the plate or the winglet
2) The position in space of winglet, as I tried different configurations using rigid transforms
3) The integrator, I've used ODE15s, ODE23t, ODE45 and they all behave the same (I lowered the relative tolerance and set maximum step size of 1 ms).
4) Switching on and off frictional forces
5) Changing Spring stiffness and damping, except for one case in witch
The spatial contact force works perfectly in the same model with the same plate but different components, all connected to the same Follower signal line.
Final note: I've imported the two meshes in the steering wheel example, both the plate and winglet collide with the plane, but not with each other. Using point clouds don't change anything, and I need the contact signals for my analisys so it's not really an option. So I tried to run a Rigid Body simulation with Blender and they work fine, so the problem lies in Simscape.
  6 件のコメント
Yifeng Tang
Yifeng Tang 27分 前
It's missing a "AW169_EPP.008.stl" file.
But if I replace it with the part.stl file in the folder, the simulation looks OK to me.
While I've no idea what's being simulated, the red panel does seem to properly fall onto the grey wedge, bounce off and collide again, and then slide off.
And I'm not sure what that point cloud is supposed to do. Could you please check if the package is complete?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeAssembly についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by