Contact between Tool and Discrete Element

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Contact between Tool and Discrete Element

Clément
Hey Damien,
I'm really sorry to bother you again :)

I got a new issue, I can't compute force between discreteElement and Tools,
Either force are not applied at all on the tool, either it interacts with the whole set of particle without having them in contact.

Can you please help me again :)

Here is a part of the inp:

  <PreProcessing>
    <PlugIn Id="_NewFrame" Center="(0,0.5,0)"  Quat="(0,0,1)(90)" ID="F1" />
    <PlugIn Id="_NewTool" Type="Box" DimX="0.5" DimY="0.1" DimZ="0.1" ID="B1" FrameID="F1"/>
    <PlugIn Id="_SetDensity" Density="700."/>
    <PlugIn Id="_ReadDomain" FileName="CompactDomain.agdd"/>
    <PlugIn Id="_ComputeOptimalTimeStep" Ratio="0.14" />
   
  </PreProcessing>
   
  <Processing>

    <PlugIn Id="_ClearLoad"/>

    <PlugIn Id="_ManageCollision" Between="DiscreteElement/DiscreteElement"
       BroadPhase="LCM" Set="Global"
       CallBack="Standard" Stiffness="1e5" RestitutionCoeff="0.1"
            RegularizationType="piecewise" DryFrictionSlope="1e5"
            StaticDryFrictionCoeff="0.3" DynamicDryFrictionCoeff="0.2"/>

    <PlugIn Id="_ApplyForce" X="0." Y="-1000" Z="0." Set="B1"/>
    <PlugIn Id="_ApplyGravity" X="0." Y="-9.81" Z="0." Set="Global"/>
   
    <PlugIn Id="_ManageCollision" Between="DiscreteElement/SupportShape"
       BroadPhase="SupportShape"  SupportShapeID="Boundary" Set="Global"
       CallBack="Standard" Stiffness="1e5" RestitutionCoeff="0.1" /> 
       
     <PlugIn Id="_ManageCollision" Between="Body/discreteElement"
            BroadPhase="Raw" Set1="B1" Set2="Global"
            CallBack="Standard" Stiffness="1e7" RestitutionCoeff="0.1" />

    <PlugIn Id="_Check" />
    <PlugIn Id="_IntegrateAcceleration" Linear="Yes" Angular="No" />
    <PlugIn Id="_SaveDomain" IterLoop="1000" Type="lgdd"/>
  </Processing>


Reply | Threaded
Open this post in threaded view
|

Re: Contact between Tool and Discrete Element

Damien André
Administrator
Hello, first, you need to reference your Tool in a given set as :
 
<PlugIn Id="_NewTool" Type="Box" DimX="0.5" DimY="0.1" DimZ="0.1" ID="B1" FrameID="F1"  Set="B1_Set"/>
 
After that, you should replace your collision detection "Body/discreteElement" by this one  :

 
<PlugIn Id="_ManageCollision" Between="Body/Body" 
    	     BroadPhase="Raw"  Set1="B1_set" Set2="Global"
	     NarrowPhase="WithShape"
    	     CallBack="Standard" Stiffness="1e7" RestitutionCoeff="0.1" />

It should work !
Reply | Threaded
Open this post in threaded view
|

Re: Contact between Tool and Discrete Element

Clément
Thanks a lot, that may be the last time I ask you a question