CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

Rotating square on icoFoam cavity

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 11, 2010, 08:50
Question Rotating square on icoFoam cavity
  #1
Member
 
Usit McCarra
Join Date: Oct 2010
Posts: 51
Blog Entries: 2
Rep Power: 7
McCarra is on a distinguished road
Hi Foamers,

I inserted an obstacle in the icoFoam/cavity case and to see what happens when it rotates I've included dynamic mesh effects on icoFoam.

The thing is: The square rotates correctly, but the problem is that the mesh rotates with it, and that produces a bad mesh quality (severe non-orthogonality). I would like the mesh to just stretch and contract as the square rotates. I mean, I don't want the points attached to the square to rotate.
To better explain: When you look at the mesh in the wireframe form on paraView, I want the horizontal wires to keep their y(vertical) position and move (expand or contract) horizontally as the square rotates, and I want the vertical wires to keep their x (horizontal) position and move (expand or contract) vertically as the square rotates.

I attach an image to show my resulting mesh behavior, which is what I don't want.

How can this be achieved? Attach/detach? Sliding interface?

Thanks and regards!

All the best
Attached Images
File Type: jpg square_rotate.jpg (45.5 KB, 27 views)
McCarra is offline   Reply With Quote

Old   January 14, 2011, 10:23
Default
  #2
Member
 
Usit McCarra
Join Date: Oct 2010
Posts: 51
Blog Entries: 2
Rep Power: 7
McCarra is on a distinguished road
Well, what I finally did is rotate a small angle and re-blockMesh with the position of the new points. Then interpolated results to the new mesh and rotate a bit more and repeat the process several times.

I used moveDynamicMesh to check mesh validity, to assure the rotated angle at each part does not destroy the mesh.

Any better ideas?

Thanks and regards!
McCarra is offline   Reply With Quote

Reply

Tags
dynamic mesh, icofoam

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
solidification in a square cavity arou FLUENT 2 September 22, 2010 08:26
Why icoFoam solver results are not true for cavity (10000>Re>5000) ? maysmech OpenFOAM 8 August 12, 2010 16:42
natural convection in square cavity Dhileep Main CFD Forum 0 January 11, 2009 11:29
Kubuntu uses dash breaks All scripts in tutorials platopus OpenFOAM Bugs 8 April 15, 2008 07:52
radiation problem for square cavity using fluent john Main CFD Forum 0 September 30, 2005 07:40


All times are GMT -4. The time now is 00:25.