GiD - The personal pre and post processor

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

int GiD_fBeginGaussPoint(GiD_FILE fd, const char * name, GiD_ElementType EType,
const char * MeshName, int GP_number, int NodesIncluded, int InternalCoord);
Description: Begin Gauss Points definition. The gauss point definition
should have a name wich may be referenced in futher results blocks. The gauss
points could be internal (InternalCoord=1) or given (InternalCoord=0). If the
gauss points are given then the list of its natural coordinates should be
written using the function GiD_fWriteGaussPoint2D or GiD_fWriteGaussPoint3D
depending on the dimension of the element type.
Parameters:
GiD_FILE fd the file descriptor
char* name
Name to reference this gauss points definition
GiD_ElementType EType
GiD_Point=1 for a 1 noded-element
GiD_Linear=2 for a line element
GiD_Triangle=3 for a triangle element
GiD_Quadrilateral=4 for a quadrilateral element
GiD_Tetrahedra=5 for a tetrahedral element
GiD_Hexahedra=6 for a hexahedral element
GiD_Prism=7 for a prism element
GiD_Pyramid=8 for a pyramid element
GiD_Sphere=9 for sphere element
GiD_Circle=10 for circle element
char* MeshName
An optional field. If this field is missing, the gauss points are defined
for all the elements of type my_type. If a mesh name is given, the gauss
points are only defined for this mesh.
int GP_number
number of gauss points per element. The GiD internal accepted number
should be:
1, 3, 6 for Triangles;
1, 4, 9 for quadrilaterals;
1, 4 for Tetrahedras;
1, 8, 27 for hexahedras;
1 or 6 for prism;
1 or 5 for pyramid and
1, ... n points equally spaced over lines.
int NodesIncluded
Can be 0 for nodes not included or 1 for included. Only used for gauss
points on Linear elements which indicate whether the end nodes of the
Linear element are included in the number of gauss points per element
count or not.
int InternalCoord
Can be 0 for given coordinates or 1 for internal GiD gauss
points location.
Example:
C/C++
GiD_fBeginGaussPoint(fd,"GPtria",GiD_Triangle,NULL,1,0,1);
FORTRAN
CHARACTER*4 NULL
NULL = CHAR(0)//CHAR(0)//CHAR(0)//CHAR(0)
CALL GID_FBEGINGAUSSPOINT(fd,'GPtria',3,NULL,1,0,1);

  • No labels