1 /*--------------------------------*- C++ -*----------------------------------*\
3 | \\ / F ield | foam-extend: Open Source CFD |
4 | \\ / O peration | Version: 3.2 |
5 | \\ / A nd | Web: http://www.foam-extend.org |
6 | \\/ M anipulation | |
7 \*---------------------------------------------------------------------------*/
16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18 // Set output format : choice of
25 // Surface output format. Choice of
26 // null : suppress output
27 // foamFile : separate points, faces and values file
28 // dx : DX scalar or vector format
29 // vtk : VTK ascii format
30 // raw : x y z value format for use with e.g. gnuplot 'splot'.
33 // other formats such as obj, stl, etc can also be written (by proxy)
34 // but without any values!
37 // interpolationScheme. choice of
38 // cell : use cell-centre value only; constant over cells (default)
39 // cellPoint : use cell-centre and vertex values
40 // cellPointFace : use cell-centre, vertex and face values.
41 // 1] vertex values determined from neighbouring cell-centre values
42 // 2] face values determined using the current face interpolation scheme
43 // for the field (linear, gamma, etc.)
44 interpolationScheme cellPoint;
53 // Set sampling definition: choice of
54 // uniform evenly distributed points on line
55 // face one point per face intersection
56 // midPoint one point per cell, inbetween two face intersections
57 // midPointAndFace combination of face and midPoint
59 // curve specified points, not nessecary on line, uses
61 // cloud specified points, uses findCell
63 // axis: how to write point coordinate. Choice of
64 // - x/y/z: x/y/z coordinate only
65 // - xyz: three columns
66 // (probably does not make sense for anything but raw)
67 // - distance: distance from start of sampling line (if uses line) or
68 // distance from first specified sampling point
71 // uniform, face, midPoint, midPointAndFace : start and end coordinate
72 // uniform: extra number of sampling points
73 // curve, cloud: list of coordinates
81 //- cavity. Slightly perturbed so not to align with face or edge.
82 start (0.0201 0.05101 0.00501);
83 end (0.0601 0.05101 0.00501);
97 //start (-1 0.05 0.005);
98 //end ( 1 0.05 0.005);
101 start (0.001 0.5101 0.00501);
102 end (2.01 0.5101 0.00501);
110 points ((0.049 0.049 0.00501)(0.051 0.049 0.00501));
115 // Surface sampling definition: choice of
116 // plane : values on plane defined by point, normal.
117 // patch : values on patch.
119 // 1] patches are not triangulated by default
120 // 2] planes are always triangulated
121 // 3] iso-surfaces are always triangulated
126 type plane; // always triangulated
127 basePoint (0.0501 0.0501 0.005);
128 normalVector (0.1 0.1 1);
130 //- Optional: restrict to a particular zone
136 type plane; // always triangulated
137 // make plane relative to the coordinateSystem (Cartesian)
140 origin (0.0501 0.0501 0.005);
143 normalVector (0.1 0.1 1);
150 patchName movingWall;
151 // Optional: whether to leave as faces (=default) or triangulate
152 // triangulate false;
155 movingWall_interpolated
158 patchName movingWall;
160 // Optional: whether to leave as faces (=default) or triangulate
161 // triangulate false;
166 // Iso surface for interpolated values only
167 type isoSurface; // always triangulated
172 //zone ABC; // Optional: zone only
173 //exposedPatchName fixedWalls; // Optional: zone only
175 // regularise false; // Optional: do not simplify
179 // Iso surface for constant values.
180 // Triangles guaranteed not to cross cells.
181 type isoSurfaceCell; // always triangulated
185 regularise false; // do not simplify
190 // Cutingplane using iso surface
192 planeType pointAndNormal;
195 basePoint (0.4 0 0.4);
196 normalVector (1 0.2 0.2);
200 //zone ABC; // Optional: zone only
201 //exposedPatchName fixedWalls; // Optional: zone only
203 // regularise false; // Optional: do not simplify
208 // *********************************************************************** //