Skip to content

Can we apply mid force? #273

Answered by ilianasiriziba
vkapre asked this question in Q&A
Jun 21, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @vkapre ,

Yes, you can do that on a single rod. You must define a custom force class (based on NoForces class) like the ones in the external_forces.py file. Then in the apply_forces function you have access to system.external_forces where you can apply forces on each node you want.

Let me know if it helps

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@vkapre
Comment options

@ilianasiriziba
Comment options

Answer selected by ilianasiriziba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants