# problem with rotating mesh

 Register Blogs Members List Search Today's Posts Mark Forums Read

 March 9, 2007, 02:49 problem with rotating mesh #1 viet Guest   Posts: n/a Hi all, I face a problem with rotating mesh as follows: In a 2D transient fluid domain, there is a ellipse wall or oval wall. This wall can rotate about is axis with sinusoidal function, let's say theta = A*sin(w*t). I write the functions of motion in x and y direction to apply to the moving mesh, but I could not get the result. The error always appears due to the mesh distortion when I run the problem. My functions in CEL are: XDIS = r*cos(theta)-r and YDIS = r*sin(theta). Are these functions correct? Please help me.

 March 9, 2007, 05:43 Re: problem with rotating mesh #2 Joe Guest   Posts: n/a The CFX mesh motion definitions and options are rather counter intuitive. There are two possibilities: Either your motion definition is incorrect or you are being too aggressive in the motion demanded per timestep. Reduce the amplitude of the oscilation to check that your formulation is correct.

 March 9, 2007, 08:09 Re: problem with rotating mesh #3 longbow Guest   Posts: n/a If you want to calculate moving distance of a node between two timesteps, XDIS should be r*cos(A*sin(omega*(t+dt)))-r*cos(A*sin(omega*t)), while YDIS be r*sin(A*sin(omega*(t+dt)))-r*sin(A*sin(omega*t)).

 March 9, 2007, 09:22 Re: problem with rotating mesh #4 viet Guest   Posts: n/a Hi, Thanks for your response, I follow your suggestions but my problem still can not be solved. I think my input function is not correct. First, I try to simulate a simple problem in which a circle wall rotates harmonically about its axis with a sinusoidal function alpha=A*sin(omega*t). Can you suggest any moving mesh function for that? Thank you

 March 9, 2007, 13:31 Re: problem with rotating mesh #5 longbow Guest   Posts: n/a Does the center of circle wall move? What's the rotating axis of it, x, y, or z?

 March 9, 2007, 23:16 Re: problem with rotating mesh #6 viet Guest   Posts: n/a The circle wall is in xy-plane. It doesn't have any translation movement, but rotates harmonically about its center axis (z-axis). Thank you in advance.