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

rotatingWallVelocity normal to wall

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 21, 2012, 06:00
Default rotatingWallVelocity normal to wall
  #1
Senior Member
 
Robert Castilla
Join Date: Apr 2009
Location: Spain
Posts: 109
Rep Power: 17
rcastilla is on a distinguished road
Hi,

I am working in a simulation with dynamic mesh. But, previously, I wanted to make the stationary simulation. A wall is rotating, and I wonder if I could use the rotatingWallVelocity. I tried with pimpleFoam, and the results are not correct (very high velocities in some cells, near to the rotating wall). Even with potential Foam, it gives velocity zero (no wall velocity?) around the domain, except on the wall.

I checked the rotatingWallVelocity BC source and I found that:


// Remove the component of Up normal to the wall
// just in case it is not exactly circular
const vectorField n(patch().nf());
vectorField::operator=(Up - n*(n & Up));



Does it mean that only the tangencial wall velocity is considered for the fluid motion? Why? Anyway, I will try to remove this constraint, and I see what happens... but I would like to know the reason of that.

Thanks

Robert
rcastilla is offline   Reply With Quote

Old   June 21, 2012, 15:21
Default
  #2
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 17
kmooney is on a distinguished road
Quote:
Originally Posted by rcastilla View Post
Hi,

I am working in a simulation with dynamic mesh. But, previously, I wanted to make the stationary simulation. A wall is rotating, and I wonder if I could use the rotatingWallVelocity. I tried with pimpleFoam, and the results are not correct (very high velocities in some cells, near to the rotating wall). Even with potential Foam, it gives velocity zero (no wall velocity?) around the domain, except on the wall.

I checked the rotatingWallVelocity BC source and I found that:


// Remove the component of Up normal to the wall
// just in case it is not exactly circular
const vectorField n(patch().nf());
vectorField:perator=(Up - n*(n & Up));



Does it mean that only the tangencial wall velocity is considered for the fluid motion? Why? Anyway, I will try to remove this constraint, and I see what happens... but I would like to know the reason of that.

Thanks

Robert
I believe that this boundary condition is made for circular boundaries and to act as if it were a no slip no penetration rotating wall, as you described. Because it is a 'wall' no penetration is implied, hence the removal of the face normal component of the velocity. This is a relatively straight forward velocity boundary condition. I doubt that your issues with running it in conjunction with pimpleFoam are related to a bug or something to that nature.
kmooney is offline   Reply With Quote

Old   April 2, 2024, 09:29
Default
  #3
New Member
 
S03r3n
Join Date: Feb 2024
Posts: 6
Rep Power: 2
S03r3n is on a distinguished road
Quote:
Originally Posted by rcastilla View Post
Hi,

I am working in a simulation with dynamic mesh. But, previously, I wanted to make the stationary simulation. A wall is rotating, and I wonder if I could use the rotatingWallVelocity. I tried with pimpleFoam, and the results are not correct (very high velocities in some cells, near to the rotating wall). Even with potential Foam, it gives velocity zero (no wall velocity?) around the domain, except on the wall.

I checked the rotatingWallVelocity BC source and I found that:


// Remove the component of Up normal to the wall
// just in case it is not exactly circular
const vectorField n(patch().nf());
vectorField:perator=(Up - n*(n & Up));



Does it mean that only the tangencial wall velocity is considered for the fluid motion? Why? Anyway, I will try to remove this constraint, and I see what happens... but I would like to know the reason of that.

Thanks

Robert
Did it work to remove the constraint?
Can you share your experience/ results?

Thanks in advance!
S03r3n is offline   Reply With Quote

Old   April 3, 2024, 03:22
Default
  #4
Senior Member
 
Robert Castilla
Join Date: Apr 2009
Location: Spain
Posts: 109
Rep Power: 17
rcastilla is on a distinguished road
Quote:
Originally Posted by S03r3n View Post
Did it work to remove the constraint?
Can you share your experience/ results?

Thanks in advance!
Hi, S03r3n,
It was long time ago, and I don't remember now the details. But I think that we solved the problem finally, and it was published in the Journal of Fluids Engineering, of the ASME:

Castilla, R., Gamez-Montero, P. J., Raush, G., & Codina, E. (2017). Method for fluid flow simulation of a gerotor pump using OpenFOAM. Journal of Fluids Engineering, 139(11), 111101.

It was used to deform the mesh of a gerotor pump.

Regards
rcastilla 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
Natural convection in a closed domain STILL NEEDING help! Yr0gErG FLUENT 4 December 2, 2019 00:04
Wall Normal Temperature Gradient Daniel Tanner FLUENT 6 September 20, 2015 13:10
UDF to Access Wall Normal Concentration Gradient Daniel Tanner Fluent UDF and Scheme Programming 4 February 18, 2015 14:35
momentum equation (Normal to wall) kk Main CFD Forum 0 July 2, 2006 23:13
Velocity gradient normal to a wall ap FLUENT 0 July 26, 2004 08:32


All times are GMT -4. The time now is 18:36.