[GiDlist] inaccurate postprocessing with given Gauss points
Posted: Mon Jun 30, 2003 12:45 am
When postprocessing scalar results with "given" gauss points
I found out that the visualization becomes quite inaccurate.
For example Contour_fill and Contour_lines options, dont' work properly.
It seems that the defined coordinates of the gauss points should not have
more than 5 decimal figures,
otherwise the given coordinates in the .res file are not read properly
by GID.
To see what is going on, you can try the following example in which
a scalar field
u(x,y) = x
is visualized in a single unitary triangular element with 6 gauss points
located at the following coordinates :
a = 1/6, b = 2/3, c = 5/12, d = 1/6
( a, a) ( b, a) ( a, b) ( c, d) ( c, c) ( d, c)
( see the attached .res file in which I used different precisions to
represent the fractional
numbers 1/6, 2/3 and 5/12 , and see what happens when contour_lines
or contour_fill options are selected )
The main problem is that if I want to increase the precision of the
given coordinates,
beyond 5 figures the result is completely unpredictable,
and if I keep 5 or less figures, the visualization does not reflect the
real scalar field.
Is there any solution ?
Has anyone faced this problem before ?
Thanks for your help.
best regards,
Andres
--
Andres B. Peratta
Wessex Institute of Technology
Email: andres at wessex.ac.uk
Tel: +44 (0)238 029 3223
Fax: +44 (0)238 029 2853
Ashurst Lodge
Ashurst
Southampton (SO40-7AA)
UK
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testgp.flavia.res
Url: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030630/33570632/attachment.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testgp.geo
Type: application/octet-stream
Size: 763 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030630/33570632/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testgp.msh
Type: model/mesh
Size: 240 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030630/33570632/attachment.msh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testgp.flavia.msh
Type: model/mesh
Size: 284 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030630/33570632/attachment-0001.msh
I found out that the visualization becomes quite inaccurate.
For example Contour_fill and Contour_lines options, dont' work properly.
It seems that the defined coordinates of the gauss points should not have
more than 5 decimal figures,
otherwise the given coordinates in the .res file are not read properly
by GID.
To see what is going on, you can try the following example in which
a scalar field
u(x,y) = x
is visualized in a single unitary triangular element with 6 gauss points
located at the following coordinates :
a = 1/6, b = 2/3, c = 5/12, d = 1/6
( a, a) ( b, a) ( a, b) ( c, d) ( c, c) ( d, c)
( see the attached .res file in which I used different precisions to
represent the fractional
numbers 1/6, 2/3 and 5/12 , and see what happens when contour_lines
or contour_fill options are selected )
The main problem is that if I want to increase the precision of the
given coordinates,
beyond 5 figures the result is completely unpredictable,
and if I keep 5 or less figures, the visualization does not reflect the
real scalar field.
Is there any solution ?
Has anyone faced this problem before ?
Thanks for your help.
best regards,
Andres
--
Andres B. Peratta
Wessex Institute of Technology
Email: andres at wessex.ac.uk
Tel: +44 (0)238 029 3223
Fax: +44 (0)238 029 2853
Ashurst Lodge
Ashurst
Southampton (SO40-7AA)
UK
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testgp.flavia.res
Url: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030630/33570632/attachment.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testgp.geo
Type: application/octet-stream
Size: 763 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030630/33570632/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testgp.msh
Type: model/mesh
Size: 240 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030630/33570632/attachment.msh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testgp.flavia.msh
Type: model/mesh
Size: 284 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030630/33570632/attachment-0001.msh