Definition of a finite element mesh
The edge type define a line which is the boundary of the domain. It contains a number of node, of elements and a connectivity table. A table is used to give a link with the 2D domain nodes number
The mesh is a 2D mesh (only 4 nodes quadrangles in the current version)
It is possible to create a structured rectanguler mesh with \ref module_fe_mesh::create_rect_x_ymesh
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=I4), | public, | parameter | :: | MAX_NNE | = | 4 | maximum number of nodes per element |
integer(kind=I4), | public, | parameter | :: | MAX_NNC | = | 4 | maximum number of corners per element |
integer(kind=I4), | public, | parameter | :: | MAX_NNG | = | 2 | maximum number of Gauss points in a direction |
integer(kind=I4), | public, | parameter | :: | MAX_NBS | = | 512 | maximum number of nodes per BS element in a direction |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=I4), | public | :: | n | number of nodes |
|||
integer(kind=I4), | public | :: | ne | number of elements |
|||
integer(kind=I4), | public, | dimension(:), allocatable | :: | nm | mesh node (numbers in the 2d mesh) |
||
integer(kind=I4), | public, | dimension(:,:), allocatable | :: | con | connectivity table |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=R8), | public | :: | lx | size of rectangle |
|||
real(kind=R8), | public | :: | ly | size of rectangle |
|||
real(kind=R8), | public | :: | zx | coordinates of first point |
|||
real(kind=R8), | public | :: | zy | coordinates of first point |
|||
integer(kind=I4), | public | :: | nx | number of nodes in , directions |
|||
integer(kind=I4), | public | :: | ny | number of nodes in , directions |
|||
integer(kind=I4), | public | :: | n | number of nodes |
|||
integer(kind=I4), | public | :: | ne | number of elements |
|||
integer(kind=I4), | public | :: | ned | number of edges |
|||
integer(kind=I4), | public | :: | nc | number of corners |
|||
real(kind=R8), | public, | dimension(:), allocatable | :: | x | nodes coordinates |
||
real(kind=R8), | public, | dimension(:), allocatable | :: | y | nodes coordinates |
||
real(kind=R8), | public, | dimension(:), allocatable | :: | z | nodes coordinates |
||
integer(kind=I4), | public, | dimension(:,:), allocatable | :: | con | connectivity table |
||
integer(kind=I4), | public, | dimension(:), allocatable | :: | el_t | element type |
||
integer(kind=I4), | public, | dimension(:), allocatable | :: | el_n | element number of lines |
||
type(FE_EDGE), | public, | dimension(:), allocatable | :: | ed | edges of the mesh |
||
integer(kind=I4), | public, | dimension(:), allocatable | :: | cor | number of the corner node |