MeshSolver.add_gravity_force

MeshSolver.add_gravity_force(fx=0.0, fy=0.0, fz=-0.001)

Add a gravity force to all vertices in the system.

Parameters:
fxfloat, optional

X component of the gravity force vector. Default is 0.0.

fyfloat, optional

Y component of the gravity force vector. Default is 0.0.

fzfloat, optional

Z component of the gravity force vector. Default is -0.001.

Returns:
int

ID of the added force.