February 6, 2023, 13:10
|
How to use sixDoFRigidBodyMotion to provide mesh rotation withouth deforming the mesh
|
#1
|
Member
Eduardo Firvida
Join Date: Dec 2010
Posts: 53
Rep Power: 16
|
Hi, I'm using sixDoFRigidBodyMotion to compute the rotation of NREL Phase IV wind generator rotor (~5m diameter). After waiting for some time the simulation started to explode. And I found that the mesh start to be deformed, (see the pictures). My case is basically the propeller example with the rotor geometry and changing the dynamicMeshDict to:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
report yes;
reportToFile yes;
dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs (libMySixDoFRigidBodyMotion);
motionSolver sixDoFRigidBodyMotion;
patches (rotor);
innerDistance 0;
outerDistance 6;
orientation
(
1 0 0
0 1 0
0 0 1
);
mass 577.3;
centreOfMass (-1.850E-07 -0.009 2.911E-08);
momentOfInertia (3416.204 3420.038 13.145);
angularMomentum (0 0 0);
g (-9.81 0 0);
rho rhoInf;
rhoInf 1;
report on;
solver
{
type symplectic;
}
constraints
{
oCenter
{
sixDoFRigidBodyMotionConstraint point;
centreOfRotation $centreOfMass;
}
yAxis
{
sixDoFRigidBodyMotionConstraint axis;
axis (0 1 0);
}
}
restraints
{
}
// ************************************************************************* //
But what I spect as in the propeller tutorial is that the mesh region rotates, and not the rotor inside its mesh regions and deforming it.
|
|
|