/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs ("libsixDoFRigidBodyMotion.so");
motionSolver sixDoFRigidBodyMotion;
patches (wall);
innerDistance 0.3;
outerDistance 5;
mass 15.6;
centreOfMass (0.4 0 0);
momentOfInertia (1 0.5 0.5);
orientation
(
1 0 0
0 1 0
0 0 1
);
angularMomentum (0 0 -0.1);
g (0 0 0);
rho rhoInf;
rhoInf 1;
report on;
solver
{
type symplectic;
}
constraints
{
yLine
{
sixDoFRigidBodyMotionConstraint line;
centreOfRotation (0.4 0 0);
direction (0 1 0);
}
zLine
{
sixDoFRigidBodyMotionConstraint line;
centreOfRotation (0.4 0 0);
direction (0 0 1);
}
zAxis
{
sixDoFRigidBodyMotionConstraint axis;
axis (0 0 1);
}
}
restraints
{
verticalSpring
{
sixDoFRigidBodyMotionRestraint linearSpring;
anchor (0.4 0 0);
refAttachmentPt (0.4 0 0);
stiffness 4000;
damping 2;
restLength 0;
}
axialSpring
{
sixDoFRigidBodyMotionRestraint linearAxialAngularSpring;
axis (0 0 1);
stiffness 0.0;
damping 0.0;
referenceOrientation $orientation;
}
}
// ************************************************************************* //
2019年4月10日水曜日
{dir_main_dym}/constant/dynamicMeshDict
登録:
コメントの投稿 (Atom)
0 件のコメント:
コメントを投稿