rdhkpatel |
February 7, 2022 07:47 |
UDF for asymmetric motion
Quote:
Originally Posted by xyzch001
(Post 336253)
Hi pdp.aero!
Finally I found the solution: this is the function that gives me the desired flapping angles: theta[t] = 0.8409*sin(w*t - 0.2563) + 0.6643*cos(w*t + 0.7741) - 0.000001868*Sin(0.7629*w*t + 0.1884) +0.3773*cos(-0.000002463*w*t + 2.338)
It has no constants so that, when I derive it to find the omega[t] and then Fluent integrates it,Fluent gets back the original theta[t]. I used Matlab "Curve fitting toolbox" to find this function by interpolation of many points.
Anyway thank you for your help!
|
Hye, please help me!!
I am learning how to write a UDF for a flapping door, angle is from +50 to -10 degrees, please give me some hints.
|