|
[Sponsors] |
Setup of dynamicMeshDict for cylinder translating and rotating around its axis |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 8, 2021, 19:56 |
Setup of dynamicMeshDict for cylinder translating and rotating around its axis
|
#1 |
New Member
Icaro A. Carvalho
Join Date: Dec 2020
Posts: 24
Rep Power: 5 |
Hello all,
I am currently working on a 2D case where the cylinder translates as the effect of the flow around it (vortex-induced vibration) and it spins around its own axis at a constant angular speed. An illustration of the translating motion is like this: https://en.wikipedia.org/wiki/Vortex...V_cylindre.gif (this illustration does not include rotation of the cylinder). I have been able to put the cylinder in translating motion, but I am confused as to how I can impart the angular velocity to it. Please see below my dynamicMeshDict: Code:
dynamicFvMesh dynamicMotionSolverFvMesh; motionSolverLibs (sixDoFRigidBodyMotion); motionSolver sixDoFRigidBodyMotion; patches (cylinder); innerDistance 2.5; outerDistance 8; mass 2.5918139; centreOfMass (0 0 0.5); momentOfInertia (0.378 0.378 0.324); g (0 0 0); rho rhoInf; rhoInf 1; report on; reportToFile on; solver { type Newmark; } constraints { yLine { sixDoFRigidBodyMotionConstraint line; centreOfRotation (0 0 0.5); direction (0 1 0); } zAxis { sixDoFRigidBodyMotionConstraint orientation; axis (0 0 0.5); } } restraints { verticalSpring // modelling of the translation as mass-spring-damping system { sixDoFRigidBodyMotionRestraint linearSpring; anchor (0 0 0.5); refAttachmentPt (0 0 0.5); stiffness 4.09246; damping 0.0026; restLength 0; } } // ************************************************************************* // Code:
dimensions [0 1 -1 0 0 0 0]; internalField uniform (1 0 0); boundaryField { CYL { type movingWallVelocity; value uniform (0 0 0); } INLET { type fixedValue; value $internalField; } OUTLET { type zeroGradient; } SIDES { type symmetry; } FRONT { type empty; } BACK { type empty; } } Code:
cyl { type rotatingWallVelocity; origin ( -0.204735636 -0.49427555 0 ); axis ( 0 0 1 ); omega constant 26.3664; } Could anyone help? |
|
March 10, 2021, 07:12 |
|
#2 |
New Member
Icaro A. Carvalho
Join Date: Dec 2020
Posts: 24
Rep Power: 5 |
Dear Admin,
Could you please move this thread to the 'pre-processing' OpenFOAM forum, please? I believe this topic would have been better positioned there. Sorry for the misplacement and thanks. |
|
Tags |
dynamic mesh, incompressible flow, laminar |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Translating and Rotating AMI | HiddenSquid | OpenFOAM Pre-Processing | 1 | October 25, 2017 04:59 |
Rotating and Translating 2D Airfoil | jpesich | STAR-CCM+ | 3 | August 31, 2014 18:15 |
how to use Total Mesh Displacement for making a subject translating and rotating? | snailstb | CFX | 3 | September 16, 2009 05:06 |