ENH: patchCloud: return pTraits<Type>::max for unfound points
[OpenFOAM-1.7.x.git] / tutorials / incompressible / pimpleDyMFoam / wingMotion / wingMotion2D_pimpleDyMFoam / 0.org / pointDisplacement
blob36bfcc5b40028410e0174652d2addfa797a8d742
1 /*--------------------------------*- C++ -*----------------------------------*\
2 | =========                 |                                                 |
3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
4 |  \\    /   O peration     | Version:  1.7.1                                 |
5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
6 |    \\/     M anipulation  |                                                 |
7 \*---------------------------------------------------------------------------*/
8 FoamFile
10     version     2.0;
11     format      ascii;
12     class       pointVectorField;
13     location    "0.01";
14     object      pointDisplacement;
16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18 dimensions      [0 1 0 0 0 0 0];
20 internalField   uniform (0 0 0);
22 boundaryField
24     wing
25     {
26         type            sixDoFRigidBodyDisplacement;
27         mass            22.9;
28         centreOfMass    (0.4974612746 -0.01671895744 0.125);
29         momentOfInertia (1.958864357 3.920839234 2.057121362);
30         orientation
31         (
32             0.9953705935 0.09611129781 0
33            -0.09611129781 0.9953705935 0
34             0 0 1
35         );
36         velocity        (0 0 0);
37         acceleration    (0 0 0);
38         angularMomentum (0 0 -0.5);
39         torque          (0 0 0);
40         rhoName         rhoInf;
41         rhoInf          1;
42         g               (0 -9.81 0);
43         report          on;
44         constraints
45         {
46             maxIterations   500;
48             fixedLine1
49             {
50                 sixDoFRigidBodyMotionConstraint fixedLine;
51                 tolerance        1e-9;
52                 relaxationFactor 0.7;
53                 fixedLineCoeffs
54                 {
55                     refPoint      (0.25 0.007 0.125);
56                     direction     (0 1 0);
57                 }
58             }
60             fixedAxis1
61             {
62                 sixDoFRigidBodyMotionConstraint fixedAxis;
63                 tolerance       1e-06;
64                 relaxationFactor 0.7;
65                 fixedAxisCoeffs
66                 {
67                     axis            ( 0 0 1 );
68                 }
69             }
70         }
71         restraints
72         {
73             verticalSpring
74             {
75                 sixDoFRigidBodyMotionRestraint linearSpring;
77                 linearSpringCoeffs
78                 {
79                     anchor          (0.25 0.007 0.125);
80                     refAttachmentPt (0.25 0.007 0.125);
81                     stiffness       4000;
82                     damping         2;
83                     restLength      0;
84                 }
85             }
86             axialSpring
87             {
88                 sixDoFRigidBodyMotionRestraint linearAxialAngularSpring;
90                 linearAxialAngularSpringCoeffs
91                 {
92                     axis            (0 0 1);
93                     stiffness       700;
94                     damping         0.5;
95                     referenceOrientation $orientation;
96                 }
97             }
98         }
99         value           uniform (0 0 0);
100     }
102     front
103     {
104         type            empty;
105     }
107     back
108     {
109         type            empty;
110     }
112      ".*"
113      {
114          type            fixedValue;
115          value           uniform (0 0 0);
116      }
120 // ************************************************************************* //