GridConnection traction test, maximum force
Hi all,
I'm new to Yade. I have a question regarding the normalCohesion value in the yade.wrapper.
I've written a simple code, with two nodes connected by a gridconnection. I've applied a permanent force on the nodes along the x-direction (like a normal tensile test)
How can I determine the maximum applied force at which the cohesive link breaks?
In the following code the normalCohesion value is set to 1e5 and if Fapplied<4 the cohesive link doesn't break, when Fapplied>5 the choesive link breaks.
Is there an analytical way to compute the Fapplied that breaks the cohesive link?
# encoding: utf-8
"""
Tensile test with 2 nodes and one gridconnection
"""
from builtins import zip
from yade import qt
from yade.gridpfacet import *
from numpy import linspace
from yade import plot
#Materials
O.materials.
O.materials.
### Engines need to be defined first since the function gridConnection creates the interaction
O.engines=[
ForceResetter(),
InsertionSortC
Bo1_Sphere_
Bo1_GridConne
]),
InteractionLoop(
# Geometric interactions
[
],
[
# Interaction phusics
],
# Interaction law
[
]
),
NewtonIntegrat
PyRunner(
]
#Timestep
O.dt=5e-07
rCyl=0.01
nL=2
L=0.3
### Create the two nodes :
nodesIds=[]
for i in linspace(0,L,nL):
nodesIds.append( O.bodies.append(
gridNode(
### Now create connection between the nodes
for i,j in zip( nodesIds[:-1], nodesIds[1:]):
O.bodies.append( gridConnection(
# rename the two nodes
s1 = O.bodies[0]
s2 = O.bodies[1]
#Define what you want to plot
plot.plots = {'i': 'eps'}
#Apply 2 normal force along the x direction on the nodes (Simulating tensile stress)
Fapplied = 4
O.forces.
O.forces.
def addPlotdata():
global eps,Ttot
deltaL = s1.state.
eps = deltaL/L #strain along the direction of the applied stress
plot.
plot.plot()
qt.View()
O.saveTmp()
O.run()
O.stopAtIter=
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Fabio Caruso
- Solved:
- Last query:
- Last reply:
This question was reopened
- by Fabio Caruso