VUAMP using CAE
VUAMP using CAE
(OP)
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
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





RE: VUAMP using CAE
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
RE: VUAMP using CAE
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
RE: VUAMP using CAE
Cheers
George