5) Changing Spring stiffness and damping, except for one case with a very high stiffness (1e10 N/m) I can get the first contact, the plate bounces once, then gets through the object.
Simscape Spatial Contact Force no contact signal when minimum distance is 0
32 次查看(过去 30 天)
显示 更早的评论
Riccardo Capellino
2024-11-28,14:54
回答: Riccardo Capellino
2024-12-7,13:28
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.
8 个评论
Yifeng Tang
2024-12-5,13:48
MATLAB Version: 9.14.0.2674353 (R2023a) Update 7
The simulation works on my end with the ode23t solver you specified. If left to "auto", it'll choose ode45 and it works as well.
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Assembly 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!