Using Capillary law and CohFrictPhys for rolling resistance
Hi all,
I was wondering if we can use the capillary law along with "Law2_ScGeom6D_
I know "The only combinations of laws supported are currently capillary law + Law2_ScGeom_
#************ Packing generation ***********
# parameters:
phi0 = 0.5
uc = 100
conf = 10
num_particles = 10
Ey = 1.e7
rMin,rMax = 0.4e-5,0.8e-5
size=1e-4
mn,mx=Vector3(
# materials properties:
sphMat=
boxMat=
#Walls:
wallIds=
# Sphere cloud:
from yade import pack
sp=pack.
sp.makeCloud(
sp.toSimulation
O.engines=
]
#************ Confinement ***********
tsc.goal1=
while 1:
O.run(1000, True)
unb=
if O.iter % 1000 ==0:
print ('unbalanced force:',unb,' mean stress (Pa): ',-tsc.meanStress)
if unb<0.01 and abs((tsc.
for inter in O.interactions:
break
#######
I really appreciate if you can confirm the issue or help me to solve the problem.
Thanks a lot,
Mojtaba
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jérôme Duriez
- Solved:
- 2020-12-10
- Last query:
- 2020-12-10
- Last reply:
- 2020-12-10
|
#1 |
Hi,
It s impossible to negotiate with computers: if YADE tells you it does not work, then it does not work.
With some C++ coding (maybe not much) one possibility could be to switch CapillaryPhys one step in the inheritance tree [*], so that it becomes a child of CohFrictPhys ?
Mojtaba (farahnak) said : | #2 |
Thanks Jérôme Duriez, that solved my question.