UDF for oscillating circular zone within rotating zone?
I am attempting to write a UDF to simulate the pitching of an airfoil in the same manner as a cyclorotor. The geometry is 4 circular zones each surrounding an airfoil, all within a larger circular zone that acts as the rotor.
My plan has been to have the rotor zone rotate at a constant angular velocity defined in cell zone conditions, while the smaller airfoil zones oscillate with a DEFINE_ZONE_MOTION UDF specified sinusoidal waves dependent on their starting locations, relative to the larger rotor zone. I remember reading a thread on here of a scenario almost identical to mine but I have not been able to relocate it. In my UDFs, do I need to update the location of the origin throughout the simulation? Does the "omega[2]" term create angular velocity about the z axis, or in the z direction? I tried to get the pitching to work by leaving the rotor zone stationary and just working with the oscillation, but I could not even get this to work. All suggestions welcomed :). |
All times are GMT -4. The time now is 21:26. |