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.065;
20 momentOfInertia J [1 2 0 0 0 0 0] (1 1 1e-3);
22 equilibriumPosition x [0 1 0 0 0 0 0] (0.05 -0.05 0);
23 linearSpring k [1 0 -2 0 0 0 0] (0 0 0);
24 linearDamping d [1 0 -1 0 0 0 0] (0 0 0);
27 Xrel Xrel [0 1 0 0 0 0 0] (0 0 0);
28 // U U [0 1 -1 0 0 0 0] (0.1 0 0);
29 U U [0 1 -1 0 0 0 0] (0 0 0);
30 Uold Uold [0 1 -1 0 0 0 0] (0 0 0);
32 rotationVector (0 0 1);
33 rotationAngle rotationAngle [0 0 0 0 0 0 0] 0;
34 // omega rotUrel [0 0 -1 0 0 0 0] (0 0 -0.707);
35 omega rotUrel [0 0 -1 0 0 0 0] (0 0 0);
37 force f [1 1 -2 0 0 0 0] (0 0 0);
38 moment m [1 2 -2 0 0 0 0] (0 0 0);
40 forceRelative fRel [1 1 -2 0 0 0 0] (0 0 0);
41 momentRelative mRel [1 2 -2 0 0 0 0] (0 0 0);
43 // ************************************************************************* //