correct way to implement gravity
Hi there,
I am getting a "WARNING: One or more atoms are time integrated more than once" which I believe I have tracked down to two lines:
fix fu all move variable NULL NULL NULL NULL v_Vy NULL units box
fix gravity all gravity 9.81 0 -1 0
i.e., I am doing a gravity and also a forcing via a variable Vy. My results are looking a bit odd, so I am wondering if I should instead incorporate the gravity into the fix move? i.e. making the value "v_Vy - 9.81*time" instead of "v_Vy"?
Or is it fine to have this warning?
Forums:
- Read more about correct way to implement gravity
- 1 comment
- Log in or register to post comments