[GiDlist] GID question

Moderator: GiD Team

Michal Petas

[GiDlist] GID question

Postby Michal Petas » Tue Nov 13, 2012 4:52 pm

Hi,



How to get values in *.bas file from this kind of field:

QUESTION: field_name:(...,optional_value_i,...)

VALUE: #N# number_of_values ... value_number ... ?



Can you send me example ?



I created this control in material module as:



QUESTION: Discrete_points(Espilon,Sigma)

VALUE: #N# 2 0.0 000



I tried get value from 1th column like below:



*MatProp(Discrete_points) - this work, but it return number of matrix
elements (not all matrix)



*MatProp(Discrete_points(0)) or *MatProp(Discrete_points(Espilon)) not
work.



Regards

Michał Petaś

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20121113/10a10e6b/attachment.htm
User avatar
escolano
Posts: 1566
Joined: Thu Sep 18, 2014 3:31 pm

[GiDlist] GID question

Postby escolano » Tue Nov 13, 2012 8:15 pm

You can write the values by rows for example with this code (with the index after a comma):

*for(i=1;i=N;i=i+2)
*Matprop(Discrete_points,*i) *Matprop(Discrete_points,*operation(i+1))
*end for

We added more information and an example to the 'customization manual' for next beta versions.

Enrique Escolano
----- Original Message -----
From: Michal Petas
To: gidlist at listas.cimne.upc.edu
Sent: Tuesday, November 13, 2012 4:52 PM
Subject: [GiDlist] GID question


Hi,



How to get values in *.bas file from this kind of field:

QUESTION: field_name:(...,optional_value_i,...)

VALUE: #N# number_of_values ... value_number ... ?



Can you send me example ?



I created this control in material module as:



QUESTION: Discrete_points(Espilon,Sigma)

VALUE: #N# 2 0.0 000



I tried get value from 1th column like below:



*MatProp(Discrete_points) - this work, but it return number of matrix elements (not all matrix)



*MatProp(Discrete_points(0)) or *MatProp(Discrete_points(Espilon)) not work.



Regards

Michał Petaś



------------------------------------------------------------------------------


_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20121113/3a383d9a/attachment.htm
Michal Petas

[GiDlist] GID question

Postby Michal Petas » Wed Nov 14, 2012 9:49 am

Thank you very much.



Michał Petaś



From: gidlist-bounces at listas.cimne.upc.edu
[mailto:gidlist-bounces at listas.cimne.upc.edu] On Behalf Of Enrique Escolano
Sent: Tuesday, November 13, 2012 8:16 PM
To: gidlist at listas.cimne.upc.edu
Subject: Re: [GiDlist] GID question



You can write the values by rows for example with this code (with the index
after a comma):



*for(i=1;i=N;i=i+2)
*Matprop(Discrete_points,*i) *Matprop(Discrete_points,*operation(i+1))

*end for



We added more information and an example to the 'customization manual' for
next beta versions.



Enrique Escolano

----- Original Message -----

From: Michal Petas mailto:mpetas at ippt.gov.pl

To: gidlist at listas.cimne.upc.edu

Sent: Tuesday, November 13, 2012 4:52 PM

Subject: [GiDlist] GID question



Hi,



How to get values in *.bas file from this kind of field:

QUESTION: field_name:(...,optional_value_i,...)

VALUE: #N# number_of_values ... value_number ... ?



Can you send me example ?



I created this control in material module as:



QUESTION: Discrete_points(Espilon,Sigma)

VALUE: #N# 2 0.0 000



I tried get value from 1th column like below:



*MatProp(Discrete_points) - this work, but it return number of matrix
elements (not all matrix)



*MatProp(Discrete_points(0)) or *MatProp(Discrete_points(Espilon)) not
work.



Regards

Michał Petaś


_____


_______________________________________________
GiDlist mailing list
mailto:GiDlist at listas.cimne.upc.edu GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20121114/5ca5ef5e/attachment-0001.htm
rachel gelet

[GiDlist] format question to plot data (post-process)

Postby rachel gelet » Mon Nov 26, 2012 6:58 am

Dear Gid-users,

I am new to GID, so I apologies if this question is not an appropriate one.

I am interested to use GID as a post-processor to plot figures and videos.
So far I am using a Tecplot ASCII file that I import using
"Files-import-TECPLOT ASCII file", after having hit the toggle between
pre and post-process.
A small example of the kind of file I use is attached.

Context:
I use to plot figures and videos with Matlab.
Because this process was very much time consuming (especially for videos
and large number of particles) I am keen to switch to GID.
Now I fear that the problem may come from the format of the file I am using
(ASCII) rather than the software.

Question:
Is there any format (VTK + binary?) that I can use to print my data that
will ensure me the best post-process performanace in GID?

Thank you for your time in answering my question.

Cheers,

Rachel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20121126/3a50518f/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cg30_coarse1.plt
Type: application/octet-stream
Size: 2591604 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20121126/3a50518f/attachment-0001.obj
User avatar
escolano
Posts: 1566
Joined: Thu Sep 18, 2014 3:31 pm

[GiDlist] format question to plot data (post-process)

Postby escolano » Mon Nov 26, 2012 4:00 pm

Hi Rachel,

What is the problem using TECPLOT ASCII files with GiD? Probably will be much faster than using Matlab not?
It is possible to import also VTK result files,as you pointed (Files-Import-Vtk...) (In postprocess of GiD, not in preprocess Files-Import-Vtk voxels!!)
but I am not sure if it will be faster than using TECPLOT ASCII format.

You can also directly write our 'GiD postprocess' format, using our 'gidpost library', linked in your C/C++ or FORTRAN program (http://www.gidhome.com/gid-plus/tools/gidpost)
these files will be smaller written in compressed binary format, and faster to be read (and GiD results cache could be activated to read huge result files without store the whole file in memory)

Note: set this settings, if possible, for the best graphical GiD performance:
Utilities-Preferences... - Graphical
"Fast visualization mode"
Unset "Selection lines by software"
and set drawing method to "Vertex buffer objects"
Set also "use textures for contour fills"

Enrique Escolano

----- Original Message -----
From: rachel gelet
To: gidlist at listas.cimne.upc.edu
Sent: Monday, November 26, 2012 6:58 AM
Subject: [GiDlist] format question to plot data (post-process)


Dear Gid-users,

I am new to GID, so I apologies if this question is not an appropriate one.

I am interested to use GID as a post-processor to plot figures and videos.
So far I am using a Tecplot ASCII file that I import using "Files-import-TECPLOT ASCII file", after having hit the toggle between pre and post-process.
A small example of the kind of file I use is attached.

Context:
I use to plot figures and videos with Matlab.
Because this process was very much time consuming (especially for videos and large number of particles) I am keen to switch to GID.
Now I fear that the problem may come from the format of the file I am using (ASCII) rather than the software.

Question:
Is there any format (VTK + binary?) that I can use to print my data that will ensure me the best post-process performanace in GID?

Thank you for your time in answering my question.

Cheers,

Rachel.




------------------------------------------------------------------------------


_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20121126/103b7918/attachment.htm
Nunzio Losacco

[GiDlist] non-standard number of gauss points

Postby Nunzio Losacco » Mon Dec 03, 2012 3:07 pm

Hi all,

the software I'm working with uses 6 noded triangular elements with an odd
number of integration points (i.e. either 4 or 6). GiD seems not to be able
to take this into account; is there a way to teach GiD to consider that
number of gauss points with their position?

Regards,

N.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20121203/fc5d9071/attachment.htm
Eric TONICELLO

[GiDlist] automated response

Postby Eric TONICELLO » Mon Dec 03, 2012 3:11 pm

Bonjour,

Je suis en déplacement, retour le lundi 3 décembre. Vos emails seront lus dans la mesure du possible.

En cas d'urgence, adressez votre message ici : info at mp-ingenieurs.ch

Eric Tonicello

=======================

Hi !

I'm out of office and I'll be back on Monday December 3rd.

Emails will possibly be read during this period.

In case of urgent matter, please send your message here : info at mp-ingenieurs.ch

Eric Tonicello
User avatar
escolano
Posts: 1566
Joined: Thu Sep 18, 2014 3:31 pm

[GiDlist] non-standard number of gauss points

Postby escolano » Mon Dec 03, 2012 3:32 pm

6-nodes quadratic triangles are useful in GiD, and for this element our default number of gauss point is also 6 (then we can extrapolate results from gauss points to nodes using the element shape funcions, solving a 6x6 linear equation system)

For other number of gauss points, e.g. 4 we can't extrapolate results to nodes, and some features become unavailable, and we represent the results as spheres located on the described gauss points location.


See GiD help on GiD Customization-POSTPROCESS DATA FILES-Postprocess results format: ProjectName.post.res-Gauss Points
to know how are defined our 'internal' gauss points. If your solver uses a different location, you must describe it in the definition of gauss points of your results file.

Although your solver uses other gauss points, for results visualization pourposes you can write the results file using our internal definition, or also using a different number of gauss points, or better avoiding gauss points results and writting the resuls as nodal ones (averaging the nodal result to have a continuous field)


Enrique Escolano


----- Original Message -----
From: Nunzio Losacco
To: gidlist at listas.cimne.upc.edu
Sent: Monday, December 03, 2012 3:07 PM
Subject: [GiDlist] non-standard number of gauss points


Hi all,

the software I'm working with uses 6 noded triangular elements with an odd number of integration points (i.e. either 4 or 6). GiD seems not to be able to take this into account; is there a way to teach GiD to consider that number of gauss points with their position?

Regards,

N.



------------------------------------------------------------------------------


_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20121203/d9936429/attachment.htm
Nunzio Losacco

[GiDlist] non-standard number of gauss points

Postby Nunzio Losacco » Thu Dec 06, 2012 1:01 pm

Hi Enrique,

thanks for your reply.
I'm not sure I understood well. If I have results at, say, 7 or 4 gauss
points, will I be able, following directions of the Customization manual,
to visualize results as continuous fields over elements (or over the whole
domain using the "smooth" results option)?

Thanks again,

N.
Il giorno 03/dic/2012 15:34, "Enrique Escolano" escolano at cimne.upc.edu ha
scritto:

**
6-nodes quadratic triangles are useful in GiD, and for this element our
default number of gauss point is also 6 (then we can extrapolate
results from gauss points to nodes using the element shape funcions,
solving a 6x6 linear equation system)
For other number of gauss points, e.g. 4 we can't extrapolate results to
nodes, and some features become unavailable, and we represent the results
as spheres located on the described gauss points location.


See GiD help on GiD Customization-POSTPROCESS DATA FILES-Postprocess
results format: ProjectName.post.res-Gauss Points
to know how are defined our 'internal' gauss points. If your solver uses a
different location, you must describe it in the definition of gauss points
of your results file.

Although your solver uses other gauss points, for results visualization
pourposes you can write the results file using our internal definition, or
also using a different number of gauss points, or better avoiding gauss
points results and writting the resuls as nodal ones (averaging the nodal
result to have a continuous field)


Enrique Escolano


----- Original Message -----

*From:* Nunzio Losacco nunzio.losacco at gmail.com
*To:* gidlist at listas.cimne.upc.edu
*Sent:* Monday, December 03, 2012 3:07 PM
*Subject:* [GiDlist] non-standard number of gauss points

Hi all,

the software I'm working with uses 6 noded triangular elements with an odd
number of integration points (i.e. either 4 or 6). GiD seems not to be able
to take this into account; is there a way to teach GiD to consider that
number of gauss points with their position?

Regards,

N.

------------------------------

_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist


_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20121206/db14db4d/attachment.htm
User avatar
escolano
Posts: 1566
Joined: Thu Sep 18, 2014 3:31 pm

[GiDlist] non-standard number of gauss points

Postby escolano » Fri Dec 07, 2012 12:01 pm

No, with 7 or 4 gauss points on a guadratic (6 nodes) triangle, you will see the result as 'coloured spheres' on your gauss point locations,
and some options, like smooth contour fill won't be available, because there is not implemented the extrapolation from results on your gauss points to the element nodes.
We usually use the 'shape functions' of the element to do this extrapolation to nodes: this require the same amount of nodes that gauss points (to have the same number of equations that unknowns).
Also the trivial case of 1 gauss point is implemented, then the constant result is extrapolated to nodes without need to solve any linear system equations.
We have not implemented a more general extrapolation mode, for a generic amount of gauss points in arbitrary locations.

But as I've explained, you can do you own extrapolation from your calculated gauss points, to our 'internal' gauss points (6 gauss points for the quatratic triangle), or better write as a 'nodal result' instead of a elemental gauss-point result, averaging as you want the results on nodes belonging to several triangles.

Enrique
----- Original Message -----
From: Nunzio Losacco
To: gidlist at listas.cimne.upc.edu
Sent: Thursday, December 06, 2012 1:01 PM
Subject: Re: [GiDlist] non-standard number of gauss points


Hi Enrique,

thanks for your reply.
I'm not sure I understood well. If I have results at, say, 7 or 4 gauss points, will I be able, following directions of the Customization manual, to visualize results as continuous fields over elements (or over the whole domain using the "smooth" results option)?

Thanks again,

N.

Il giorno 03/dic/2012 15:34, "Enrique Escolano" escolano at cimne.upc.edu ha scritto:

6-nodes quadratic triangles are useful in GiD, and for this element our default number of gauss point is also 6 (then we can extrapolate results from gauss points to nodes using the element shape funcions, solving a 6x6 linear equation system)

For other number of gauss points, e.g. 4 we can't extrapolate results to nodes, and some features become unavailable, and we represent the results as spheres located on the described gauss points location.


See GiD help on GiD Customization-POSTPROCESS DATA FILES-Postprocess results format: ProjectName.post.res-Gauss Points
to know how are defined our 'internal' gauss points. If your solver uses a different location, you must describe it in the definition of gauss points of your results file.

Although your solver uses other gauss points, for results visualization pourposes you can write the results file using our internal definition, or also using a different number of gauss points, or better avoiding gauss points results and writting the resuls as nodal ones (averaging the nodal result to have a continuous field)


Enrique Escolano


----- Original Message -----
From: Nunzio Losacco
To: gidlist at listas.cimne.upc.edu
Sent: Monday, December 03, 2012 3:07 PM
Subject: [GiDlist] non-standard number of gauss points


Hi all,

the software I'm working with uses 6 noded triangular elements with an odd number of integration points (i.e. either 4 or 6). GiD seems not to be able to take this into account; is there a way to teach GiD to consider that number of gauss points with their position?

Regards,

N.



--------------------------------------------------------------------------


_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist



_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist




------------------------------------------------------------------------------


_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20121207/2c7e31ab/attachment.htm

Return to “2013 - 2005”

Who is online

Users browsing this forum: No registered users and 3 guests