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

How to specify a tangential velocity for a moving wall?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 14, 2022, 15:16
Default How to specify a tangential velocity for a moving wall?
  #1
New Member
 
De Broglie
Join Date: Jul 2022
Posts: 6
Rep Power: 4
de_Broglie is on a distinguished road
The title pretty much says it. Imagine we have a physically moving wall, for which the motion is prescribed using pointDisplacement as boundary condition. But we need to also specify an additional tangential wall velocity for which no mesh movement is necessary. How do we go about this?


Thanks a bunch in advance for any help.
de_Broglie is offline   Reply With Quote

Old   July 14, 2022, 15:33
Default rotatingWallVelocity
  #2
Member
 
Al Csc
Join Date: Jul 2018
Posts: 31
Rep Power: 8
al.csc is on a distinguished road
For ESI-v2206, you find the answer in:

- If rotating, ie cylinder: OpenFOAM-v2206/src/finiteVolume/fields/fvPatchFields/derived/rotatingWallVelocity/rotatingWallVelocityFvPatchVectorField.H

Code:
Description
    This boundary condition provides a rotational velocity condition.

Usage
    \table
        Property     | Description             | Required    | Default value
        origin       | origin of rotation in Cartesian coordinates | yes|
        axis         | axis of rotation        | yes         |
        omega        | angular velocty of the frame [rad/s] | yes    |
    \endtable

    Example of the boundary condition specification:
    \verbatim

// Here what you need:

    <patchName> // for U
    {
        type            rotatingWallVelocity;
        origin          (0 0 0);
        axis            (0 0 1);
        omega           100;
    }
- If moving, ie flat wall: OpenFOAM-v2206/src/finiteVolume/fields/fvPatchFields/derived/movingWallVelocity/movingWallVelocityFvPatchVectorField.H

Code:
Description
    This boundary condition provides a velocity condition for cases with
    moving walls.

Usage
    Example of the boundary condition specification:
    \verbatim

//What you need: 

    <patchName> // for U
    {
        type            movingWallVelocity;
        value           uniform (0 0 0);    // Initial value
    }
    \endverbatim
Cheers!

Last edited by al.csc; July 14, 2022 at 15:39. Reason: missing second part
al.csc is offline   Reply With Quote

Old   July 14, 2022, 15:38
Default
  #3
New Member
 
De Broglie
Join Date: Jul 2022
Posts: 6
Rep Power: 4
de_Broglie is on a distinguished road
Thank you, al.csc, for replying. But I believe this is a BC that should not be used when the wall is physically moving. Say you have a cylinder that is rotating around its center, then you wouldn't need a mesh movement and could use rotatingWallVelocity safely.


My question relates to when the wall is actually moving. Think a linearly oscillating cylinder that is also rotating at the same time. The oscillation needs mesh movement, whereas the rotation doesn't.
de_Broglie is offline   Reply With Quote

Old   July 14, 2022, 15:43
Default
  #4
Member
 
Al Csc
Join Date: Jul 2018
Posts: 31
Rep Power: 8
al.csc is on a distinguished road
Quote:
Originally Posted by de_Broglie View Post
Thank you, al.csc, for replying. But I believe this is a BC that should not be used when the wall is physically moving. Say you have a cylinder that is rotating around its center, then you wouldn't need a mesh movement and could use rotatingWallVelocity safely.


My question relates to when the wall is actually moving. Think a linearly oscillating cylinder that is also rotating at the same time. The oscillation needs mesh movement, whereas the rotation doesn't.
Now I get your point, sorry. But I do not understand why noSlip BC is not sufficient.
al.csc is offline   Reply With Quote

Old   July 14, 2022, 15:45
Default
  #5
New Member
 
De Broglie
Join Date: Jul 2022
Posts: 6
Rep Power: 4
de_Broglie is on a distinguished road
Ok, on movingWallVelocity, this BC works well (and should be used) when the wall is physically moving. The problem is that sometimes you don't want the wall to have an actually movement in the tangential direction. In such situations if movingWallVelocity is used, the mesh actually moves in the tangential direction, which is not desirable.
de_Broglie is offline   Reply With Quote

Old   July 14, 2022, 15:50
Default
  #6
New Member
 
De Broglie
Join Date: Jul 2022
Posts: 6
Rep Power: 4
de_Broglie is on a distinguished road
Quote:
Originally Posted by al.csc View Post
Now I get your point, sorry. But I do not understand why noSlip BC is not sufficient.

No worries, at all. Sometimes you would want to prescribe a specific velocity on the wall in tangential direction, which simulates a wall movement (without the actual movement and hence no need for mesh motion).
de_Broglie is offline   Reply With Quote

Old   July 14, 2022, 15:55
Default
  #7
New Member
 
De Broglie
Join Date: Jul 2022
Posts: 6
Rep Power: 4
de_Broglie is on a distinguished road
Just to add to this, in commercial codes like Fluent or CFX, and when you have dynamic mesh, you could specify a "relative wall velocity" on wall boundaries in addition to wall mesh motion, which would take care of this problem.
de_Broglie is offline   Reply With Quote

Old   October 26, 2024, 13:21
Default
  #8
New Member
 
Lupo Ci
Join Date: Aug 2010
Posts: 18
Rep Power: 16
Lupocci is on a distinguished road
De_Broglie where you able to solve this problem? And how? Is it possible to prescribe a moving boundary wall that does not move the mesh? I need to move my wall tangentially to the wall itself, not perpendicularly. Does it carry the mesh with it this way?
Lupocci is offline   Reply With Quote

Reply

Tags
dynamic mesh, moving wall, tangential velocity

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ansys CFD-Post Application Error rushiCFD FLUENT 0 March 21, 2021 08:51
Divergence in AMG solver! marina FLUENT 20 August 1, 2020 12:30
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 06:38
Velocity on a wall is not equal to 0 by LES starz FLUENT 6 February 23, 2020 16:37
Rotating domain vs Wall velocity Jiricbeng CFX 16 January 30, 2020 10:06


All times are GMT -4. The time now is 23:21.