Newer
Older
@c
@c This file is generated automatically by running "gmsh -doc".
@c Do not edit by hand!
@c
@ftable @code
@item Attractor
Compute the distance from the nearest node in a list. It can also be used to compute the distance from curves, in which case each curve is replaced by NNodesByEdge equidistant nodes and the distance from those nodes is computed.@*

Jean-François Remacle
committed
Options:@*

Jean-François Remacle
committed
Indices of curves in the geometric model@*
type: list@*
default value: @code{@{@}}

Christophe Geuzaine
committed
Indices of surfaces in the geometric model (Warning, this feature is still experimental. It might (read: will probably) give wrong results for complex surfaces)@*
type: list@*
default value: @code{@{@}}

Christophe Geuzaine
committed
@item FieldX
Id of the field to use as x coordinate.@*
type: integer@*
default value: @code{-1}
@item FieldY
Id of the field to use as y coordinate.@*
type: integer@*
default value: @code{-1}
@item FieldZ
Id of the field to use as z coordinate.@*
type: integer@*
default value: @code{-1}

Jean-François Remacle
committed
type: integer@*
default value: @code{20}

Jean-François Remacle
committed
type: list@*
default value: @code{@{@}}

Christophe Geuzaine
committed
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
@item AttractorAnisoCurve
Compute the distance from the nearest curve in a list. Then the mesh size can be specified independently in the direction normal to the curve and in the direction parallel to the curve (Each curve is replaced by NNodesByEdge equidistant nodes and the distance from those nodes is computed.)@*
Options:@*
@table @code
@item EdgesList
Indices of curves in the geometric model@*
type: list@*
default value: @code{@{@}}
@item NNodesByEdge
Number of nodes used to discretized each curve@*
type: integer@*
default value: @code{20}
@item dMax
Maxmium distance, above this distance from the curves, prescribe the maximum mesh sizes.@*
type: float@*
default value: @code{0.5}
@item dMin
Minimum distance, bellow this distance from the curves, prescribe the minimum mesh sizes.@*
type: float@*
default value: @code{0.1}
@item lMaxNormal
Maximum mesh size in the direction normal to the closest curve.@*
type: float@*
default value: @code{0.5}
@item lMaxTangent
Maximum mesh size in the direction tangeant to the closest curve.@*
type: float@*
default value: @code{0.5}
@item lMinNormal
Minimum mesh size in the direction normal to the closest curve.@*
type: float@*
default value: @code{0.05}
@item lMinTangent
Minimum mesh size in the direction tangeant to the closest curve.@*
type: float@*
default value: @code{0.5}
@end table
@item EdgesList
Indices of curves in the geometric model for which a boundary layer is needed@*
type: list@*
default value: @code{@{@}}
@item NodesList
Indices of nodes in the geometric model@*
type: list@*
default value: @code{@{@}}
@item hwall_n
Mesh Size Normal to the The Wall@*
type: float@*
default value: @code{0.1}
@item hwall_t
Mesh Size Tangent to the Wall@*
type: float@*
default value: @code{0.5}
@item ratio
Size Ratio Between Two Successive Layers@*
type: float@*
default value: @code{1.1}
@item thickness
Maximal thickness of the boundary layer@*
type: float@*
default value: @code{0.01}

Jean-François Remacle
committed
@item Box
The value of this field is VIn inside the box, VOut outside the box. The box is given by@*

Christophe Geuzaine
committed
@*
Xmin <= x <= XMax &&@*
YMin <= y <= YMax &&@*
ZMin <= z <= ZMax@*

Jean-François Remacle
committed
Options:@*

Jean-François Remacle
committed
Value inside the box@*
type: float@*
default value: @code{0}

Jean-François Remacle
committed
Value outside the box@*
type: float@*
default value: @code{0}

Jean-François Remacle
committed
Maximum X coordinate of the box@*
type: float@*
default value: @code{0}

Jean-François Remacle
committed
Minimum X coordinate of the box@*
type: float@*
default value: @code{0}

Jean-François Remacle
committed
Maximum Y coordinate of the box@*
type: float@*
default value: @code{0}

Jean-François Remacle
committed
Minimum Y coordinate of the box@*
type: float@*
default value: @code{0}

Jean-François Remacle
committed
Maximum Z coordinate of the box@*
type: float@*
default value: @code{0}

Jean-François Remacle
committed
Minimum Z coordinate of the box@*
type: float@*
default value: @code{0}

Jean-François Remacle
committed
@item Curvature

Christophe Geuzaine
committed
Compute the curvature of Field[IField]:@*
@*
F = div(norm(grad(Field[IField])))@*

Jean-François Remacle
committed
Options:@*

Jean-François Remacle
committed
Step of the finite differences@*
type: float@*
default value: @code{0}

Jean-François Remacle
committed
Field index@*
type: integer@*
default value: @code{1}
The value of this field is VIn inside a frustrated cylinder, VOut outside. The cylinder is given by@*
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
dX = (X - X0) - ((X - X0).A)/(||A||^2) . A@*
Options:@*
@table @code
@item Radius
Radius@*
type: float@*
default value: @code{0}
@item VIn
Value inside the cylinder@*
type: float@*
default value: @code{0}
@item VOut
Value outside the cylinder@*
type: float@*
default value: @code{0}
@item XAxis
X component of the cylinder axis@*
type: float@*
default value: @code{0}
@item XCenter
X coordinate of the cylinder center@*
type: float@*
default value: @code{0}
@item YAxis
Y component of the cylinder axis@*
type: float@*
default value: @code{0}
@item YCenter
Y coordinate of the cylinder center@*
type: float@*
default value: @code{0}
@item ZAxis
Z component of the cylinder axis@*
type: float@*
default value: @code{1}
@item ZCenter
Z coordinate of the cylinder center@*
type: float@*
default value: @code{0}
@end table

Jean-François Remacle
committed
@item Gradient

Christophe Geuzaine
committed
Compute the finite difference gradient of Field[IField]:@*
@*
F = (Field[IField](X + Delta/2) - Field[IField](X - Delta/2)) / Delta@*

Jean-François Remacle
committed
Options:@*

Jean-François Remacle
committed
Finite difference step@*
type: float@*
default value: @code{0}

Jean-François Remacle
committed
Field index@*
type: integer@*
default value: @code{1}
Component of the gradient to evaluate: 0 for X, 1 for Y, 2 for Z, 3 for the norm@*

Jean-François Remacle
committed
type: integer@*
default value: @code{0}

Jean-François Remacle
committed
@item Laplacian

Christophe Geuzaine
committed
Compute finite difference the Laplacian of Field[IField]:@*
@*
F = G(x+d,y,z) + G(x-d,y,z) +@*
G(x,y+d,z) + G(x,y-d,z) +@*
G(x,y,z+d) + G(x,y,z-d) - 6 * G(x,y,z),@*

Jean-François Remacle
committed
@*

Christophe Geuzaine
committed
where G=Field[IField] and d=Delta@*

Jean-François Remacle
committed
Options:@*

Jean-François Remacle
committed
Finite difference step@*
type: float@*
default value: @code{0.1}

Jean-François Remacle
committed
Field index@*
type: integer@*
default value: @code{1}

Jean-François Remacle
committed
@item LonLat

Christophe Geuzaine
committed
Evaluate Field[IField] in geographic coordinates (longitude, latitude):@*
@*
F = Field[IField](atan(y/x), asin(z/sqrt(x^2+y^2+z^2))@*

Jean-François Remacle
committed
Options:@*

Christophe Geuzaine
committed
@item FromStereo
if = 1, the mesh is in stereographic coordinates. xi = 2Rx/(R+z), eta = 2Ry/(R+z)@*
type: integer@*
default value: @code{0}

Jean-François Remacle
committed
Index of the field to evaluate.@*
type: integer@*
default value: @code{1}

Christophe Geuzaine
committed
@item RadiusStereo
radius of the sphere of the stereograpic coordinates@*
type: float@*
default value: @code{6371000}

Jean-François Remacle
committed
@item MathEval
Evaluate a mathematical expression. The expression can contain x, y, z for spatial coordinates, F0, F1, ... for field values, and and mathematical functions.@*

Jean-François Remacle
committed
Options:@*

Jean-François Remacle
committed
Mathematical function to evaluate.@*
type: string@*
default value: @code{"F2 + Sin(z)"}
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
@item MathEvalAniso
Evaluate a metric expression. The expressions can contain x, y, z for spatial coordinates, F0, F1, ... for field values, and and mathematical functions.@*
Options:@*
@table @code
@item m11
element 11 of the metric tensor.@*
type: string@*
default value: @code{"F2 + Sin(z)"}
@item m12
element 12 of the metric tensor.@*
type: string@*
default value: @code{"F2 + Sin(z)"}
@item m13
element 13 of the metric tensor.@*
type: string@*
default value: @code{"F2 + Sin(z)"}
@item m22
element 22 of the metric tensor.@*
type: string@*
default value: @code{"F2 + Sin(z)"}
@item m23
element 23 of the metric tensor.@*
type: string@*
default value: @code{"F2 + Sin(z)"}
@item m33
element 33 of the metric tensor.@*
type: string@*
default value: @code{"F2 + Sin(z)"}
@end table

Jean-François Remacle
committed
@item Max
Take the maximum value of a list of fields.@*
Options:@*

Jean-François Remacle
committed
Field indices@*
type: list@*
default value: @code{@{@}}

Jean-François Remacle
committed
@item MaxEigenHessian
Compute the maximum eigenvalue of the Hessian matrix of Field[IField], with the gradients evaluated by finite differences:@*

Christophe Geuzaine
committed
@*
F = max(eig(grad(grad(Field[IField]))))@*

Jean-François Remacle
committed
Options:@*

Jean-François Remacle
committed
Step used for the finite differences@*
type: float@*
default value: @code{0}

Jean-François Remacle
committed
Field index@*
type: integer@*
default value: @code{1}

Jean-François Remacle
committed
@item Mean

Christophe Geuzaine
committed
Simple smoother:@*
@*
F = (G(x+delta,y,z) + G(x-delta,y,z) +@*
G(x,y+delta,z) + G(x,y-delta,z) +@*
G(x,y,z+delta) + G(x,y,z-delta) +@*
G(x,y,z)) / 7,@*
@*
where G=Field[IField]@*

Jean-François Remacle
committed
Options:@*

Jean-François Remacle
committed
Distance used to compute the mean value@*
type: float@*
default value: @code{0.0001}

Jean-François Remacle
committed
Field index@*
type: integer@*
default value: @code{0}

Jean-François Remacle
committed
@item Min

Christophe Geuzaine
committed
Take the minimum value of a list of fields.@*

Jean-François Remacle
committed
Options:@*

Jean-François Remacle
committed
Field indices@*
type: list@*
default value: @code{@{@}}
@item MinAniso
Take the intersection of a list of possibly anisotropic fields.@*
Options:@*
@table @code
@item FieldsList
Field indices@*
type: list@*
default value: @code{@{@}}
@end table

Jean-François Remacle
committed
@item Param

Christophe Geuzaine
committed
Evaluate Field IField in parametric coordinates:@*
@*
F = Field[IField](FX,FY,FZ)@*
@*
See the MathEval Field help to get a description of valid FX, FY and FZ expressions.@*

Jean-François Remacle
committed
Options:@*

Jean-François Remacle
committed
X component of parametric function@*
type: string@*
default value: @code{""}

Jean-François Remacle
committed
Y component of parametric function@*
type: string@*
default value: @code{""}

Jean-François Remacle
committed
Z component of parametric function@*
type: string@*
default value: @code{""}

Jean-François Remacle
committed
Field index@*
type: integer@*
default value: @code{1}

Jean-François Remacle
committed
@item PostView
Evaluate the post processing view IView.@*
Options:@*
return LC_MAX instead of a negative value (this option is needed for backward compatibility with the BackgroundMesh option@*
type: boolean@*
default value: @code{1}

Jean-François Remacle
committed
Post-processing view index@*
type: integer@*
default value: @code{0}
Restrict the application of a field to a given list of geometrical curves, surfaces or volumes.@*
Options:@*
@table @code
@item EdgesList
Curve indices@*
type: list@*
default value: @code{@{@}}
@item FacesList
Surface indices@*
type: list@*
default value: @code{@{@}}
@item IField
Field index@*
type: integer@*
default value: @code{1}
@item RegionsList
Volume indices@*
type: list@*
default value: @code{@{@}}
@end table

Jean-François Remacle
committed
@item Structured
Linearly interpolate between data provided on a 3D rectangular structured grid.@*

Christophe Geuzaine
committed
@*
The format of the input file is:@*
@*
Ox Oy Oz @*
Dx Dy Dz @*
nx ny nz @*
v(0,0,0) v(0,0,1) v(0,0,2) ... @*
v(0,1,0) v(0,1,1) v(0,1,2) ... @*
v(0,2,0) v(0,2,1) v(0,2,2) ... @*
... ... ... @*
v(1,0,0) ... ... @*
@*
where O are the coordinates of the first node, D are the distances between nodes in each direction, n are the numbers of nodes in each direction, and v are the values on each node.@*

Jean-François Remacle
committed
Options:@*

Jean-François Remacle
committed
Name of the input file@*
type: path@*
default value: @code{""}
True for ASCII input files, false for binary files (4 bite signed integers for n, double precision floating points for v, D and O)@*

Jean-François Remacle
committed
type: boolean@*
default value: @code{0}

Jean-François Remacle
committed
@item Threshold

Christophe Geuzaine
committed
F = LCMin if Field[IField] <= DistMin,@*
F = LCMax if Field[IField] >= DistMax,@*
F = interpolation between LcMin and LcMax if DistMin < Field[IField] < DistMax@*

Jean-François Remacle
committed
Options:@*

Christophe Geuzaine
committed
Distance from entity after which element size will be LcMax@*

Jean-François Remacle
committed
type: float@*
default value: @code{10}

Jean-François Remacle
committed
Distance from entity up to which element size will be LcMin@*
type: float@*
default value: @code{1}

Jean-François Remacle
committed
Index of the field to evaluate@*
type: integer@*
default value: @code{0}

Jean-François Remacle
committed
Element size outside DistMax@*
type: float@*
default value: @code{1}

Jean-François Remacle
committed
Element size inside DistMin@*
type: float@*
default value: @code{0.1}
True to interpolate between LcMin and LcMax using a sigmoid, false to interpolate linearly@*

Jean-François Remacle
committed
type: boolean@*
default value: @code{0}
True to not impose element size outside DistMax (i.e., F = a very big value if Field[IField] > DistMax)@*

Jean-François Remacle
committed
type: boolean@*
default value: @code{0}

Jean-François Remacle
committed
@item UTM

Christophe Geuzaine
committed
Evaluate Field[IField] in Universal Transverse Mercator coordinates.@*

Christophe Geuzaine
committed
The formulas for the coordinates transformation are taken from:@*

Jean-François Remacle
committed
@*

Christophe Geuzaine
committed
http://www.uwgb.edu/dutchs/UsefulData/UTMFormulas.HTM@*

Jean-François Remacle
committed
Options:@*

Jean-François Remacle
committed
Index of the field to evaluate@*
type: integer@*
default value: @code{1}

Jean-François Remacle
committed
Zone of the UTM projection@*
type: integer@*
default value: @code{0}

Jean-François Remacle
committed