Initial commit of NavalHydro package from Wikki to the ShipHydroSIG
[ShipHydroSIG.git] / run / navalFoam / twoBoats / 0 / uniform / frontBoat
blob83dac0bb0ed6f771a5af0fb4952654865d741a5d
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          frontBoat;
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);
29 // Xabs = Xeq + Xrel
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 // ************************************************************************* //