← Back to team overview

yade-users team mailing list archive

Re: [Question #657126]: Performing a penetration test

 

Question #657126 on Yade changed:
https://answers.launchpad.net/yade/+question/657126

Jan Stránský proposed the following answer:
Hi Sam,

> hammer= sphere((0,0,0.30),0.04,material=idSteel))

this invalid syntax is easy to solve, just count left and right
parentheses on the line :-)

otherwise the script looks ok.

> hammer.state.blockedDOFs=??

Set state.blockedDOFs to 'z' if you only want constant velocity in z
direction, but otherwise the body is free to rotate and move along x and
y axis. 'xyzXYZ' prevents any non-prescribed motion. lowercase letters
are for displacement, upper case letters for rotations (along
corresponding axis).

> O.dt=0.001*PWaveTimeStep()

for serious simulations, a factor like 0.8 or 0.5 should be enough,
0.001 is used e.g. whan the simulation is "too fast", but you want it to
see real time what is happening.

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.