This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/tutorials/basic/sixDOFSolver/sixDOFmotion/0/bodyA

40 lines
1.6 KiB
Text
Raw Normal View History

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
2013-12-11 16:09:41 +00:00
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.1 |
2015-05-17 13:55:59 +00:00
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
2010-11-24 20:48:09 +00:00
version 2.0;
format ascii;
class dictionary;
object bodyA;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
2017-02-28 15:08:24 +00:00
// Mass properties and inputs common to all sixDOFODE's
mass m [1 0 0 0 0 0 0] 1;
momentOfInertia J [1 2 0 0 0 0 0] (1 1 1);
equilibriumPosition Xeq [0 1 0 0 0 0 0] (0 0 0);
2017-02-28 15:08:24 +00:00
force f [1 1 -2 0 0 0 0] (0 0 0);
moment m [1 2 -2 0 0 0 0] (0 0 0);
2017-02-27 07:29:22 +00:00
// Specific input for certain sixDOFODE (here quaternionSixDOF)
type quaternionSixDOF;
// Xabs = Xeq + Xrel
Xrel Xrel [0 1 0 0 0 0 0] (0 0 0);
U U [0 1 -1 0 0 0 0] (1 0 0);
Uold Uold [0 1 -1 0 0 0 0] (1 0 0);
rotationVector (0 0 1);
rotationAngle rotationAngle [0 0 0 0 0 0 0] 0;
omega rotUrel [0 0 -1 0 0 0 0] (0.5773502692 0.5773502692 0.5773502692);
2015-10-23 11:43:35 +00:00
2016-06-21 12:50:08 +00:00
// ************************************************************************* //