Jump to content

Grain simulation collapsing


ch3

Recommended Posts

I am adding a thick layer of sand on top of an animated robot and let it fall with gravity. What I have so far works, but once I reduce the particle separation to get more grain particles, they all collapse to a thin layer, rather than stucking up a nice little hill.

I've tried to change a few settings (solver.maxNeighbors, solver.neighborQueryScale, contraintIterations) but I haven't had any luck so far. I've also tried to push out the collision geometry by a bit, but it didn't help either.

I am currently using geometry for collisions, but I have a feeling that if I switch to volume based it may go away. But that's not good for me, as I can't get the grain to stick on the collision geometry if it's set to volume.

 

Do you have any ideas of what else to try?

 

thank you

Georgios

Link to comment
Share on other sites

Hi Georgios,


Sounds like you need to move you shock Origin closer to your simulation. I'm guessing your sim is far from the center of the scene. If you don't have a Shock Origin parameter in your POP Grain Update your still using an older version of H14 before the fix. In that case you will have to move your sim closer to the center of the scene.


Quote for the help:


"Shock Origin: The rough center of the sand system. Due to limits of floating point representation, particles too far from this origin will be clamped to min/maximum mass values. A lower scaling power allows for a larger range.


The default values give a range of +/-580 particle separations in the shock axis direction."


Hope thats your problem because then its an easy fix.


Zybrand


Link to comment
Share on other sites

hmmm that's interesting.

We are on v14.0.291 but it's good to know that in later builds this feature has been added.

 

The sim is not that far from the origin, [7,200,20]. But for the time being reducing the Shock Scaling Power seems to solve the issue.

 

thanks for your input

Link to comment
Share on other sites

The simulation was almost at the origin anyway.

I recreated the grain setup again from the self button and it worked fine.

My setup that wasn't working was in its own DOP network within a Geometry node, where the shelf button created a new autoDOPNetwork. Even by coping the nodes from one DOP to the other make it break. I ended up using the autoDOPNetwork and finish my shots and unfortunately I didn't have enough time to investigate the problem any further.

Link to comment
Share on other sites

  • 2 months later...

The simulation was almost at the origin anyway.

I recreated the grain setup again from the self button and it worked fine.

My setup that wasn't working was in its own DOP network within a Geometry node, where the shelf button created a new autoDOPNetwork. Even by coping the nodes from one DOP to the other make it break. I ended up using the autoDOPNetwork and finish my shots and unfortunately I didn't have enough time to investigate the problem any further.

 

Hi ch3 :)

 

can you show an mov or a basic file setup having your problem.

i would like to investigate as i am studying pop grains and have faced problems as well.

Link to comment
Share on other sites

  • 5 years later...

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...