Using ForceEngine to break a single JCFpm bond
Hello,
I'm a new user to YADE and I'm in the process of learning about the JCFpm model. I'm currently trying to break a bond between two particles using the ForceEngine. As described in the code bit below, I'm trying to apply and increasing force until a break occurs between the two particles. The bottom particle is fixed.
If I got the documentation right, the force when the breakage should happen is:
FnMax = tensileStrength * pi*Rmin^2 [1],[2] -> FnMax = 1e6 * np.pi * pow(0.005,2) = 78.539 N
First question -
For the first trials, I tried using addF manually, using the code below (after running the script). I found that the bond breaks around O.forces.
Second question -
After that, I tried using the ForceEngine (same code, just uncomment #ForceEngine & #PyRunner), increasing the force on the particle, but I can't get it to break. Am I using the engine correctly?
Third question -
I also looked at the InterpolatingDi
I would like your help. Sorry if this is too long or if my understanding of vector physics is a bit lacking :)
### Forces Test 1, YADE ###
from yade import pack, plot
import numpy as np
yade.qt.
# Define geometry
r = 0.005
intR = 1.0
# Define material
idRockTest = O.materials.
# add spheres
O.bodies.append([
sphere(
sphere(
])
# Simulation loop
O.engines=[
ForceResetter(),
InsertionSo
Interaction
[Ig2_
[Ip2_
[Law2_
),
# Apply gravity force to particles.
NewtonIntegrator(
# Apply force on top particle
#ForceEngin
#PyRunner(
PyRunner(
]
# Define time step
#O.dt = 0.5*utils.
def recorder():
plot.addData({
'i':O.iter,
plot.plots=
plot.plot()
O.dt=0.
#### manage interaction detection factor during the first timestep and then set default interaction range
O.step();
### initializes the interaction detection factor
SSgeom.
Saabb.aabbEnlar
# Define time step
O.dt = 0.5*utils.
O.run()
[1] https:/
[2] https:/
[3] https:/
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jan Stránský
- Solved:
- Last query:
- Last reply: