Dear STKO team,
I want to apply some forced displacement to an edge, but the direction is not along the global coordinates but along the local coordinates, what should I do? As shown in the following picture.
Similarly, if I don't want to apply a uniform displacement on this edge, but a displacement that varies with position, can I do that? The same is true for edge force loading.
Is there a convenient way to apply different node forces to multiple nodes simultaneously instead of defining them individually in condition?
Thanks!
Displacement Loading with local direction
-
kesavapraba
- Posts: 467
- Joined: Sat Mar 28, 2020 2:25 pm
Re: Displacement Loading with local direction
Hi, All your requirements can be easily scripted into a Python API. You need to use PyMpc package from STKO to do that. Please refer the link provided below.
https://asdeasoft.net/stko-wiki/
The webinar given below explains how to use Python API in postprocessing, you can follow similar approach for pre-processing (including loading)
https://www.youtube.com/watch?v=TrHhvJ8L9ao
Additionally, you can write Python function directly into the displacement load option as shown in the attached figure.
https://asdeasoft.net/stko-wiki/
The webinar given below explains how to use Python API in postprocessing, you can follow similar approach for pre-processing (including loading)
https://www.youtube.com/watch?v=TrHhvJ8L9ao
Additionally, you can write Python function directly into the displacement load option as shown in the attached figure.
- Attachments
-
- LoadFunction.png (43.05 KiB) Viewed 2635 times
:: With best wishes ::
Prabakaran Kesavan
Prabakaran Kesavan
Re: Displacement Loading with local direction
SP are defined in global coordinates, so you can use the custom function to define the X and Y components as function of the x and y coordinates. In this example I'm applying x disp = -cos(alpha) and y disp = -sin(alpha)
Loads instead can also be defined in local coordinates.
If you look you can see the local axes of the edge: And you can easily define the load function in local coordinates:
Loads instead can also be defined in local coordinates.
If you look you can see the local axes of the edge: And you can easily define the load function in local coordinates: