mesh Module

Definition of a finite element mesh

FE_edge type

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

Fe_mesh type

The mesh is a 2D mesh (only 4 nodes quadrangles in the current version)

Mesh generation

It is possible to create a structured rectanguler mesh with \ref module_fe_mesh::create_rect_x_ymesh


Uses

  • module~~mesh~~UsesGraph module~mesh mesh module~data_arch data_arch module~mesh->module~data_arch iso_fortran_env iso_fortran_env module~data_arch->iso_fortran_env

Used by

  • module~~mesh~~UsedByGraph module~mesh mesh module~ms_film ms_film module~ms_film->module~mesh module~film film module~ms_film->module~film module~film->module~mesh module~test_musst test_musst module~test_musst->module~ms_film module~test_musst->module~film module~inout_files inout_files module~test_musst->module~inout_files module~inout_files->module~ms_film module~inout_files->module~film program~main main program~main->module~test_musst

Contents


Variables

TypeVisibility AttributesNameInitial
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


Derived Types

type, public :: FE_EDGE

Components

TypeVisibility AttributesNameInitial
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, public :: FE_MESH

Components

TypeVisibility AttributesNameInitial
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


Subroutines

public subroutine create_rect_x_ymesh(m)

Read more…

Arguments

Type IntentOptional AttributesName
type(FE_MESH), intent(inout) :: m

FE mesh