1 /*--------------------------------*- C++ -*----------------------------------*\
3 | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4 | \\ / O peration | Version: 1.3 |
5 | \\ / A nd | Web: http://www.openfoam.org |
6 | \\/ M anipulation | |
7 \*---------------------------------------------------------------------------*/
17 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
19 // mass m [1 0 0 0 0 0 0] 0.6375;
20 // momentOfInertia J [1 2 0 0 0 0 0] (1.3335 0.125 0.1815);
22 mass m [1 0 0 0 0 0 0] 0.4;
23 momentOfInertia J [1 2 0 0 0 0 0] (0.01 0.05 0.02);
25 equilibriumPosition x [0 1 0 0 0 0 0] (0 -0.001 0);
26 linearSpring k [1 0 -2 0 0 0 0] (5000 0.1 0);
27 linearDamping d [1 0 -1 0 0 0 0] (10 0.01 0);
30 Xrel Xrel [0 1 0 0 0 0 0] (0 0 0);
31 U U [0 1 -1 0 0 0 0] (0 0 0);
32 Uold Uold [0 1 -1 0 0 0 0] (0 0 0);
34 rotationVector (0 0 1);
35 rotationAngle rotationAngle [0 0 0 0 0 0 0] 0;
36 omega rotUrel [0 0 -1 0 0 0 0] (0 0 0);
38 force f [1 1 -2 0 0 0 0] (0 0 0);
39 moment m [1 2 -2 0 0 0 0] (0 0 0);
41 forceRelative fRel [1 1 -2 0 0 0 0] (0 0 0);
42 momentRelative mRel [1 2 -2 0 0 0 0] (0 0 0);
44 // ************************************************************************* //