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 \*---------------------------------------------------------------------------*/
23 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
25 mass m [1 0 0 0 0 0 0] 0.22;
26 momentOfInertia J [1 2 0 0 0 0 0] (1 1 1e-2);
28 equilibriumPosition x [0 1 0 0 0 0 0] (0 0 0);
29 linearSpring k [1 0 -2 0 0 0 0] (0 0 0);
30 linearDamping d [1 0 -1 0 0 0 0] (0 0 0);
33 Xrel Xrel [0 1 0 0 0 0 0] (0 0 0);
34 U U [0 1 -1 0 0 0 0] (0.3 0 0);
35 Uold Uold [0 1 -1 0 0 0 0] (0.3 0 0);
37 rotationVector (0 0 1);
38 rotationAngle rotationAngle [0 0 0 0 0 0 0] 0;
39 // omega rotUrel [0 0 -1 0 0 0 0] (0 0 0);
40 omega rotUrel [0 0 -1 0 0 0 0] (0 0 -3);
42 force f [1 1 -2 0 0 0 0] (0 0 0);
43 moment m [1 2 -2 0 0 0 0] (0 0 0);
45 forceRelative fRel [1 1 -2 0 0 0 0] (0 0 0);
46 momentRelative mRel [1 2 -2 0 0 0 0] (0 0 0);
48 // ************************************************************************* //