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

Rotating Mesh as reaction to flow

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 20, 2015, 06:42
Default Rotating Mesh as reaction to flow
  #1
New Member
 
Arthur Ehlert
Join Date: Oct 2015
Posts: 2
Rep Power: 0
arture is on a distinguished road
Hello there,

I am trying to do a simulation of a horizontal axis marine current turbine. Now I am trying to find out which approach to use.

I read about AMI. For example using pimpleDyMFoam. Using this solver you define a rotational speed in the dynamicMeshDict. This means the Rotor has a constant rotational speed no matter how big the inflow velocity is.

I would prefer to define my rotor as moveable around one axis and then let the flow do its part on moving it.

Is there any possibility to do so?

Thank you very much for your help!

Cheers

Arthur
arture is offline   Reply With Quote

Old   October 21, 2015, 04:59
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 584
Rep Power: 28
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

You could do this using sixDoFRigidBodyMotion motion solver for dynamic mesh cases. Below is an example that works with version 2.3, probably also works with 2.4, but I have not tested it. The example is set-up such that only rotation about the z-axis is possible. The point (0,0,0) is fixed so no translation possible. For all the possibilities I would encourage you to read through the source code in $FOAM_SRC/sixDoFRigidBodyMotion/

Regards,
Tom

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

dynamicFvMesh      dynamicMotionSolverFvMesh;

motionSolverLibs ("libsixDoFRigidBodyMotion.so");

solver            sixDoFRigidBodyMotion;

sixDoFRigidBodyMotionCoeffs
{
    patches         (movingWall);
    innerDistance   0.3;
    outerDistance   1;

    mass            0.25;
    centreOfMass    (0 0 0);
    momentOfInertia (0.002 0.002 0.005);
    orientation
    (
        1 0 0
        0 1 0
        0 0 1
    );
    angularMomentum (0 0 0);
    g               (0 0 -9.81);
    rhoName         rhoInf;
    rhoInf          1.225;
    report          on;

    constraints
    {
        fixed_origin
        {
            sixDoFRigidBodyMotionConstraint point;
            centreOfRotation    (0 0 0);
        }

        zAxis
        {
            sixDoFRigidBodyMotionConstraint axis;
            axis                (0 0 1);
        }
    }

    restraints
    {
       
    }
}


// ************************************************************************* //
tomf is offline   Reply With Quote

Old   October 26, 2015, 07:21
Default
  #3
New Member
 
Arthur Ehlert
Join Date: Oct 2015
Posts: 2
Rep Power: 0
arture is on a distinguished road
Thank you very much! I'm gonna check it out.

Cheers

Arthur
arture is offline   Reply With Quote

Reply

Tags
ami, axial flow turbine, rotating mesh

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
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 7 December 15, 2020 13:06
Star CCM Overset Mesh Error (Rotating Turbine) thezack Siemens 7 October 12, 2016 11:14
Frozen Rotor 1:1 Mesh Connection pharley CFX 5 January 31, 2013 16:15
[snappyHexMesh] Layers:problem with curvature giulio.topazio OpenFOAM Meshing & Mesh Conversion 10 August 22, 2012 09:03
Fully Developed Turbulent Flow Mesh Convergence deji OpenFOAM 0 November 25, 2011 20:27


All times are GMT -4. The time now is 09:51.