New question #682676 on Yade: https://answers.launchpad.net/yade/+question/682676
Hi everyone, I recently installed Yade version 2019-07022.git-585c6c1 on a Ubuntu 18.04 machine. I have an old script that used to run with yade 1.07.0 correctly, I have replaced O.forces.addF(upper_wall.id, (0,-force,0), permanent = True) with O.forces.setPermF(upper_wall.id, (0,-force,0)), but the wall position doesn't change during the simulation. I also tried to use the old code addF, other than getting the warning: method deprecated, the wall position still doesn't change. Here's a code snippet: bottom_wall = O.bodies[wall[2]] bottom_wall.state.blockedDOFs = 'xzXYZ' bottom_wall.state.mass = 1 upper_wall = O.bodies[wall[3]] upper_wall.state.blockedDOFs = 'xzXYZ' upper_wall.state.mass = 1 #set force app_stress = range(2,26,2) index = 0 force = app_stress[index]*1e6*0.02*0.02 O.forces.setPermF(upper_wall.id, (0,-force,0)) O.forces.setPermF(bottom_wall.id, (0,force,0)) Does anyone know what's causing this issue? Thank you. -- 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 : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp

