Jump to content

Dealing with FEM + Static Body


Pelayo

Recommended Posts

Good night, people:

I'm a newbie with Houdini. I've tried lots of tutorials but, I'm still having problems with collisions. I made a simple setup, a growing fem ball inside a static collider, but, it interpenetrates the walls of the static object.

I tried to get more substeps, to have more detail in collision guides, but I'm not sure what I'm doing wrong. I attach the file that I'm working on.

 

Thanks!

testme.hipnc

Link to comment
Share on other sites

Set "Local scaling" to "Use Local Feature Size" to have more accurate solidembed.
In "box_object1" set "Division size" to 0.05 or less. Change substeps to default 4 and 2 for collision.

  • Like 2
  • Thanks 1
Link to comment
Share on other sites

12 hours ago, fencer said:

Set "Local scaling" to "Use Local Feature Size" to have more accurate solidembed.
In "box_object1" set "Division size" to 0.05 or less. Change substeps to default 4 and 2 for collision.

Thanks fencer, it worked in this setup but... when I tried to work with thin walls in the collider object, again... it overlap again. Tried to raise sphere divisions and lower "Division size" in box_object1 but didn't make too much difference.

 

Link to comment
Share on other sites

18 minutes ago, Pelayo said:

Thanks fencer, it worked in this setup but... when I tried to work with thin walls in the collider object, again... it overlap again. Tried to raise sphere divisions and lower "Division size" in box_object1 but didn't make too much difference.

 

Make a screenshot of the problem area, maybe I do not understand what do you mean.

Link to comment
Share on other sites

12 hours ago, fencer said:

Make a screenshot of the problem area, maybe I do not understand what do you mean.

I tried your settings and that minimized the problem. But there's still some interpenetration of the sphere with the box. My idea was to finally do a thinner outer box, but when I try to do that, the inner sphere escapes from the box.

 

59e090d5aff14_Capturadepantalla2017-10-13alas12_06_47.png.9fd82b89bbcb2a949f378611874846db.pngUsing the thick wall sphere starts to overlap box.

59e090febe118_Capturadepantalla2017-10-13alas12_07_26.thumb.png.84203554a27eb7b19ac5be8dcc29c91b.png

 

If I try thinner walls:

 

59e09b54e3f21_Capturadepantalla2017-10-13alas12_53_31.thumb.png.53cd8fc4a5eb8fdf34d366c3e4b0dc58.png

Edited by Pelayo
Link to comment
Share on other sites

Hello, 

by raising your sphere division, your sim is more accurate but i takes more time to compute... and sometimes, the result is still not perfect ... and it seems you are in this case.

if i were you, i would keep your sim as it is , and after that, i would make some adjustements with sop point nodes to reduce overlapping. bellow 2 variations of the same method.

have fun with your muffin !
++

 

muffin-overlapping issue.jpg

testme-sop adjustements-ok++.hipnc

Edited by yglemarec
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

21 hours ago, yglemarec said:

Hello, 

by raising your sphere division, your sim is more accurate but i takes more time to compute... and sometimes, the result is still not perfect ... and it seems you are in this case.

if i were you, i would keep your sim as it is , and after that, i would make some adjustements with sop point nodes to reduce overlapping. bellow 2 variations of the same method.

have fun with your muffin !
++

 

muffin-overlapping issue.jpg

testme-sop adjustements-ok++.hipnc

Thanks for this solution. I always though that solvers where more accurate and I was doing some bad setup.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...