GaussPoint

Moderator: GiD Team

Post Reply
MdR
Posts: 16
Joined: Fri Jan 22, 2016 5:06 pm

GaussPoint

Post by MdR »

Hi, I am new with GiD. I am trying to import GaussPoint results into my post-process.
I read the information about how to include GP into the res file but I have some issues.
I defined like this :
GiD Post Results File 1.0
GaussPoints "Gauss_Soil" Elemtype Quadrilateral
Number of Gauss Points: 4
Natural Coordinates: internal
End GaussPoints

Result "Stress" "Stress Soil" 1 Matrix OnGaussPoints "Gauss_Soil"
Values

First Question, is the use of "Matrix" appropriate here? I have, for each element, 4 GP with three data on each (XX, YY, XY).

Second Question, what format should I use, if say, I do have 4 analyses?
Something like this? (*The ---- are meant to simulate white space... but when I send the message on the forum the format doesn't stick and all collapse so I added the --- ).
Element GaussPoint XX_Analyses_1 YY_Analyses_1 XY_Analyses_1 XX_Analyses_2 .. etc XY_Analyses_4
1-------------1 --------Values------------Values ........... etc.
--------------2--------values-----------Values ...... etc.
--------------3---------Values--........
--------------4---------Values ..........
2-------------1---------etc.
--------------2
... etc.

If not, how I am suppose to format the data ? Thanks for your precious help! :D
User avatar
escolano
Posts: 1918
Joined: Sun Sep 05, 1982 10:51 pm

Re: GaussPoint

Post by escolano »

You can avoid to define this block for standard gauss points (like quadrilateral of 4 internal gauss points)

Code: Select all

GaussPoints "Gauss_Soil" Elemtype Quadrilateral
Number of Gauss Points: 4
Natural Coordinates: internal
End GaussPoints
and simply use the keyword GP_QUADRILATERAL_4

Result "Stress" "Stress Soil" 1 Matrix OnGaussPoints GP_QUADRILATERAL_4

The type of result 'Matrix' is appropiated assuming that your mesh is 2D, then only XX, YY, XY of the 2x2 symmetric matrix are required, with this syntax:

Code: Select all

GiD Post Results File 1.0
Result "Stress" "Stress Soil" 1 Matrix OnGaussPoints GP_QUADRILATERAL_4
Values
element_id xx_g1 yy_g1 xy_g1
                 xx_g2 yy_g2 xy_g2
                 ...
                 xx_g4 yy_g4 xy_g4
...
element_id xx_g1 yy_g1 xy_g1
                 xx_g2 yy_g2 xy_g2
                 ...
                 xx_g4 yy_g4 xy_g4
End values
If to you have four analyis you could repeat the block, using another time step
Result "Stress" "Stress Soil" 2 Matrix OnGaussPoints GP_QUADRILATERAL_4
...
Result "Stress" "Stress Soil" 4 Matrix OnGaussPoints GP_QUADRILATERAL_4
or using another analisis name ("Stress Soil") for each analysis.
User avatar
escolano
Posts: 1918
Joined: Sun Sep 05, 1982 10:51 pm

Re: GaussPoint

Post by escolano »

the extra spaces between items doesn't matter in ASCII format.

It exists a binary format, in order to write it we provide the 'GiDPost library' that allow write both formats (ASCII or compressed binary)
http://www.gidhome.com/gid-plus/tools/476/gidpost
The binary format is interesting for big data files (is smaller and faster to be read that using ASCII)
Post Reply