RungeKuttaCashKarp54Integrator with gridConnections is causing errors
Hello,
I want to use the RungeKuttaCashK
The minimum working code is given below. Please help me to fix the issue
Kind regards,
Rohit John
#######
# encoding: utf-8
"An example showing bending beams."
from yade.gridpfacet import *
#### Parameter ####
L=10. # length of the beam
n=12 # number of nodes used to generate the beam
r=L/50. # radius of the beam element
#### Engines ####
integrator=
ForceResetter(),
GeneralIntegra
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
GravityEngine(
])
#Tolerances can be set for the optimum accuracy
integrator.
integrator.
O.engines=
]
#### Create materials and set different properties ####
O.materials.
#### Vertices ####
vertices1=[]
for i in range(0,n):
vertices1.append( [i*L/n,0,0] )
#### Create cylinder connections ####
nodesIds=[]
cylIds=[]
cylinderConnect
#### Set boundary conditions ####
for i in range(0,1):
O.bodies[
#### Set a time step ####
O.dt=1e-05
#### Allows to reload the simulation ####
O.saveTmp()
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Janek Kozicki
- Solved:
- Last query:
- Last reply: