1 /*--------------------------------*- C++ -*----------------------------------*\
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 \*---------------------------------------------------------------------------*/
15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17 // Set output format : choice of
26 // Surface output format. Choice of
27 // null : suppress output
28 // ensight : Ensight Gold format, one field per case file
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 // optionally define extra controls for the output formats
48 // interpolationScheme. choice of
49 // cell : use cell-centre value only; constant over cells (default)
50 // cellPoint : use cell-centre and vertex values
51 // cellPointFace : use cell-centre, vertex and face values.
52 // pointMVC : use point values only (Mean Value Coordinates)
53 // cellPatchConstrained : use cell-centre except on boundary faces where
54 // it uses the boundary value. For use with e.g. patchCloudSet.
55 // 1] vertex values determined from neighbouring cell-centre values
56 // 2] face values determined using the current face interpolation scheme
57 // for the field (linear, gamma, etc.)
58 interpolationScheme cellPoint;
67 // Set sampling definition: choice of
68 // uniform evenly distributed points on line
69 // face one point per face intersection
70 // midPoint one point per cell, inbetween two face intersections
71 // midPointAndFace combination of face and midPoint
73 // polyLine specified points, not nessecary on line, uses
75 // cloud specified points, uses findCell
76 // triSurfaceMeshPointSet points of triSurface
78 // axis: how to write point coordinate. Choice of
79 // - x/y/z: x/y/z coordinate only
80 // - xyz: three columns
81 // (probably does not make sense for anything but raw)
82 // - distance: distance from start of sampling line (if uses line) or
83 // distance from first specified sampling point
86 // uniform, face, midPoint, midPointAndFace : start and end coordinate
87 // uniform: extra number of sampling points
88 // polyLine, cloud: list of coordinates
89 // patchCloud: list of coordinates and set of patches to look for nearest
97 //- cavity. Slightly perturbed so not to align with face or edge.
98 start (0.0201 0.05101 0.00501);
99 end (0.0601 0.05101 0.00501);
109 start (0.0001 0.0525 0.00501);
110 end (0.0999 0.0525 0.00501);
117 points ((0.049 0.049 0.00501)(0.051 0.049 0.00501));
122 // Sample nearest points on selected patches. Looks only up to
123 // maxDistance away. Any sampling point not found will get value
124 // pTraits<Type>::max (usually VGREAT)
125 // Use with interpolations:
126 // - cell (cell value)
127 // - cellPatchConstrained (boundary value)
128 // - cellPoint (interpolated boundary value)
131 points ((0.049 0.099 0.005)(0.051 0.054 0.005));
132 maxDistance 0.1; // maximum distance to search
133 patches (".*Wall.*");
138 // Surface sampling definition
140 // 1] patches are not triangulated by default
141 // 2] planes are always triangulated
142 // 3] iso-surfaces are always triangulated
147 type plane; // always triangulated
148 basePoint (0.0501 0.0501 0.005);
149 normalVector (0.1 0.1 1);
151 //- Optional: restrict to a particular zone
157 type plane; // always triangulated
158 // make plane relative to the coordinateSystem (Cartesian)
161 origin (0.0501 0.0501 0.005);
164 normalVector (0.1 0.1 1);
171 patches ( ".*Wall.*" );
172 // Optional: whether to leave as faces (=default) or triangulate
173 // triangulate false;
179 patches ( ".*Wall.*" );
181 // Optional: whether to leave as faces (=default) or triangulate
182 // triangulate false;
185 nearWalls_interpolated
187 // Sample cell values off patch. Does not need to be the near-wall
188 // cell, can be arbitrarily far away.
189 type patchInternalField;
190 patches ( ".*Wall.*" );
193 // Optional: whether to leave as faces (=default) or triangulate
194 // triangulate false;
199 // Iso surface for interpolated values only
200 type isoSurface; // always triangulated
205 //zone ABC; // Optional: zone only
206 //exposedPatchName fixedWalls; // Optional: zone only
208 // regularise false; // Optional: do not simplify
209 // mergeTol 1e-10; // Optional: fraction of mesh bounding box
210 // to merge points (default=1e-6)
214 // Iso surface for constant values.
215 // Triangles guaranteed not to cross cells.
216 type isoSurfaceCell; // always triangulated
220 regularise false; // do not simplify
221 // mergeTol 1e-10; // Optional: fraction of mesh bounding box
222 // to merge points (default=1e-6)
227 // Cutingplane using iso surface
229 planeType pointAndNormal;
232 basePoint (0.4 0 0.4);
233 normalVector (1 0.2 0.2);
237 //zone ABC; // Optional: zone only
238 //exposedPatchName fixedWalls; // Optional: zone only
240 // regularise false; // Optional: do not simplify
241 // mergeTol 1e-10; // Optional: fraction of mesh bounding box
242 // to merge points (default=1e-6)
247 // Isosurface from signed/unsigned distance to surface
248 type distanceSurface;
251 // Definition of surface
252 surfaceType triSurfaceMesh;
253 surfaceName integrationPlane.stl;
254 // Distance to surface
258 //regularise false; // Optional: do not simplify
259 // mergeTol 1e-10; // Optional: fraction of mesh bounding box
260 // to merge points (default=1e-6)
265 // Sampling on triSurface
266 type sampledTriSurfaceMesh;
267 surface integrationPlane.stl;
268 source boundaryFaces; // sample cells or boundaryFaces
274 // *********************************************************************** //