Help with multiple materials

Submitted by msandli on Fri, 10/12/2012 - 20:26

This is basically a continuation of my last thread with this title. I updated to v 2.2 and my simulation no longer freezes. However, my simulation now runs as if my granwalls aren't there. My .stl dumps look correct, but looking at .jpg dumps (and even just the number of particles in the simulation region), you can see that the particles just fall straight down and out of the region, without interacting in any way.

I've looked at the new doc files for making walls, and I *think* I have everything needed, but if I have made an error, I can't find it. If I make this simulation out of only one material, it runs fine. Please see my input code below. Liggghts_test is the script, the others are the required .stl files (saved as .txt files).

The simulation seems to behave the same whether running on one or several processors.

Thanks again for your help!

AttachmentSize
Plain text icon liggghts_test.txt2.19 KB
Plain text icon valve.txt3.25 KB
Plain text icon hopper_open_2.txt10.8 KB
Plain text icon hopper_insert_2.txt580 bytes

cstoltz | Mon, 10/15/2012 - 12:55

Your group statements (the steel one) are messing things up. I don't think they will work as written as you are defining the groups based on type, but you haven't yet created anything of that type.

If you change the name from 'steel' to 'all' in the statements having to do with the CAD, I think it will work properly.

Regards,
Chris

ckloss's picture

ckloss | Thu, 10/18/2012 - 15:53

>>Your group statements (the steel one) are messing things up
Actually, this behavior is intended. Walls act only on the group they are operating on

Christoph

msandli | Fri, 10/19/2012 - 04:01

So, I changed the group-ID words to "all" in my fix mesh/surface and fix wall/gran statements for all the walls except the insertion volume (which is still set to group-ID "steel", but it seemed to be working fine, so I left it alone). My fix mesh/surface lines still have the "type" keywords in them.

It appears to be working correctly now. The hopper fills up with particles, then they drain out when the valve is "opened." Changing friction values alters the mass flow rate, so it also appears that my hopper walls are made out of my type 2 group, rather than the "all" group.

I will run a few more trials, but it appears to fixed. Just for my own curiosity, why do my hopper walls need to be part of the "all" group, even when I give them a "type" keyword later?

Thanks again!