Geometry sources¶
The source of a geometry says how it is defined. The form of a geometry node shows the fields below; the key is the one of the source object of the geometry in the model file.
Source |
Description |
Meshers |
|---|---|---|
box |
|
|
constructive geometry (csg) |
|
|
CAD file (STEP, IGES, BREP) |
|
|
mesh file (.msh) |
|
|
curve (2D or 3D) |
|
|
surface in 3D (flat domain + height) |
|
|
surface in 3D swept by a curve |
|
|
boundary of a 3D geometry |
those of its solid |
box¶
Meshers: structured, getfem, gmsh, netgen.
Field |
Key |
Value |
|---|---|---|
Name |
|
name |
Dimension |
|
one of |
Origin |
|
numbers or expressions of parameters, one per coordinate, or a vector parameter |
Size |
|
numbers or expressions of parameters, one per coordinate, or a vector parameter |
Built-in selections: all, boundary, xmin, xmax, ymin, ymax.
csg: constructive geometry (csg)¶
Meshers: getfem, gmsh, netgen.
Field |
Key |
Value |
|---|---|---|
Name |
|
name |
Dimension |
|
one of |
Built-in selections: all, boundary.
cad: CAD file (STEP, IGES, BREP)¶
Meshers: gmsh, netgen.
Field |
Key |
Value |
|---|---|---|
Name |
|
name |
File |
|
file name (relative to the model file) |
Built-in selections: all, boundary.
mesh_file: mesh file (.msh)¶
Meshers: import.
Field |
Key |
Value |
|---|---|---|
Name |
|
name |
File |
|
file name (relative to the model file) |
Built-in selections: all, boundary.
curve: curve (2D or 3D)¶
Meshers: getfem.
Field |
Key |
Value |
|---|---|---|
Name |
|
name |
Dimension of the space |
|
one of |
The curve is the polygon below, drawn and edited in the view as the polygons of a 2D geometry (vertices, fillets, curved sides, constraints, dimensions), open or closed. The ends of an open curve are the built-in selections start and end.
Built-in selections: all, boundary, start, end.
surface: surface in 3D (flat domain + height)¶
Meshers: getfem, gmsh, netgen.
Field |
Key |
Value |
|---|---|---|
Name |
|
name |
Map |
|
one of |
Origin |
|
numbers or expressions of parameters, one per coordinate, or a vector parameter |
Axis x |
|
numbers or expressions of parameters, one per coordinate, or a vector parameter |
Axis y |
|
numbers or expressions of parameters, one per coordinate, or a vector parameter |
Height |
|
number or GWFL expression. Height along the normal: a number or an expression of the local coordinates x, y and the parameters (“0.2*sqr(x)”). |
The flat domain (2D shape below) is drawn and its selections are defined in the local coordinates (x, y).
Built-in selections: all, boundary.
swept_surface: surface in 3D swept by a curve¶
Meshers: getfem.
Field |
Key |
Value |
|---|---|---|
Name |
|
name |
Sweep |
|
one of |
From angle to angle (degrees) |
|
numbers or expressions of parameters, one per coordinate, or a vector parameter |
The swept curve is the polygon below, drawn and edited in the view as the polygons of a 2D geometry, open or closed, in the plane (r, z): it must not touch the axis r = 0.
Built-in selections: all, boundary.
boundary: boundary of a 3D geometry¶
Meshers: those of its solid.
Field |
Key |
Value |
|---|---|---|
Name |
|
name |
Of the geometry |
|
a name |
Faces |
|
one of |
A surface: its boundary meshed directly with the parameters of the mesh by the GetFEM mesher; by the other meshers, the 3D geometry meshed, then its faces taken. Its boundary selections are built-in selections (parts) of the surface; the selection ‘boundary’ is the edge of an open surface.
Built-in selections: all, boundary.
