1 /*--------------------------------*- C++ -*----------------------------------*\
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 \*---------------------------------------------------------------------------*/
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 // cellPatchConstrained : use cell-centre except on boundary faces where
44 // it uses the boundary value. For use with e.g. patchCloudSet.
45 // 1] vertex values determined from neighbouring cell-centre values
46 // 2] face values determined using the current face interpolation scheme
47 // for the field (linear, gamma, etc.)
48 interpolationScheme cellPoint;
58 // Set sampling definition: choice of
59 // uniform evenly distributed points on line
60 // face one point per face intersection
61 // midPoint one point per cell, inbetween two face intersections
62 // midPointAndFace combination of face and midPoint
64 // curve specified points, not nessecary on line, uses
66 // cloud specified points, uses findCell
68 // axis: how to write point coordinate. Choice of
69 // - x/y/z: x/y/z coordinate only
70 // - xyz: three columns
71 // (probably does not make sense for anything but raw)
72 // - distance: distance from start of sampling line (if uses line) or
73 // distance from first specified sampling point
76 // uniform, face, midPoint, midPointAndFace : start and end coordinate
77 // uniform: extra number of sampling points
78 // curve, cloud: list of coordinates
79 // patchCloud: list of coordinates and set of patches to look for nearest
87 //- cavity. Slightly perturbed so not to align with face or edge.
88 start (0.0201 0.05101 0.00501);
89 end (0.0601 0.05101 0.00501);
99 start (0.0001 0.0525 0.00501);
100 end (0.0999 0.0525 0.00501);
107 points ((0.049 0.049 0.00501)(0.051 0.049 0.00501));
112 // Sample nearest points on selected patches. Looks only up to
113 // maxDistance away. Any sampling point not found will get value
114 // pTraits<Type>::max (usually VGREAT)
115 // Use with interpolations:
116 // - cell (cell value)
117 // - cellPatchConstrained (boundary value)
118 // - cellPoint (interpolated boundary value)
121 points ((0.049 0.099 0.005)(0.051 0.054 0.005));
122 maxDistance 0.1; // maximum distance to search
123 patches (".*Wall.*");
128 // Surface sampling definition: choice of
129 // plane : values on plane defined by point, normal.
130 // patch : values on patch.
132 // 1] patches are not triangulated by default
133 // 2] planes are always triangulated
134 // 3] iso-surfaces are always triangulated
139 type plane; // always triangulated
140 basePoint (0.0501 0.0501 0.005);
141 normalVector (0.1 0.1 1);
143 //- Optional: restrict to a particular zone
149 type plane; // always triangulated
150 // make plane relative to the coordinateSystem (Cartesian)
153 origin (0.0501 0.0501 0.005);
156 normalVector (0.1 0.1 1);
163 patchName movingWall;
164 // Optional: whether to leave as faces (=default) or triangulate
165 // triangulate false;
168 movingWall_interpolated
171 patchName movingWall;
173 // Optional: whether to leave as faces (=default) or triangulate
174 // triangulate false;
179 // Iso surface for interpolated values only
180 type isoSurface; // always triangulated
185 //zone ABC; // Optional: zone only
186 //exposedPatchName fixedWalls; // Optional: zone only
188 // regularise false; // Optional: do not simplify
192 // Iso surface for constant values.
193 // Triangles guaranteed not to cross cells.
194 type isoSurfaceCell; // always triangulated
198 regularise false; // do not simplify
203 // Cutingplane using iso surface
205 planeType pointAndNormal;
208 basePoint (0.4 0 0.4);
209 normalVector (1 0.2 0.2);
213 //zone ABC; // Optional: zone only
214 //exposedPatchName fixedWalls; // Optional: zone only
216 // regularise false; // Optional: do not simplify
221 // Sampling on triSurface
222 type sampledTriSurfaceMesh;
223 surface integrationPlane.stl;
224 source boundaryFaces; // sample cells or boundaryFaces
230 // Sampling certain distance away (in direction of normals)
232 type distanceSurface;
238 //surfaceType triSurfaceMesh;
239 //surfaceName motorbike.stl;
240 surfaceType searchableSphere;
241 centre (0.05 0.05 0.005);
249 // *********************************************************************** //