MeshSolver.add_vertex_force

MeshSolver.add_vertex_force(index, force_x=0.0, force_y=0.0, force_z=0.0)

Add a vertex force to a specific point.

Parameters:
indexint

Index of the vertex to apply force to.

force_xfloat, optional

X component of the force vector. Default is 0.0.

force_yfloat, optional

Y component of the force vector. Default is 0.0.

force_zfloat, optional

Z component of the force vector. Default is 0.0.

Returns:
int

ID of the added force.