/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 4.1 | | \\ / A nd | Web: http://www.foam-extend.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object bodyA; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // 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); force f [1 1 -2 0 0 0 0] (0 0 0); moment m [1 2 -2 0 0 0 0] (0 0 0); // 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); // ************************************************************************* //