Initial commit of NavalHydro package from Wikki to the ShipHydroSIG
[ShipHydroSIG.git] / run / navalFoam / twoDBoat6DOFGGI / 0 / uniform / twoDBoat
blob8a58bb3e2832c4467e09bcccc44343dbc80eb969
1 /*--------------------------------*- C++ -*----------------------------------*\
2 | =========                 |                                                 |
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 \*---------------------------------------------------------------------------*/
9 FoamFile
11     version         2.0;
12     format          ascii;
13     class           dictionary;
14     object          twoDBoat;
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);
26 // Xabs = Xeq + Xrel
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 // ************************************************************************* //