Initial commit of NavalHydro package from Wikki to the ShipHydroSIG
[ShipHydroSIG.git] / run / navalFoam / twoDBoat6DOFGGI / constant / dynamicMeshDict
blob4db1412b0f679150f9843eec7717ac5daa78759c
1 /*--------------------------------*- C++ -*----------------------------------*\
2 | =========                 |                                                 |
3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
4 |  \\    /   O peration     | Version:  1.4                                   |
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          dynamicMeshDict;
17 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
19 // dynamicFvMesh   staticFvMesh;
21 dynamicFvMesh   floatingBodyFvMesh;
23 floatingBodyFvMeshCoeffs
25     bodies
26     (
27         twoDBoat
28         {
29             hullPatches     (bow stern hull);
31             addPropulsionForce      yes;
32             propulsionDirection     (-1 0 0);
33             propulsionForceCentroid (0 -0.003 0);
35             odeSolver       RK;
36             epsilon         0.001;
38             // Centre of slider is given relative to centre of gravity
39             // of the body
40             centreOfSlider  (-0.05 0.05 0);
41             hullSlider      bargeSlider;
42             fixedSlider     boxSlider;
44             hullSliderZone      bargeSliderZone;
45             fixedSliderZone     boxSliderZone;;
47             fixedSurge      no;
48             fixedSway       no;
49             fixedHeave      no;
51             fixedRoll       no;
52             fixedPitch      no;
53             fixedYaw        no;
55             steadyState     no;
56         }
57     );
60 solver          laplaceFaceDecomposition;
61 diffusivity     uniform;
63 twoDMotion      yes;
64 frozenDiffusion on;
66 distancePatches (bow stern hull);
69 // ************************************************************************* //