FEMesh Properties
Mesh object
An FEMesh
object contains a description of the finite
element mesh. A PDEModel
container has an FEMesh
object in its Mesh
property.
Generate a mesh for your model using the generateMesh
function.
Properties
Nodes
— Mesh nodes
matrix
Mesh nodes, specified as a matrix. Nodes
is a
D
-by-Nn
matrix, where
D
is the number of geometry dimensions (2 or 3), and
Nn
is the number of nodes in the mesh. Each column of
Nodes
contains the x,
y, and in 3-D, z coordinates for
that mesh node.
2-D meshes have nodes at the mesh triangle corners for linear elements,
and at the corners and edge midpoints for "quadratic"
elements. 3-D meshes have nodes at tetrahedral vertices, and the
"quadratic"
elements have additional nodes at the
center points of each edge. See Mesh Data.
Data Types: double
Elements
— Mesh elements
matrix
Mesh elements, specified as an
M
-by-Ne
matrix, where
Ne
is the number of elements in the mesh, and
M
is:
3
for 2-D triangles with"linear"
GeometricOrder
6
for 2-D triangles with"quadratic"
GeometricOrder
4
for 3-D tetrahedra with"linear"
GeometricOrder
10
for 3-D tetrahedra with"quadratic"
GeometricOrder
Each column in Elements
contains the indices of the
nodes for that mesh element.
Data Types: double
MaxElementSize
— Target maximum mesh element size
positive real number
Target maximum mesh element size, specified as a positive real number. The
maximum mesh element size is the length of the longest edge in the mesh. The
generateMesh
Hmax
name-value pair sets the target maximum size at the
time it creates the mesh. generateMesh
can occasionally
create a mesh with some elements that exceed
MaxElementSize
by a few percent.
Data Types: double
MinElementSize
— Target minimum mesh element size
positive real number
Target minimum mesh element size, specified as a positive real number. The
minimum mesh element size is the length of the shortest edge in the mesh.
The Hmin
name-value pair passed to the generateMesh
function sets the
target minimum size the at the time it creates the mesh.
generateMesh
can occasionally create a mesh with
some elements that are smaller than
MinElementSize
.
Data Types: double
MeshGradation
— Mesh growth rate
1.5 (default) | scalar strictly between 1 and 2
Mesh growth rate, specified as a scalar strictly between 1 and 2.
Data Types: double
GeometricOrder
— Element polynomial order
'linear'
| 'quadratic'
Element polynomial order, specified as 'linear'
or
'quadratic'
. See Elements
or
Mesh Data.
Data Types: char
Version History
Introduced in R2015a
Commande MATLAB
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)