Undulation motion of Fish using UDF
I hope this message finds you all well. I am working on a 2D case of airfoil shape (NACA0012) and trying to make the undulation motion of the fish using GRID_MOTION macro. I have created the UDF and compile it successfully however, Instead of moving the Walls of the airfoil, the centerline is moving with the expected motion. I have attached two photos; one for the airfoil and the other is for the Centerline movement. How can I solve this problem to give the motion to the airfoil wall not the centerline?.
Thanks in advance🙂