Moving walls and stresses on them

Submitted by marketos on Wed, 10/27/2010 - 14:00

Hi all,

I have a question- Am I correct in assuming that there can only be one meshgran wall in a simulation?
If yes I have a slightly complex situation- I have a cube bounded by 6 flat surfaces in which I have my granular sample. I want to move the top surface only AND measure separately forces on the top, bottom and side surfaces.

At the moment am I correct in saying that measuring wall forces is only possible for meshgran (of which there can be only 1)? I think a way out would be to add some code so that xplane,yplane and zplane walls can calculate forces if wanted too. Does this sound possible/ a good plan? I had a look at the relevant file (eg fix_wall_gran_hooke_history.cpp) and it looks like I might be able to calculate forces in the member function FixWallGranHookeHistory::post_force inside the loop where the grain-wall forces are calculated.

Any comments/ideas very welcome.
Thanks,

George

ckloss's picture

ckloss | Wed, 10/27/2010 - 14:21

>>I have a question- Am I correct in assuming that there can only be one meshgran wall in a simulation?
Yes, but multiple meshes can be included in the wall

>> I want to move the top surface only AND measure separately forces on the top, bottom and side surfaces.
What you can do is to take separate meshes of type mesh/gran/stressanalysis for top, bottom and side surfaces into one wall, and move the top mesh with a fix move/mesh/gran

Cheers,
Christoph

raguelmoon's picture

raguelmoon | Wed, 10/27/2010 - 14:22

Hi George,
Yes, it is possible. If you want to move the top wall and fix the other walls, then you have to import that wall separately. You can view forces on all walls in paraview. You don't need to do anything with source files.
Best
Ram

Ram