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

Integrating sixDoFRigidBodyMotion and rotatingMotion in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 10, 2023, 22:32
Default Integrating sixDoFRigidBodyMotion and rotatingMotion in OpenFOAM
  #1
New Member
 
Perseus
Join Date: Dec 2023
Posts: 1
Rep Power: 0
RainMoonCloud is on a distinguished road
Hello everyone,

I'm a newcomer to OpenFOAM, and I'm planning to simulate the 2D Vortex-Induced Vibration (VIV) phenomenon of an ellipse using the overPimpleDyMFoam solver in OpenFOAM V2306. In my setup, I want to allow the ellipse to freely oscillate in the vertical inflow direction and simultaneously apply a constant rotational angular velocity to the ellipse. I plan to use sixDoFRigidBodyMotion to simulate the free oscillation and rotatingMotion under solidBody to simulate the constant rotational angular velocity. However, I'm struggling to integrate these two motions seamlessly.

Below is my dynamicMeshDict file settings:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2306                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dynamicFvMesh       dynamicOversetFvMesh;

solver          multiSolidBodyMotionSolver;

solvers
{
    viv
    {
        motionSolver sixDoFRigidBodyMotion;
        patches         (cylinder);
        innerDistance   100;
        outerDistance   101;
        report          on;

        mass            2;
       centreOfMass    (0.0 0.0 0.0);
       momentOfInertia (1 1 1);

       g               (0 0 0);
       rho             rhoInf;
       rhoInf          1;

       solver
       {
           type Newmark;
       }

     constraints
     {

      yLine
      {
         sixDoFRigidBodyMotionConstraint   line;
         direction ( 0 1 0);
      }

      rotation
      {
          // sixDoFRigidBodyMotionConstraint orientation;
          sixDoFRigidBodyMotionConstraint axis;
          // centreOfRotation (0 0 0);
          axis (0 0 1);
      }
     }
    }
    overset_internal
    {
        motionSolver solidBody;
        solidBodyMotionFunction rotatingMotion;
        rotatingMotionCoeffs
        {
            origin      (0. 0. 0.);
            axis        (0 0 1);
            omega       1.570;
        }
    }
}
Any guidance or suggestions on how to combine sixDoFRigidBodyMotion for free oscillation and rotatingMotion for constant rotational motion in my case would be greatly appreciated.

Thank you!
RainMoonCloud is offline   Reply With Quote

Reply

Tags
rotate body, sixdofmotionsolver, solidbodymotion, viv


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
I get this error in OpenFOAM when I run my case (mpirun, with pimpleFOAM) brateboj OpenFOAM Running, Solving & CFD 0 July 12, 2022 11:58
Combining rotatingMotion + displacementLaplacian egebat7 OpenFOAM Running, Solving & CFD 4 September 20, 2021 11:07
Dynamic Mesh issue when coupling OpenFOAM with FSI ConorMD OpenFOAM Running, Solving & CFD 0 May 12, 2020 07:19
Problem with rotatingMotion OpenFOAM 2.2.2 Naruto OpenFOAM Running, Solving & CFD 7 November 28, 2013 11:03
Rotation around a local axis (OpenFOAM 2.01) Naruto OpenFOAM Pre-Processing 0 July 29, 2013 14:00


All times are GMT -4. The time now is 17:04.