[GiDlist] Postprocessing data

Moderator: GiD Team

Post Reply
Smith, Mark

[GiDlist] Postprocessing data

Post by Smith, Mark »

Hi Miguel
Thanks for the reply.
Tcl/Tk is obviously a good powerful language, it's me that's the problem, I'm getting old & it's like nothing else I've used ;-( I find Lua much easier.
I must check out the latest version as I'm still using 7.7.7b.
Regards
mark

-----Original Message-----
From: gidlist-admin at gatxan.cimne.upc.edu [mailto:gidlist-admin at gatxan.cimne.upc.edu] On Behalf Of Miguel Pasenau
Sent: 12 December 2006 15:32
To: gidlist at gatxan.cimne.upc.edu
Subject: RE: [GiDlist] Postprocessing data

Hello,
In the last 8.0.2 version of GiD there is a window which can be popped up with 'Windows-Create result..." which lets you operate between results with the basic operators: +, -, * and /.

As Ramón said, there will be a new and more powerful window.

If you look into the file
'%GiDInstallDirectory%/scripts/PostCreateResult.tcl' you'll find the three functions which let's you retrieve, delete and create results inside GiD:
GiD_Result get ...
GiD_Result delete ...
GiD_Result create ...
(Look for these names at http://www.gidhome.com/support/gid_18.subst#SEC303)

With these functions you can get your results, call your program written in the language you want, and send them back to GiD.

Well, about TclTk, it depends on the purpose of the language it was designed for.
It's true that TclTk is not so data-oriented, or if you like, object-oriented as Python, string-oriented like Perl, or web oriented like PHP, but it's its own powerful tools. Try managing lists or hash tables in one of those languages; lets say create a graphic user interface for your program.

So the choosing of one scripting language versus another depends of what you're looking for. We were looking for a scripting language which lets us manage information and the graphic interface very easily, and that's TclTk.
Every language has its own fancy whims which everyone should put up with.

Best regards

Miguel

-----Mensaje original-----
De: gidlist-admin at gatxan.cimne.upc.edu
[mailto:gidlist-admin at gatxan.cimne.upc.edu] En nombre de Smith, Mark Enviado el: martes, 12 de diciembre de 2006 11:04
Para: gidlist at gatxan.cimne.upc.edu
Asunto: [GiDlist] Postprocessing data

Hi Gid Team

Is it possible to extend the post-processing capability by allowing existing data to be plotted in different ways. For example if I had 3 scalar quantities on nodes say displacements x,y & z it would be nice to be able to plot the magnitude of the displacement on a displaced mesh.
In fact it would be useful to post process results by applying any mathematical process on the existing results to form a new output. At the moment you seem to have to write a new results file capability in the solver?
A script language would be useful & not Tcl/Tk which I find to be the most unintuitive language invented!

Regards
mark

This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately.
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist

_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist

This message (including any attachments) contains confidential
and/or proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on
the contents of this information is strictly prohibited and may
constitute a violation of law. If you are not the intended
recipient, please notify the sender immediately by responding to
this e-mail, and delete the message from your system. If you
have any questions about this e-mail please notify the sender
immediately.
Andreas Hauck

[GiDlist] Contour lines of element results / 1D results on 2

Post by Andreas Hauck »

Hi,

In my GiD-post file I have 2D quadrilaterals and 1D line elements, both
1st order. On the 2D elements there is defined a nodal result
(elecPotential), as well as an element result (elecFieldIntensity),
which is just computed for the central point of each element. I use GiD
8.0.1 on a Linux machine.

When I now try to use contour lines, I can only visualize the nodal
field, whereas the element results gives no lines at all. Is this
intended or is there something wrong with my definition of the Gauss
points? The file was created using the gidpost library 1.7 (see attachment).

Additionally I have results defined on 1D line elements within this
grid. These results I can only visualize with a normal contour fill,
because smooth contour fill gives only 0's. Is this a correct behavior
or is there a possibility to smooth contour fill also the values of 1D
results onto a 2D grid?

The files of concern are attached in .tar.gz format.

Thanks for your help.

Regards,

Andreas

--

_/ _/_/ _/_/_/ Friedrich Alexander Universitaet Erlangen
_/ _/ _/ _/ Lehrstuhl fuer Sensorik
_/ _/ _/ Paul-Gordan-Str. 3-5, D-91052 Erlangen
_/ _/_/ _/_/_/
_/ _/ _/ Friedrich Alexander University Erlangen
_/ _/ _/ _/ Department of Sensor Technology
_/_/_/ _/_/ _/_/_/ Paul-Gordan-Str. 3-5, D-91052 Erlangen

M.Sc. Andreas Hauck

email.: andreas.hauck at lse.eei.uni-erlangen.de
url. : http://www.lse.uni-erlangen.de
tel. : (+49)-9131-85-23147
fax. : (+49)-9131-85-23133

-------------- next part --------------
A non-text attachment was scrubbed...
Name: chargeaxi.tar.gz
Type: application/x-gzip
Size: 4200 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20061213/604efe41/attachment.bin
User avatar
miguel
Posts: 361
Joined: Thu Sep 25, 2014 9:04 am

[GiDlist] Contour lines of element results / 1D results on 2

Post by miguel »

Hi,
i'll check it.
In the meantime ¿have you tried the
ftp://www.gidhome.com/pub/gid/Linux/gid8.0.2-dyn-kernel2.6.tar.gz or
ftp://www.gidhome.com/pub/gid/Linux/gid8.0.2-dyn-kernel2.2.tar.gz version?

Regards

Miguel

-----Mensaje original-----
De: gidlist-admin at gatxan.cimne.upc.edu
[mailto:gidlist-admin at gatxan.cimne.upc.edu] En nombre de Andreas Hauck
Enviado el: miércoles, 13 de diciembre de 2006 10:02
Para: gidlist at gatxan.cimne.upc.edu
Asunto: [GiDlist] Contour lines of element results / 1D results on 2D mesh

Hi,

In my GiD-post file I have 2D quadrilaterals and 1D line elements, both
1st order. On the 2D elements there is defined a nodal result
(elecPotential), as well as an element result (elecFieldIntensity),
which is just computed for the central point of each element. I use GiD
8.0.1 on a Linux machine.

When I now try to use contour lines, I can only visualize the nodal
field, whereas the element results gives no lines at all. Is this
intended or is there something wrong with my definition of the Gauss
points? The file was created using the gidpost library 1.7 (see attachment).

Additionally I have results defined on 1D line elements within this
grid. These results I can only visualize with a normal contour fill,
because smooth contour fill gives only 0's. Is this a correct behavior
or is there a possibility to smooth contour fill also the values of 1D
results onto a 2D grid?

The files of concern are attached in .tar.gz format.

Thanks for your help.

Regards,

Andreas

--

_/ _/_/ _/_/_/ Friedrich Alexander Universitaet Erlangen
_/ _/ _/ _/ Lehrstuhl fuer Sensorik
_/ _/ _/ Paul-Gordan-Str. 3-5, D-91052 Erlangen
_/ _/_/ _/_/_/
_/ _/ _/ Friedrich Alexander University Erlangen
_/ _/ _/ _/ Department of Sensor Technology
_/_/_/ _/_/ _/_/_/ Paul-Gordan-Str. 3-5, D-91052 Erlangen

M.Sc. Andreas Hauck

email.: andreas.hauck at lse.eei.uni-erlangen.de
url. : http://www.lse.uni-erlangen.de
tel. : (+49)-9131-85-23147
fax. : (+49)-9131-85-23133
Jose Munoz

[GiDlist] Quadratic contunuum elements

Post by Jose Munoz »

Dear GID team,

I have cehcked that the new version of GID plots quadratic line elements
very nicely, showing curved elements when they are indeed curved.
However, if I am right, it is not so for quadratic quadrilaters or
triangles. Do you have any plans to plot quadratic body elements in
future versions?

Many thanks,

Jose Munoz
User avatar
escolano
Posts: 1922
Joined: Sun Sep 05, 1982 10:51 pm

[GiDlist] Quadratic contunuum elements

Post by escolano »

If you set the "quadratic visualization" mode, then as you said, lines are showed curved, and also edges of
triangles/quadrilaterals, and the interior each triangle/quadrilateral is showed with four lineal subtriangles/subquadrilaterals.
We don't planned to show this interior "body" more accurately, because it will be too expensive to draw (usually there is a lot of
elements), but maybe we can think to add some user variable to set this element visualization accuracy.

Enrique Escolano
----- Original Message -----
From: "Jose Munoz" j.munoz at upc.edu
To: gidlist at gatxan.cimne.upc.edu
Sent: Wednesday, December 13, 2006 1:58 PM
Subject: [GiDlist] Quadratic contunuum elements


Dear GID team,

I have cehcked that the new version of GID plots quadratic line elements
very nicely, showing curved elements when they are indeed curved.
However, if I am right, it is not so for quadratic quadrilaters or
triangles. Do you have any plans to plot quadratic body elements in
future versions?

Many thanks,

Jose Munoz

_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
Andreas Hauck

[GiDlist] Contour lines of element results / 1D results on 2

Post by Andreas Hauck »

Hi,

I have tried the 8.0.2. version, but the problem is the same. If you
could please check, what's the problem with the element data and contour
lines?

Regards,
Andreas

Miguel Pasenau wrote:
Hi,
i'll check it.
In the meantime ¿have you tried the
ftp://www.gidhome.com/pub/gid/Linux/gid8.0.2-dyn-kernel2.6.tar.gz or
ftp://www.gidhome.com/pub/gid/Linux/gid8.0.2-dyn-kernel2.2.tar.gz version?

Regards

Miguel

-----Mensaje original-----
De: gidlist-admin at gatxan.cimne.upc.edu
[mailto:gidlist-admin at gatxan.cimne.upc.edu] En nombre de Andreas Hauck
Enviado el: miércoles, 13 de diciembre de 2006 10:02
Para: gidlist at gatxan.cimne.upc.edu
Asunto: [GiDlist] Contour lines of element results / 1D results on 2D mesh

Hi,

In my GiD-post file I have 2D quadrilaterals and 1D line elements, both
1st order. On the 2D elements there is defined a nodal result
(elecPotential), as well as an element result (elecFieldIntensity),
which is just computed for the central point of each element. I use GiD
8.0.1 on a Linux machine.

When I now try to use contour lines, I can only visualize the nodal
field, whereas the element results gives no lines at all. Is this
intended or is there something wrong with my definition of the Gauss
points? The file was created using the gidpost library 1.7 (see attachment).

Additionally I have results defined on 1D line elements within this
grid. These results I can only visualize with a normal contour fill,
because smooth contour fill gives only 0's. Is this a correct behavior
or is there a possibility to smooth contour fill also the values of 1D
results onto a 2D grid?

The files of concern are attached in .tar.gz format.

Thanks for your help.

Regards,

Andreas




--

_/ _/_/ _/_/_/ Friedrich Alexander Universitaet Erlangen
_/ _/ _/ _/ Lehrstuhl fuer Sensorik
_/ _/ _/ Paul-Gordan-Str. 3-5, D-91052 Erlangen
_/ _/_/ _/_/_/
_/ _/ _/ Friedrich Alexander University Erlangen
_/ _/ _/ _/ Department of Sensor Technology
_/_/_/ _/_/ _/_/_/ Paul-Gordan-Str. 3-5, D-91052 Erlangen

M.Sc. Andreas Hauck

email.: andreas.hauck at lse.eei.uni-erlangen.de
url. : http://www.lse.uni-erlangen.de
tel. : (+49)-9131-85-23147
fax. : (+49)-9131-85-23133
Post Reply