CFD Online Discussion Forums

CFD Online Discussion Forums (
-   ANSYS (
-   -   UDF for rotating mesh and cam action (

fergie_cannon March 29, 2011 12:20

UDF for rotating mesh and cam action
Hi folks, I'm trying to get a 2d model of a rotary engine for my final year project and I dont really know how to get the rotor to spin in the power chamber by using the dynamic mesh set up. Ive managed to get it to work by using the cell zone conditions but I dont think that method will allow me to add in the motion of two cam like armatures that contact the rotor and separate the flow. As they are both really just rotating, albeit one rotating fully and the other has a sort of back and forward rotation movement, i figure this should be fairly simple but ive never had to write a UDF before. Are there any tutorials on UDFs or something like that which i could use to write these codes? Cheers, Ferg

All times are GMT -4. The time now is 19:27.