CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Rotating cylinder

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes
  • 8 Post By maddalena

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 27, 2010, 13:47
Question Rotating cylinder
  #1
ole
New Member
 
Join Date: Jan 2010
Posts: 4
Rep Power: 16
ole is on a distinguished road
Hi everyone,
I just started to use OpenFOAM and am currently studying the "Flow around a cylinder" tutorial. Suppose I want to see the effect of having the cylinder rotate. This would easily be configured by setting the boundary to moving wall and specifying the angular velocity. Is this possible? I have read about mesh motion mechanisms, but they seem like overkill in this case, since the mesh is not moving, only the cylinder wall is. Any help appreciated.

Thanks,
Ole
ole is offline   Reply With Quote

Old   January 27, 2010, 16:44
Default
  #2
Member
 
Patricio Bohorquez
Join Date: Mar 2009
Location: Jaén, Spain
Posts: 95
Rep Power: 17
pbohorquez is on a distinguished road
That is an interesting problem. Could you use GGI boundary condition on the "inside" cylinder and keep us posted? You could try something similar to mixerGgi that lives into OpenFOAM-1.5-dev/tutorials/icoDyMFoam.
Thanks, Patricio.
pbohorquez is offline   Reply With Quote

Old   January 27, 2010, 17:19
Default Using GGI changes problem to an unsteady one
  #3
ole
New Member
 
Join Date: Jan 2010
Posts: 4
Rep Power: 16
ole is on a distinguished road
Using GGI changes (as far as I understand) the problem to an unsteady one. I am interested in the steady solution, just like in the tutorial for the cylinder flow, except the cylinder should rotate with a constant speed. This amounts to setting the tangential velocity of the cylinder boundary to some uniform value, and then solving the steady problem. I can set the velocity on the boundary uniformly to some constant vector in cartesian coordinates, but is it possible to set the tangential velocity to some constant?
ole is offline   Reply With Quote

Old   January 28, 2010, 11:32
Default
  #4
Senior Member
 
Andrea Pasquali
Join Date: Sep 2009
Location: Germany
Posts: 142
Rep Power: 17
andrea.pasquali is on a distinguished road
You can try with this BC in U file

Quote:
cilindro
{
type rotatingWallVelocity;
origin (0 0 0);
axis (0 0 1);
omega 50;
}
__________________
Andrea Pasquali
andrea.pasquali is offline   Reply With Quote

Old   January 28, 2010, 12:54
Default
  #5
ole
New Member
 
Join Date: Jan 2010
Posts: 4
Rep Power: 16
ole is on a distinguished road
Works perfectly! Thank you.
ole is offline   Reply With Quote

Old   February 2, 2010, 10:54
Question rotatingWallVelocity or MRFsimpleFoam
  #6
Senior Member
 
maddalena's Avatar
 
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 23
maddalena will become famous soon enough
Hello everybody,
I am wondering if a simpleFoam with a rotatingWallVelocity BC simulation can replace a MRFsimpleFoam simulation. They both are steadyState but:
  • simpleFoam + rotatingWallVelocity: update the velocity considering the rotation, thus modify ALL the velocity term in the NS equations;
  • MRFsimpleFoam: add a source term to the NS equations (see here).
Anyone has studied the influence on results of these approach?
Thanks to those that will shed some light!

mad
maddalena is offline   Reply With Quote

Old   February 10, 2010, 05:45
Lightbulb Solved!
  #7
Senior Member
 
maddalena's Avatar
 
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 23
maddalena will become famous soon enough
Ok, I find the answer with the help of a young woman far more expert in cfd modeling than me.

The rotatingWall BC applies the rotation only the flow that is in contact with the wall, since it is a boundary condition. This will propagate to the adjacent cells but the rotating effect will be under-predicted since these cells have their own velocity that has no rotation component. This can be ok if the wall is simple, i.e. there are no blades on the rotating body. This is ok for the rotating cylinder case of this thread.

On the other hand, the MFR approach considers as rotating the whole flow volume around the wall. This case is more adequate if the rotating body has blades. Indeed, the flow between two blades has almost the same velocity of the blades themselves.

The MRF approach is ok if the mean flow far from the rotating body is wanted, or if the blade number is high, since the steady field values can be obtained only. If the blade number is low, the pressure pulse generated by the blade rotation cannot be discarded and a dynamicMesh approach should be used.

Hope to be useful to someone else.

Cheers,

maddalena
Soheyl, kiddmax, blake and 5 others like this.
maddalena is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rotating cylinder raul FLUENT 3 February 1, 2015 06:48
Rotating cylinder with GGI lbeaudet OpenFOAM Running, Solving & CFD 4 July 6, 2009 03:13
rotating cylinder using sliding mesh Tim Daly FLUENT 1 November 10, 2008 00:02
Rotating Cylinder IGE Jason Mc Beth FLUENT 0 January 23, 2008 08:02
Rotating Cylinder Nick Siemens 1 June 21, 2006 07:42


All times are GMT -4. The time now is 15:06.