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

A question about using multiSolidBodyMotionSolver/multiMotion in OF v7

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 3, 2021, 15:01
Wink A question about using multiSolidBodyMotionSolver/multiMotion in OF v7
  #1
New Member
 
dzs
Join Date: Oct 2019
Posts: 5
Rep Power: 6
dntjudme is on a distinguished road
Dear Foamers,

I'm using OF v7 multiSolidBodyMotionSolver for simulating a wind turbine aerodynamics case.

What I want to do is to simulate the wind turbine rotating motion + surge motion simultaneously, I referred to what OpenFOAM wiki suggested in section 2.8 multiMotion: https://openfoamwiki.net/index.php/P...sh#multiMotion

Following what wiki suggested, I setup the dynamicMeshDict as follows, which has been modified slightly in OF v7 style
Code:
dynamicFvMesh   dynamicMotionSolverFvMesh;

motionSolver    //solidBody;
                multiSolidBodyMotionSolver;

solidBodyMotionFunction  multiMotion;
                surgeBox
                {
                    solidBodyMotionFunction  oscillatingLinearMotion;
                    oscillatingLinearMotionCoeffs
                    {
                      amplitude     (0.125 0 0);//(0.125 0 0);
                      omega         0.785398; // (rad/s) 0.125 Hz = 0.785398 rad/s
                    }
                }

                rotor
                {
                    solidBodyMotionFunction  rotatingMotion;
                    rotatingMotionCoeffs
                    {
                      origin          (0 0 2.086);
                      axis            (1 0 0);
                      omega           25.1327;//240; //25.1327 rad/s
                    }
                    solidBodyMotionFunction  oscillatingLinearMotion;
                    oscillatingLinearMotionCoeffs
                    {
                      amplitude     (0.125 0 0);//(0.125 0 0);
                      omega         0.785398; // (rad/s) 0.125 Hz = 0.785398 rad/s
                    }
                }
The assignment of cellZone "rotor" is done in snappyHexMeshDict, includes cells inside the AMI patch; the "surgeBox" is assigned in topoSet with the following code, the line "box (-9 -7 0) (11 7 4);" covers all cells in the entire computational domain:
Code:
{
        name    surgeBoxSource;
        type    cellSet;
        action  new;
        source  boxToCell;
        sourceInfo
        {
            box (-9 -7 0) (11 7 4);
        }
    }
    {
        name    surgeBox;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        sourceInfo
        {
            set surgeBoxSource;
        }
    }
Then, I ran the moveDynamicMesh command to preview the mesh motion in ParaView, and here is what I got:1png.jpg

Here you can see that the rotation of the cellZone "rotor" is not happening while the surge motion can be properly simulated.

Does anyone know how to correctly tune the multiMotion Coeffs for this case so that the mesh motion can be properly moved with rotating motion + surge motion occurring simultaneously?

Many thanks!

Zs
dntjudme 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
Question about symmetry in Autodesk Cfd 2016 ecto Autodesk Simulation CFD 0 October 20, 2015 04:16
small question about the functionalities of topological changes in OpenFoam ngj OpenFOAM Running, Solving & CFD 2 February 28, 2013 10:02
Question Re Engineering Data Source imnull ANSYS 0 March 5, 2012 13:51
internal field question - PitzDaily Case atareen64 OpenFOAM Running, Solving & CFD 2 January 26, 2011 15:26
Poisson Solver question Suresh Main CFD Forum 3 August 12, 2005 04:37


All times are GMT -4. The time now is 05:08.