1 /*--------------------------------*- C++ -*----------------------------------*\
3 | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4 | \\ / O peration | Version: 1.6 |
5 | \\ / A nd | Web: http://www.OpenFOAM.org |
6 | \\/ M anipulation | |
7 \*---------------------------------------------------------------------------*/
18 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
20 // Set output format : choice of
27 // Surface output format. Choice of
28 // null : suppress output
29 // foamFile : separate points, faces and values file
30 // dx : DX scalar or vector format
31 // vtk : VTK ascii format
32 // raw : x y z value format for use with e.g. gnuplot 'splot'.
35 // other formats such as obj, stl, etc can also be written (by proxy)
36 // but without any values!
39 // interpolationScheme. choice of
40 // cell : use cell-centre value only; constant over cells (default)
41 // cellPoint : use cell-centre and vertex values
42 // cellPointFace : use cell-centre, vertex and face values.
43 // 1] vertex values determined from neighbouring cell-centre values
44 // 2] face values determined using the current face interpolation scheme
45 // for the field (linear, gamma, etc.)
46 interpolationScheme cellPoint;
56 // Set sampling definition: choice of
57 // uniform evenly distributed points on line
58 // face one point per face intersection
59 // midPoint one point per cell, inbetween two face intersections
60 // midPointAndFace combination of face and midPoint
62 // curve specified points, not nessecary on line, uses
64 // cloud specified points, uses findCell
66 // axis: how to write point coordinate. Choice of
67 // - x/y/z: x/y/z coordinate only
68 // - xyz: three columns
69 // (probably does not make sense for anything but raw)
70 // - distance: distance from start of sampling line (if uses line) or
71 // distance from first specified sampling point
74 // uniform, face, midPoint, midPointAndFace : start and end coordinate
75 // uniform: extra number of sampling points
76 // curve, cloud: list of coordinates
84 //- cavity. Slightly perturbed so not to align with face or edge.
85 start (0.0201 0.05101 0.00501);
86 end (0.0601 0.05101 0.00501);
100 //start (-1 0.05 0.005);
101 //end ( 1 0.05 0.005);
104 start (0.001 0.5101 0.00501);
105 end (2.01 0.5101 0.00501);
113 points ((0.049 0.049 0.00501)(0.051 0.049 0.00501));
119 // Surface sampling definition: choice of
120 // plane : values on plane defined by point, normal.
121 // patch : values on patch.
123 // 1] patches are not triangulated by default
124 // 2] planes are always triangulated
125 // 3] iso-surfaces are always triangulated
130 type plane; // always triangulated
131 basePoint (0.0501 0.0501 0.005);
132 normalVector (0.1 0.1 1);
134 //- Optional: restrict to a particular zone
140 type plane; // always triangulated
141 // make plane relative to the coordinateSystem (Cartesian)
144 origin (0.0501 0.0501 0.005);
147 normalVector (0.1 0.1 1);
154 patchName movingWall;
155 // Optional: whether to leave as faces (=default) or triangulate
156 // triangulate false;
159 movingWall_interpolated
162 patchName movingWall;
164 // Optional: whether to leave as faces (=default) or triangulate
165 // triangulate false;
170 // Iso surface for interpolated values only
171 type isoSurface; // always triangulated
176 //zone ABC; // Optional: zone only
177 //exposedPatchName fixedWalls; // Optional: zone only
179 // regularise false; // Optional: do not simplify
183 // Iso surface for constant values.
184 // Triangles guaranteed not to cross cells.
185 type isoSurfaceCell; // always triangulated
189 regularise false; // do not simplify
194 // Cutingplane using iso surface
196 planeType pointAndNormal;
199 basePoint (0.4 0 0.4);
200 normalVector (1 0.2 0.2);
204 //zone ABC; // Optional: zone only
205 //exposedPatchName fixedWalls; // Optional: zone only
207 // regularise false; // Optional: do not simplify
213 // *********************************************************************** //