Need help with a macro
1 Attachment(s)
Hello guys,
I am to simulating the performance of a Vertical axis wind turbine(3 blades) in Star-CCM+.My case is unsteady. My rotation is free and is depending on the torque generated about central axis due to aerodynamic forces. Now i need to calculate the relative Lift and drag for each blades. For doing this i am resolving the free stream vector and the rotation rate vector for each time step, which give me the relative angle of attack . From this i can evaluate the direction of life and drag. This direction is then to be specified in the force report for lift and drag in Star-CCM+. I am also sharing the macro which i have developed, which is not working. (I am not good with java coding!!) I can also mail u the basic concept or the formulas that i want to incorporate. Can't upload here to to size issues. Can someone please help me out....!! |
So you are using the torque value(s) from the report(s) to set the rotation rate of the region? Is there anything specific about the macro you had an issue with? Java can be intimidating at first if you're used to higher level programming (e.g., Matlab), but if you take the time to learn the basics it can be very helpful in STAR. I think you may want something more the like the psuedo-Java below.
Code:
// STAR-CCM+ macro: LiftAndDrag.java |
All times are GMT -4. The time now is 18:47. |