Contact between sphere-gridconnection not detected in a pfacet edge
Hello,
The simulation consists of two sphere moving towards two edges of pfacet triangle. They just pass through the edges without any interaction. I think there could be something wrong with the engines I'm using, but I could not find it. Kindly help me. The code is given below.
Kind regards,
Rohit K John
# -------
from yade import geom, utils
from yade.gridpfacet import *
# -------
# -------
target_young = 50e9
target_density = 1000
target_poisson = 0.3
target_friction = radians(30)
p_radius = 5e-2
pfacet_side = 0.5
pfacet_circum_rad = pfacet_side/sqrt(3)
node_angle = [radians(0), radians(120), radians(240)]
pfacet_nodes = [
Vector3(
Vector3(
Vector3(
]
# -------
target_int_mat = 'pfacet_int_mat'
target_ext_mat = 'pfacet_ext_mat'
O.materials.append(
FrictMat(
young = target_young,
poisson = target_poisson,
density = target_density,
label = target_ext_mat,
)
)
O.materials.append(
CohFrictMat(
young = target_young,
poisson = target_poisson,
density = target_density,
label = target_int_mat,
)
)
# -------
O.engines = [
]),
),
]
# -------
# -------
pnode = []
pcyl = []
pfacet = []
pfacetCreator1(
pfacet_nodes,
p_radius,
nodesIds = pnode,
cylIds = pcyl,
pfIds = pfacet,
wire = False,
fixed = False,
color = [0.5,0.5,0.5],
materialNodes = target_int_mat,
material = target_ext_mat,
)
target_ids = pnode + pcyl + pfacet
# -------
sp1 = sphere([0, 0.25, .2], 5e-2, material = target_ext_mat)
sp2 = sphere([0, -0.25,-.2], 5e-2, material = target_ext_mat)
sp1_ID = O.bodies.
sp2_ID = O.bodies.
O.bodies[
O.bodies[
# -------
O.dt = utils.PWaveTime
O.saveTmp()
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Rohit John for more information if necessary.