Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-2.0.x
[OpenFOAM-2.0.x.git] / tutorials / mesh / moveDynamicMesh / SnakeRiverCanyon / 0 / pointDisplacement
blobc1f246192c30ebda58ba7eedeab2ed0c3db8282a
1 /*--------------------------------*- C++ -*----------------------------------*\
2 | =========                 |                                                 |
3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
4 |  \\    /   O peration     | Version:  2.0.0                                 |
5 |   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
6 |    \\/     M anipulation  |                                                 |
7 \*---------------------------------------------------------------------------*/
8 FoamFile
10     version     2.0;
11     format      ascii;
12     class       pointVectorField;
13     location    "0";
14     object      pointMotionU;
16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18 dimensions      [0 1 0 0 0 0 0];
20 internalField   uniform (0 0 0);
22 boundaryField
24     maxZ
25     {
26         type            fixedValue;
27         value           uniform (0 0 0);
28     }
30     minZ
31     {
32         type            surfaceDisplacement;
33         value           uniform (0 0 0);
35         // Clip displacement to surface by max deltaT*velocity.
36         velocity            (10 10 10);
38         geometry
39         {
40             AcrossRiver.stl
41             {
42                 type triSurfaceMesh;
43             }
44         };
46         // Find projection with surface:
47         //     fixedNormal : intersections along prespecified direction
48         //     pointNormal : intersections along current pointNormal of patch
49         //     nearest     : nearest point on surface
50         // Other
51         projectMode fixedNormal;
53         // if fixedNormal : normal
54         projectDirection (0 0 1);
56         //- -1 or component to knock out before doing projection
57         wedgePlane      -1;
59         //- Points that should remain fixed
60         //frozenPointsZone fixedPointsZone;
61     }
63 //    minZ
64 //    {
65 //        type            surfaceSlipDisplacement;
66 //        geometry
67 //        {
68 //            hellskull.stl
69 //            {
70 //                type triSurfaceMesh;
71 //            }
72 //        };
74 //        followMode fixedNormal;
76 //        projectDirection (0 0 1);
78 //        //- -1 or component to knock out before doing projection
79 //        wedgePlane      -1;
81 //        //- Points that should remain fixed
82 //        //frozenPointsZone fixedPointsZone;
83 //    }
85     maxX
86     {
87         type            fixedNormalSlip;
88         n               (1 0 0);
89     }
91     minX
92     {
93         type            fixedNormalSlip;
94         n               (1 0 0);
95     }
97     minY
98     {
99         type            fixedNormalSlip;
100         n               (0 1 0);
101     }
103     maxY
104     {
105         type            fixedNormalSlip;
106         n               (0 1 0);
107     }
111 // ************************************************************************* //