8.0
general documentation
mesh.f90 File Reference

Module for mesh-related arrays. More...

Modules

module  mesh
 

Functions/Subroutines

elemental pure integer function ifacel (iside, ifac)
  Index-numbers of the two (only) neighboring cells for each internal face More...
 
elemental pure integer function ifabor (ifac)
  index-number of the (unique) neighboring cell for each boundary face More...
 
elemental pure integer function ipnfac (ifac)
  position of the first node of the each internal face in the array returned by nodfac (see Note 3: faces-vertices connectivity) More...
 
elemental pure integer function nodfac (ipn)
  indexed-numbers of the nodes of each internal face (see Note 3: faces-vertices connectivity) More...
 
elemental pure integer function ipnfbr (ifac)
  position of the first node of the each boundary face in the array returned by nodfbr (see Note 3: faces-vertices connectivity) More...
 
elemental pure integer function nodfbr (ipn)
  indexed-numbers of the nodes of each boundary face (see Note 3: faces-vertices connectivity) More...
 
elemental pure integer function isolid (iporos, iel)
  integer to mark out the "solid" cells (where the fluid volume is 0). Only available when iposros > 0. When iporos = 0, this array has a unique value (isolid_0(1:1)=0). More...
 

Variables

integer ndim
  spatial dimension (3) More...
 
integer, save ncelet = 0
  number of extended (real + ghost of the 'halo') cells. See Note 1: ghost cells - (halos) More...
 
integer, save ncel = 0
  number of real cells in the mesh More...
 
integer, save nfac = 0
  number of internal faces (see Note 2: internal faces) More...
 
integer, save nfabor = 0
  number of boundary faces (see Note 2: internal faces) More...
 
integer, save nnod = 0
  number of vertices in the mesh More...
 
integer, save lndfac = 0
  size of the array nodfac of internal faces - nodes connectivity (see Note 3: faces-vertices connectivity) More...
 
integer, save lndfbr = 0
  size of the array nodfbr of boundary faces - nodes connectivity (see Note 3: faces-vertices connectivity) More...
 
integer, dimension(:,:), pointer ifacel_0
 
integer, dimension(:), pointer ifabor_0
 
integer, dimension(:), pointer ipnfac_0
 
integer, dimension(:), pointer nodfac_0
 
integer, dimension(:), pointer ipnfbr_0
 
integer, dimension(:), pointer nodfbr_0
 
integer, dimension(:), pointer ifmfbr
  family number of the boundary faces. See Note 1: ghost cells - (halos) More...
 
integer, dimension(:), pointer ifmcel
  family number of the elements. See Note 1: ghost cells - (halos) More...
 
integer, dimension(:), pointer isympa
  integer to mark out the "symmetry" (itypfb=isymet) boundary faces where the mass flow has to be canceled when the ALE module is switched off (these faces are impermeable). For instance, if the face ifac is symmetry face, isympa(ifac)=0, otherwise isympa(ifac)=1. More...
 
double precision, dimension(:,:), pointer xyzcen
  coordinate of the cell centers More...
 
double precision, dimension(:,:), pointer surfac
  surface vector of the internal faces. Its norm is the surface of the face and it is oriented from ifacel(1,.) to ifacel(2,.) More...
 
double precision, dimension(:,:), pointer surfbo
  surface vector of the boundary faces. Its norm is the surface of the face and it is oriented outwards More...
 
double precision, dimension(:,:), pointer suffac
  fluid surface vector of the internal faces. Its norm is the surface of the face and it is oriented from ifacel(1,.) to ifacel(2,.) More...
 
double precision, dimension(:,:), pointer suffbo
  fluid surface vector of the boundary faces. Its norm is the surface of the face and it is oriented outwards More...
 
integer, dimension(:), pointer isolid_0
 
double precision, dimension(:,:), pointer cdgfac
  coordinates of the centers of the internal faces More...
 
double precision, dimension(:,:), pointer cdgfbo
  coordinates of the centers of the boundary faces More...
 
double precision, dimension(:,:), pointer xyznod
  coordinates of the mesh vertices More...
 
double precision, dimension(:), pointer volume
  volume of each cell More...
 
double precision, dimension(:), pointer cell_f_vol
  fluid volume of each cell More...
 
double precision, dimension(:), pointer surfan
  norm of the surface vector of the internal faces More...
 
double precision, dimension(:), pointer surfbn
  norm of the surface of the boundary faces More...
 
double precision, dimension(:), pointer suffan
  norm of the fluid surface vector of the internal faces More...
 
double precision, dimension(:), pointer suffbn
  norm of the fluid surface of the boundary faces More...
 
double precision, dimension(:), pointer dist
  for every internal face, dot product of the vectors $ \vect{IJ}$ and $\vect{n}$. I and J are respectively the centers of the first and the second neighboring cell. The vector $\vect{n}$ is the unit vector normal to the face and oriented from the first to the second cell More...
 
double precision, dimension(:), pointer distb
  For every boundary face, dot product between the vectors $\vect{IF}$ and $\vect{n}$. I is the center of the neighboring cell. F is the face center. The vector $\vect{n}$ is the unit vector normal to the face and oriented to the exterior of the domain More...
 
double precision, dimension(:), pointer pond
  weighting (Aij=pond Ai+(1-pond)Aj) for every internal face, $\displaystyle\frac{\vect{FJ}.\vect{n}}{\vect{IJ}.\vect{n}}$. With regard to the mesh quality, its ideal value is 0.5 More...
 
double precision, dimension(:,:), pointer dijpf
  vector I'J' for interior faces for every internal face, the three components of the vector $\vect{I'J'}$, where I' and J' are respectively the orthogonal projections of the neighboring cell centers I and J on a straight line orthogonal to the face and passing through its center More...
 
double precision, dimension(:,:), pointer diipb
  vector II' for interior faces for every boundary face, the three components of the vector $\vect{II'}$. I' is the orthogonal projection of I, center of the neighboring cell, on the straight line perpendicular to the face and passing through its center More...
 
double precision, dimension(:,:), pointer dofij
  vector OF for interior faces for every internal face, the three components of the vector $\vect{OF}$. O is the intersection point between the face and the straight line joining the centers of the two neighboring cells. F is the face center More...
 

Detailed Description

Module for mesh-related arrays.