Question #707253 on Yade changed: https://answers.launchpad.net/yade/+question/707253
Status: Answered => Open Yipeng Xie is still having a problem: Thanks for your reply Jérôme, I understand the use and meaning of Law2_ScGeom6D_CohFrictPhys_CohesionMoment.always_use_moment_law. I'm wondering if the process of traversing each contact and changing its interaction parameters in [2] can be replaced by the following approach? 1. turn off 'always_use_moment_law' in the compaction period. 2, Reopen 'always_use_moment_law' at the end of compaction and before shearing starts. I made a simple specimen (15 particles of size 0.1) and monitored the bending moment of each contact at the end of compaction and at the end of shearing (strain=0.001). for i in O.interactions: print(i.phys.maxRollPl,i.phys.momentRotationLaw,i.phys.moment_bending) The results were as follows: ###end of compaction### 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) 0.03 True Vector3(0,0,0) ###end of shearing### .03 True Vector3(0,0,-0.006369249879944223827) 0.03 True Vector3(0,0,0.0135276229700326614) 0.03 True Vector3(0,0,-0.002968023534875699476) 0.03 True Vector3(0,0,0.007878735388354117519) 0.03 True Vector3(0,0,0.003920556923051904397) 0.03 True Vector3(0,0,0.004396215328935696581) 0.03 True Vector3(0,0,0.01202557323391915782) 0.03 True Vector3(0,0,6.767030744084245875e-05) 0.03 True Vector3(0,0,-0.01077908861578897107) 0.03 True Vector3(0,0,-0.001929448802188766209) 0.03 True Vector3(0,0,-0.008037346003426384944) 0.03 True Vector3(0,0,-0.006075743028989520622) 0.03 True Vector3(0,0,0.00317923614595012026) 0.03 True Vector3(0,0,-0.0004674167022765646044) 0.03 True Vector3(0,0,-0.004205722830634382736) 0.03 True Vector3(0,0,0.008521516561649372656) 0.03 True Vector3(0,0,0.006167688666983381016) 0.03 True Vector3(0,0,0.003463652710550372237) 0.03 True Vector3(0,0,-0.01037110051734604563) 0.03 True Vector3(0,0,-0.001687963997880598688) 0.03 True Vector3(0,0,-0.01515662193090932738) 0.03 True Vector3(0,0,0.005604772340180230392) 0.03 True Vector3(0,0,-0.01619089210283412503) 0.03 True Vector3(0,0,-0.008909068417433833181) 0.03 True Vector3(0,0,-0.001217633171513254203) 0.03 True Vector3(0,0,-0.006583826055853406189) 0.03 True Vector3(0,0,0.005699909102794692428) 0.03 True Vector3(0,0,0.0002697926321608211213) 0.03 True Vector3(0,0,0.003647015710138799306) 0.03 True Vector3(0,0,-0.002762157761152740556) It seems like all the rolling resistance moments have been activated. -- You received this question notification because your team yade-users is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp