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

Correct velocity boundary condition for a wall in a rotating mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 19, 2014, 04:19
Default Correct velocity boundary condition for a wall in a rotating mesh
  #1
Member
 
Pekka Pasanen
Join Date: Feb 2012
Location: Finland
Posts: 87
Rep Power: 14
zordiack is on a distinguished road
Hi, I've been wondering what is the correct velocity boundary condition to use for a rotating mesh? My case is a centrifugal fan which has a wall patch for the rotor blades. I'm moving the mesh (all cells in one cellZone) using the following dynamicMeshDict:

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.2.2                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dynamicFvMesh   solidBodyMotionFvMesh;

motionSolverLibs ( "libfvMotionSolvers.so" );

solidBodyMotionFvMeshCoeffs
{
    cellZone        rotor;

    solidBodyMotionFunction  rotatingMotion;
    rotatingMotionCoeffs
    {
        origin      (0 0 0);
        axis        (0 1 0);
        omega       50; // rad/s
    }
}
Which one should I use for the velocity boundary condition on the rotor patch?

Code:
        rotor_scale_solid
        {
            type fixedValue;
            value uniform ( 0 0 0);
        }
(the following is used in the propeller tutorial, but it doesn't make any sense to me to use movingWallVelocity for a rotating wall)

Code:
        rotor_scale_solid
        {
            type movingWallVelocity;
            value uniform ( 0 0 0);
        }

Code:
        rotor_scale_solid
        {
            type rotatingWallVelocity;
            origin (0 0 0);
            axis (0 1 0);
            omega 50;
        }
I would be really grateful if someone could point me in the right direction.
zordiack is offline   Reply With Quote

Old   March 4, 2014, 08:33
Default movingWallvelocity
  #2
Member
 
Join Date: Oct 2013
Posts: 92
Rep Power: 13
fedvasu is on a distinguished road
I hope by now you have figured it out, but if you are using OF-2.1 or above there is a tutorial case $FOAM_TUTORIALS/incompressible/pimpleDyMFoam/propellor

where propellor has movingWallVelocity value(0 0 0), I too am working on rotating machinery problem with pimpleDyMFoam I use movingwall 0.

The motion of fan has to be captured with AMI mesh regions and you must specify the rotating velocity in constant/dynamicMeshDict.

there are other ways to model this kind of problem but I am not well-versed in them.
fedvasu is offline   Reply With Quote

Old   March 4, 2014, 11:11
Default
  #3
New Member
 
Christian
Join Date: Nov 2013
Posts: 7
Rep Power: 13
ChristianR1988 is on a distinguished road
hey!i am also busy with a rotorating blade within an static casing.i also use movingwallvelocity (0 0 0) for the blade-wall and fixedvalue (0 0 0) for the casing...but i just use ami for the cyclic boundaries...
ChristianR1988 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
Wind turbine simulation Saturn CFX 60 July 17, 2024 06:45
CFX fails to calculate a diffuser pipe flow shenying0710 CFX 7 March 26, 2013 05:13
Rotating wall velocity boundary condition for axisymmetric flow problem diwakaranant SU2 1 March 24, 2013 00:45
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55
applying boundary condition on rotating wall Haris Maharana Siemens 2 January 16, 2001 13:03


All times are GMT -4. The time now is 16:07.