Use Law2_ScGeom_CpmPhys_Cpm() with two spheres
Hello everyone !
I'm trying to use Law2_ScGeom_
I first created two spĥeres :
O.bodies.append([
utils.
utils.
])
then defined the engines :
UX=uniaxialTest
negIds,
O.engines=[
),
UniaxialStraine
]
The definition of fucntions stopIfDamaged(), initTest(), and addPlotData() stay the same.
Question : The data plot stays empty even if the simulation shows that the two spheres are interacting (tension and compression tests are running well) and the strengths fc and and ft printed on screen show "NAN".
- Is using two spheres only can show results similar to a test on a normal specimen (of 2000 spheres) ?
- Am I using the engines right ? I am new to YADE and that may be the problem
Another question not related to this topic : Are all the parameters of a Law hard coded or is it possible to modify them when writing the python script ?
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: