Mesh generation (Netzgenerierung)¶
Command: create_mesh()
Mesh all areas that have not yet been discretized. To obtain a symmetric mesh, mesh the superelements before copying them.
Command: create_mesh_se(x, y)
Mesh a superelement identified by the internal point (x,y).
- Parameter
x,y Point in a superelement (cartesian coordinates)
Command: create_mesh_se_short(x, y)
Mesh a superelement without error-checking (for faster execution).
- Parameter
x,y Point in a superelement (cartesian coordinates)
Command: delete_mesh_se(x, y)
Delete the mesh of a superelement.
- Parameter
x,y Point in a superelement (cartesian coordinates)
Command: refine_mesh(x, y, region, rlevel)
Refines the mesh in the area selected by the cartesian coordinates x,y. Areas can be superelements (“spel”), subregions (“sreg”), or windings (“wdg”).
- Parameter
- x,y Coordinates of identifying point in defined global unitsregion Identifier for selecting the area (spel, sreg, or wdg)rlevel Degree of refinement (1 = none, 2 = halving element size, etc.)
Example: Network refinement within a subregion
refine_mesh(11.4,7.4,"sreg",2)
Command: meshing(flag)
Turns the mesh on or off.
- Parameter
flag (on, off)