Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

VUAMP using CAE

Status
Not open for further replies.

GeorgeEllwood

Mechanical
Aug 22, 2006
134
Hello,
I'm trying to define a user subroutine using VUAMP. I'd like to do this in CAE before copying the replay file to python script. Is it possible to define a VUAMP subroutine in the CAE. All the examples I've are in the input file.
Any help would be greatly appreciated.
Thanks
George
 
Replies continue below

Recommended for you

Hello,
I'm trying to write a fortran subroutine to control the rotational velocity of a turbine blade. Initially the blade is subjected to a force which makes it rotate, after it has reached a set velocity I would like to apply a counter torque to the shaft in order to keep the blade at the required velocity. I think I can do this by using a fortran subroutine and the VUAMP command. Initially I will know the counter torque that is needed to be applied, but eventually I won't know the value and will need to use the subroutine to work it out.
So far I've set a sensor to give me the velocity of the shaft. I've also set up user specified amplitude counter torque to the shaft. I'm stuggling with the fortran side. Could someone give me some tips on how it should look?
Any help would be greatly appreciated.
Thanks
George
 
Hi George,

I prepared for you very simple model + vuamp subroutine.
There is only one sensor and one user amplitude which will be set to value 500.0 if sensor is greater than value of 10.0. If sensor is lower the amplitude is 0.0.

In attached *.zip file could be found *.inp and two *.for files with subroutine.
These are the same subroutines. One of them is with comments which should help you understend how vuamp subroutine works.

Please take a look for the files, I hope they will be helpful for you.
In the case of any doubts let me know.

Best Regards,
Bartosz
 
 http://files.engineering.com/getfile.aspx?folder=b6e8161f-9831-4f8a-8d04-c78834273c67&file=eng_tips_vuamp.zip
That's great thanks, I'll give it a try on Monday.
Cheers
George
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor