Mesh¶
- class +AMrotorSIM.+Rotor.+FEMRotor.@Mesh.Mesh(optn)¶
Bases:
sphinxcontrib.mat_types.handleClass of the mesh, which includes the nodes and elements
- name = None¶
minimum allowed element length
- d_max = None¶
maximum allowed element length
- n_refinement = None¶
no of refinement steps, when looking for the optimal element length
- approximation = None¶
allowed: upper sum, lower sum, mean, symmetric approximation
- Mesh(optn)¶
Constructor
- Parameters
optn (
struct) – Cnfg_rotor.mesh_opt substruct of Cnfg-struct- Returns
Mesh object
- +AMrotorSIM.+Rotor.+FEMRotor.@Mesh.show_2D(self, varargin)¶
Plots the meshed rotor in 2D
- Parameters
varargin – Variable input argument (check function)
- Returns
Figure with the mesh of the rotor
- +AMrotorSIM.+Rotor.+FEMRotor.@Mesh.show_2D_nodes(self, varargin)¶
Plots the mesh nodes in 2D
- Parameters
varargin – Variable input argument (check function)
- Returns
Figure with the nodes
- +AMrotorSIM.+Rotor.+FEMRotor.@Mesh.show_3D(self, ax, color)¶
Plots the meshed rotor in 3D (isometry)
- Parameters
ax (
matlab.graphics.axis.Axes object) – Axes properties control of the figure (check matlab function: axes)color (
vector) – Color of rotor in RGB
- Returns
3D-isometry of the meshed rotor and Matlab.graphics.axis.Axes-object