Forum

Important Notice for New User Registrations

To combat an increasing number of spam and bot registrations, we now manually approve all new user registrations. While this may cause a delay until your account is approved, this step is essential to ensure the quality and security of this forum.

To help us verify your registration as legitimate, please use a clear name as user name or an official email address (such as a work, university, or similar address). If you’re concerned that we may not recognize your registration as non-spam, feel free to email us at with a request to approve your username.

Please or Register to create posts and topics.

setExternalAction

Dear David,

I currently want to apply external forces in real time to different locations of the wind turbine through the setExternalAction function, but the official documentation only provides the following locations.

CAB_<X>, MOO_<X>, TRQ, BLD_<X>, STR_<X>_<Y>, AFC_<X>_<Y>, SUB_<X>, JNT_<X>, HUBFIXED, NAC.

I would like to ask how to set the char id in void setExternalAction(char *action, char *id, double val, double pos, char dir, bool isLocal, int num) if I want to apply this force to other positions on the tower (such as 0.5H or 0.8H, where H is the tower height).

I look forward to your reply.

Thanks and Regards,

Charles

Hi Charles,

the location ID to use for the tower is TWR.

I saw thats its missing from the docs and I just added it.

To change the normalized position along the tower you have to use the pos argument of setExternalAction().

BR,

David

Charles Li has reacted to this post.
Charles Li

Dear David,

Thanks for reply. The problem has been solved according to your suggestion.

Thanks and regards,

Charles

David has reacted to this post.
David

Scroll to Top