[GiDlist] combination of quadratic elements and normal eleme
Moderator: GiD Team
[GiDlist] combination of quadratic elements and normal eleme
Hi all,
I have a question concerning the mesh process. In my geometry I've got volumes and lines. I want to mesh the volumes with quadratic elements and the line elements with normal (linear elements) because the line elements should represent spring elements. In my mesh now all the elements are meshed with quadratic elements. Is it possible to mesh only the volumes with quadratic elements and the lines with linear elements?
Best regards
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140212/8658dbad/attachment.htm
I have a question concerning the mesh process. In my geometry I've got volumes and lines. I want to mesh the volumes with quadratic elements and the line elements with normal (linear elements) because the line elements should represent spring elements. In my mesh now all the elements are meshed with quadratic elements. Is it possible to mesh only the volumes with quadratic elements and the lines with linear elements?
Best regards
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140212/8658dbad/attachment.htm
[GiDlist] combination of quadratic elements and normal eleme
Dear Jeff,
It is not possible to do so with GiD: the quadratic property is applied to
the whole mesh (with all the kinds of elements generated.
Kind regards,
ABEL
_________________________________
Abel Coll Sans - Civil Engineer
CIMNE - International Center for Numerical Methods in Engineering
Ofice c-2, C1 building - Campus Nord UPC
Gran Capità s/n, 08034 Barcelona
T: 34 - 93 401 74 03 Fax: 34 - 93 40 65 17
_____
De: gidlist-bounces at listas.cimne.upc.edu
[mailto:gidlist-bounces at listas.cimne.upc.edu] En nombre de Bronsert, Jeffrey
Enviado el: miércoles, 12 de febrero de 2014 15:42
Para: gidlist at listas.cimne.upc.edu
Asunto: [GiDlist] combination of quadratic elements and normal elements
Hi all,
I have a question concerning the mesh process. In my geometry I’ve got
volumes and lines. I want to mesh the volumes with quadratic elements and
the line elements with normal (linear elements) because the line elements
should represent spring elements. In my mesh now all the elements are meshed
with quadratic elements. Is it possible to mesh only the volumes with
quadratic elements and the lines with linear elements?
Best regards
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140212/92fe2e1c/attachment.htm
It is not possible to do so with GiD: the quadratic property is applied to
the whole mesh (with all the kinds of elements generated.
Kind regards,
ABEL
_________________________________
Abel Coll Sans - Civil Engineer
CIMNE - International Center for Numerical Methods in Engineering
Ofice c-2, C1 building - Campus Nord UPC
Gran Capità s/n, 08034 Barcelona
T: 34 - 93 401 74 03 Fax: 34 - 93 40 65 17
_____
De: gidlist-bounces at listas.cimne.upc.edu
[mailto:gidlist-bounces at listas.cimne.upc.edu] En nombre de Bronsert, Jeffrey
Enviado el: miércoles, 12 de febrero de 2014 15:42
Para: gidlist at listas.cimne.upc.edu
Asunto: [GiDlist] combination of quadratic elements and normal elements
Hi all,
I have a question concerning the mesh process. In my geometry I’ve got
volumes and lines. I want to mesh the volumes with quadratic elements and
the line elements with normal (linear elements) because the line elements
should represent spring elements. In my mesh now all the elements are meshed
with quadratic elements. Is it possible to mesh only the volumes with
quadratic elements and the lines with linear elements?
Best regards
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140212/92fe2e1c/attachment.htm
[GiDlist] combination of quadratic elements and normal eleme
Hi Jeff,
Now is not possible to generate part of a mesh quadratic and part linear,
because Quadratic is a global variable (not a local setting attached to each
entity)
You can do some other tricks, like write for your solver the quadratic line
elements like linear, ignoring the third node, or write it but ignore its
quadratic node for the calculation, etc.
Enrique Escolano
De: gidlist-bounces at listas.cimne.upc.edu
[mailto:gidlist-bounces at listas.cimne.upc.edu] En nombre de Bronsert, Jeffrey
Enviado el: miércoles, 12 de febrero de 2014 15:42
Para: gidlist at listas.cimne.upc.edu
Asunto: [GiDlist] combination of quadratic elements and normal elements
Hi all,
I have a question concerning the mesh process. In my geometry I’ve got
volumes and lines. I want to mesh the volumes with quadratic elements and
the line elements with normal (linear elements) because the line elements
should represent spring elements. In my mesh now all the elements are meshed
with quadratic elements. Is it possible to mesh only the volumes with
quadratic elements and the lines with linear elements?
Best regards
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140212/db0e1009/attachment.htm
Now is not possible to generate part of a mesh quadratic and part linear,
because Quadratic is a global variable (not a local setting attached to each
entity)
You can do some other tricks, like write for your solver the quadratic line
elements like linear, ignoring the third node, or write it but ignore its
quadratic node for the calculation, etc.
Enrique Escolano
De: gidlist-bounces at listas.cimne.upc.edu
[mailto:gidlist-bounces at listas.cimne.upc.edu] En nombre de Bronsert, Jeffrey
Enviado el: miércoles, 12 de febrero de 2014 15:42
Para: gidlist at listas.cimne.upc.edu
Asunto: [GiDlist] combination of quadratic elements and normal elements
Hi all,
I have a question concerning the mesh process. In my geometry I’ve got
volumes and lines. I want to mesh the volumes with quadratic elements and
the line elements with normal (linear elements) because the line elements
should represent spring elements. In my mesh now all the elements are meshed
with quadratic elements. Is it possible to mesh only the volumes with
quadratic elements and the lines with linear elements?
Best regards
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140212/db0e1009/attachment.htm
[GiDlist] combination of quadratic elements and normal eleme
Hi Enrique and Abel,
thanks for your quick reply
Kind regards
Jeff
Von: gidlist-bounces at listas.cimne.upc.edu [mailto:gidlist-bounces at listas.cimne.upc.edu] Im Auftrag von Enrique Escolano
Gesendet: Mittwoch, 12. Februar 2014 16:36
An: gidlist at listas.cimne.upc.edu
Betreff: Re: [GiDlist] combination of quadratic elements and normal elements
Hi Jeff,
Now is not possible to generate part of a mesh quadratic and part linear, because Quadratic is a global variable (not a local setting attached to each entity)
You can do some other tricks, like write for your solver the quadratic line elements like linear, ignoring the third node, or write it but ignore its quadratic node for the calculation, etc.
Enrique Escolano
De: gidlist-bounces at listas.cimne.upc.edumailto:gidlist-bounces at listas.cimne.upc.edu [mailto:gidlist-bounces at listas.cimne.upc.edu] En nombre de Bronsert, Jeffrey
Enviado el: miércoles, 12 de febrero de 2014 15:42
Para: gidlist at listas.cimne.upc.edumailto:gidlist at listas.cimne.upc.edu
Asunto: [GiDlist] combination of quadratic elements and normal elements
Hi all,
I have a question concerning the mesh process. In my geometry I've got volumes and lines. I want to mesh the volumes with quadratic elements and the line elements with normal (linear elements) because the line elements should represent spring elements. In my mesh now all the elements are meshed with quadratic elements. Is it possible to mesh only the volumes with quadratic elements and the lines with linear elements?
Best regards
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140213/fabbdbdf/attachment-0001.htm
thanks for your quick reply
Kind regards
Jeff
Von: gidlist-bounces at listas.cimne.upc.edu [mailto:gidlist-bounces at listas.cimne.upc.edu] Im Auftrag von Enrique Escolano
Gesendet: Mittwoch, 12. Februar 2014 16:36
An: gidlist at listas.cimne.upc.edu
Betreff: Re: [GiDlist] combination of quadratic elements and normal elements
Hi Jeff,
Now is not possible to generate part of a mesh quadratic and part linear, because Quadratic is a global variable (not a local setting attached to each entity)
You can do some other tricks, like write for your solver the quadratic line elements like linear, ignoring the third node, or write it but ignore its quadratic node for the calculation, etc.
Enrique Escolano
De: gidlist-bounces at listas.cimne.upc.edumailto:gidlist-bounces at listas.cimne.upc.edu [mailto:gidlist-bounces at listas.cimne.upc.edu] En nombre de Bronsert, Jeffrey
Enviado el: miércoles, 12 de febrero de 2014 15:42
Para: gidlist at listas.cimne.upc.edumailto:gidlist at listas.cimne.upc.edu
Asunto: [GiDlist] combination of quadratic elements and normal elements
Hi all,
I have a question concerning the mesh process. In my geometry I've got volumes and lines. I want to mesh the volumes with quadratic elements and the line elements with normal (linear elements) because the line elements should represent spring elements. In my mesh now all the elements are meshed with quadratic elements. Is it possible to mesh only the volumes with quadratic elements and the lines with linear elements?
Best regards
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140213/fabbdbdf/attachment-0001.htm
[GiDlist] Vectors and matrices
Hello.Is there a way to deal with vectors and matrices to store and print data when dealing with the .bas file?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140303/15818bde/attachment.htm
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140303/15818bde/attachment.htm
[GiDlist] Vectors and matrices
No, the .bas language doesn’t support any kind of array.
To do complicated thinks you can invoke from the .bas file a Tcl command
*tcl(procedure_name). The value returned by the procedure is directly
printed to the output file.
Tcl/Tk is a full and powerful scripting language with all you can need (also
arrays off course). You can find information about it in the GiD help, and
in Internet.
You can see the Tcl documentation for example from the RamDebugger Help
(Data-Problemtype-Debugger, or press F11 to open it)
This documentation (Html format) is locally stored at C:\Program
Files\GiD\GiD 11.1.8d\scripts\ramdebugger\help
Enrique Escolano
De: gidlist-bounces at listas.cimne.upc.edu
[mailto:gidlist-bounces at listas.cimne.upc.edu] En nombre de David R. José
Enviado el: lunes, 3 de marzo de 2014 23:18
Para: gidlist at listas.cimne.upc.edu
Asunto: [GiDlist] Vectors and matrices
Hello.
Is there a way to deal with vectors and matrices to store and print data
when dealing with the .bas file?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140304/e2989d61/attachment.htm
To do complicated thinks you can invoke from the .bas file a Tcl command
*tcl(procedure_name). The value returned by the procedure is directly
printed to the output file.
Tcl/Tk is a full and powerful scripting language with all you can need (also
arrays off course). You can find information about it in the GiD help, and
in Internet.
You can see the Tcl documentation for example from the RamDebugger Help
(Data-Problemtype-Debugger, or press F11 to open it)
This documentation (Html format) is locally stored at C:\Program
Files\GiD\GiD 11.1.8d\scripts\ramdebugger\help
Enrique Escolano
De: gidlist-bounces at listas.cimne.upc.edu
[mailto:gidlist-bounces at listas.cimne.upc.edu] En nombre de David R. José
Enviado el: lunes, 3 de marzo de 2014 23:18
Para: gidlist at listas.cimne.upc.edu
Asunto: [GiDlist] Vectors and matrices
Hello.
Is there a way to deal with vectors and matrices to store and print data
when dealing with the .bas file?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140304/e2989d61/attachment.htm
[GiDlist] Vectors and matrices
Dear Mr. Escolano, thanks for your reply.I'll look into tcl/tk programming.
In an unrelated issue: can an "if" statement be triggered by the existence of a condition?Say, for example, I loop around the nodes and if a node has a condition, then the "if" is triggered.Something like:*loop nodes*if ( "condition of node constraint exists on that node" )....*end nodes
Thanks in advance.
From: gidlist-request at listas.cimne.upc.edu
Subject: GiDlist Digest, Vol 44, Issue 1
To: gidlist at listas.cimne.upc.edu
Date: Tue, 4 Mar 2014 12:00:01 +0100
Send GiDlist mailing list submissions to
gidlist at listas.cimne.upc.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
or, via email, send a message with subject or body 'help' to
gidlist-request at listas.cimne.upc.edu
You can reach the person managing the list at
gidlist-owner at listas.cimne.upc.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of GiDlist digest..."
Today's Topics:
1. Vectors and matrices (David R. Jos?)
2. Re: Vectors and matrices (Enrique Escolano)
----------------------------------------------------------------------
Message: 1
Date: Mon, 3 Mar 2014 19:17:56 -0300
From: David R. Jos? c1b3rz at hotmail.com
Subject: [GiDlist] Vectors and matrices
To: "gidlist at listas.cimne.upc.edu" gidlist at listas.cimne.upc.edu
Message-ID: BAY169-W1072C4D572370CBB27AE242C48F0 at phx.gbl
Content-Type: text/plain; charset="iso-8859-1"
Hello.Is there a way to deal with vectors and matrices to store and print data when dealing with the .bas file?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140303/15818bde/attachment.html
------------------------------
Message: 2
Date: Tue, 4 Mar 2014 11:40:04 +0100
From: "Enrique Escolano" escolano at cimne.upc.edu
Subject: Re: [GiDlist] Vectors and matrices
To: gidlist at listas.cimne.upc.edu
Message-ID: 00c001cf3796$1a69ff10$4f3dfd30$@cimne.upc.edu
Content-Type: text/plain; charset="iso-8859-1"
No, the .bas language doesn?t support any kind of array.
To do complicated thinks you can invoke from the .bas file a Tcl command
*tcl(procedure_name). The value returned by the procedure is directly
printed to the output file.
Tcl/Tk is a full and powerful scripting language with all you can need (also
arrays off course). You can find information about it in the GiD help, and
in Internet.
You can see the Tcl documentation for example from the RamDebugger Help
(Data-Problemtype-Debugger, or press F11 to open it)
This documentation (Html format) is locally stored at C:\Program
Files\GiD\GiD 11.1.8d\scripts\ramdebugger\help
Enrique Escolano
De: gidlist-bounces at listas.cimne.upc.edu
[mailto:gidlist-bounces at listas.cimne.upc.edu] En nombre de David R. Jos?
Enviado el: lunes, 3 de marzo de 2014 23:18
Para: gidlist at listas.cimne.upc.edu
Asunto: [GiDlist] Vectors and matrices
Hello.
Is there a way to deal with vectors and matrices to store and print data
when dealing with the .bas file?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140304/e2989d61/attachment-0001.htm
------------------------------
_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
End of GiDlist Digest, Vol 44, Issue 1
**************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140304/af82a84e/attachment.htm
In an unrelated issue: can an "if" statement be triggered by the existence of a condition?Say, for example, I loop around the nodes and if a node has a condition, then the "if" is triggered.Something like:*loop nodes*if ( "condition of node constraint exists on that node" )....*end nodes
Thanks in advance.
From: gidlist-request at listas.cimne.upc.edu
Subject: GiDlist Digest, Vol 44, Issue 1
To: gidlist at listas.cimne.upc.edu
Date: Tue, 4 Mar 2014 12:00:01 +0100
Send GiDlist mailing list submissions to
gidlist at listas.cimne.upc.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
or, via email, send a message with subject or body 'help' to
gidlist-request at listas.cimne.upc.edu
You can reach the person managing the list at
gidlist-owner at listas.cimne.upc.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of GiDlist digest..."
Today's Topics:
1. Vectors and matrices (David R. Jos?)
2. Re: Vectors and matrices (Enrique Escolano)
----------------------------------------------------------------------
Message: 1
Date: Mon, 3 Mar 2014 19:17:56 -0300
From: David R. Jos? c1b3rz at hotmail.com
Subject: [GiDlist] Vectors and matrices
To: "gidlist at listas.cimne.upc.edu" gidlist at listas.cimne.upc.edu
Message-ID: BAY169-W1072C4D572370CBB27AE242C48F0 at phx.gbl
Content-Type: text/plain; charset="iso-8859-1"
Hello.Is there a way to deal with vectors and matrices to store and print data when dealing with the .bas file?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140303/15818bde/attachment.html
------------------------------
Message: 2
Date: Tue, 4 Mar 2014 11:40:04 +0100
From: "Enrique Escolano" escolano at cimne.upc.edu
Subject: Re: [GiDlist] Vectors and matrices
To: gidlist at listas.cimne.upc.edu
Message-ID: 00c001cf3796$1a69ff10$4f3dfd30$@cimne.upc.edu
Content-Type: text/plain; charset="iso-8859-1"
No, the .bas language doesn?t support any kind of array.
To do complicated thinks you can invoke from the .bas file a Tcl command
*tcl(procedure_name). The value returned by the procedure is directly
printed to the output file.
Tcl/Tk is a full and powerful scripting language with all you can need (also
arrays off course). You can find information about it in the GiD help, and
in Internet.
You can see the Tcl documentation for example from the RamDebugger Help
(Data-Problemtype-Debugger, or press F11 to open it)
This documentation (Html format) is locally stored at C:\Program
Files\GiD\GiD 11.1.8d\scripts\ramdebugger\help
Enrique Escolano
De: gidlist-bounces at listas.cimne.upc.edu
[mailto:gidlist-bounces at listas.cimne.upc.edu] En nombre de David R. Jos?
Enviado el: lunes, 3 de marzo de 2014 23:18
Para: gidlist at listas.cimne.upc.edu
Asunto: [GiDlist] Vectors and matrices
Hello.
Is there a way to deal with vectors and matrices to store and print data
when dealing with the .bas file?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140304/e2989d61/attachment-0001.htm
------------------------------
_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
End of GiDlist Digest, Vol 44, Issue 1
**************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140304/af82a84e/attachment.htm
[GiDlist] Vectors and matrices
Yes, you can use if statements of some condition field, but to use some
*cond(your_field) command you must before use *set cond xxx and do the loop
*onlyincond (that will loop only in the nodes with this condition applied)
e.g.
*set cond your_condition
*loop nodes *onlyincond
*if(cond(your_field,int)==1)
THE NODE *nodesnum HAS APPLIED A CONDITION your_condition with value
equal to 1
*endif
*end nodes
Note that inside the *if is not necessary the asterisk for *cond(), and in
this case I also specificied the ,int parameter to say that this field must
be considered as an integer
De: gidlist-bounces at listas.cimne.upc.edu
[mailto:gidlist-bounces at listas.cimne.upc.edu] En nombre de David R. José
Enviado el: martes, 4 de marzo de 2014 15:34
Para: gidlist at listas.cimne.upc.edu
Asunto: [GiDlist] Vectors and matrices
Dear Mr. Escolano, thanks for your reply.
I'll look into tcl/tk programming.
In an unrelated issue: can an "if" statement be triggered by the existence
of a condition?
Say, for example, I loop around the nodes and if a node has a condition,
then the "if" is triggered.
Something like:
*loop nodes
*if ( "condition of node constraint exists on that node" )
....
*end nodes
Thanks in advance.
From: gidlist-request at listas.cimne.upc.edu
Subject: GiDlist Digest, Vol 44, Issue 1
To: gidlist at listas.cimne.upc.edu
Date: Tue, 4 Mar 2014 12:00:01 +0100
Send GiDlist mailing list submissions to
gidlist at listas.cimne.upc.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
or, via email, send a message with subject or body 'help' to
gidlist-request at listas.cimne.upc.edu
You can reach the person managing the list at
gidlist-owner at listas.cimne.upc.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of GiDlist digest..."
Today's Topics:
1. Vectors and matrices (David R. Jos?)
2. Re: Vectors and matrices (Enrique Escolano)
----------------------------------------------------------------------
Message: 1
Date: Mon, 3 Mar 2014 19:17:56 -0300
From: David R. Jos? c1b3rz at hotmail.com
Subject: [GiDlist] Vectors and matrices
To: "gidlist at listas.cimne.upc.edu" gidlist at listas.cimne.upc.edu
Message-ID: BAY169-W1072C4D572370CBB27AE242C48F0 at phx.gbl
Content-Type: text/plain; charset="iso-8859-1"
Hello.Is there a way to deal with vectors and matrices to store and print
data when dealing with the .bas file?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140303/15818bde/
attachment.html
------------------------------
Message: 2
Date: Tue, 4 Mar 2014 11:40:04 +0100
From: "Enrique Escolano" escolano at cimne.upc.edu
Subject: Re: [GiDlist] Vectors and matrices
To: gidlist at listas.cimne.upc.edu
Message-ID: 00c001cf3796$1a69ff10$4f3dfd30$@cimne.upc.edu
Content-Type: text/plain; charset="iso-8859-1"
No, the .bas language doesn?t support any kind of array.
To do complicated thinks you can invoke from the .bas file a Tcl command
*tcl(procedure_name). The value returned by the procedure is directly
printed to the output file.
Tcl/Tk is a full and powerful scripting language with all you can need
(also
arrays off course). You can find information about it in the GiD help, and
in Internet.
You can see the Tcl documentation for example from the RamDebugger Help
(Data-Problemtype-Debugger, or press F11 to open it)
This documentation (Html format) is locally stored at C:\Program
Files\GiD\GiD 11.1.8d\scripts\ramdebugger\help
Enrique Escolano
De: gidlist-bounces at listas.cimne.upc.edu
[mailto:gidlist-bounces at listas.cimne.upc.edu] En nombre de David R. Jos?
Enviado el: lunes, 3 de marzo de 2014 23:18
Para: gidlist at listas.cimne.upc.edu
Asunto: [GiDlist] Vectors and matrices
Hello.
Is there a way to deal with vectors and matrices to store and print data
when dealing with the .bas file?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140304/e2989d61/
attachment-0001.htm
------------------------------
_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
End of GiDlist Digest, Vol 44, Issue 1
**************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140304/d19ad4bd/attachment-0001.htm
*cond(your_field) command you must before use *set cond xxx and do the loop
*onlyincond (that will loop only in the nodes with this condition applied)
e.g.
*set cond your_condition
*loop nodes *onlyincond
*if(cond(your_field,int)==1)
THE NODE *nodesnum HAS APPLIED A CONDITION your_condition with value
equal to 1
*endif
*end nodes
Note that inside the *if is not necessary the asterisk for *cond(), and in
this case I also specificied the ,int parameter to say that this field must
be considered as an integer
De: gidlist-bounces at listas.cimne.upc.edu
[mailto:gidlist-bounces at listas.cimne.upc.edu] En nombre de David R. José
Enviado el: martes, 4 de marzo de 2014 15:34
Para: gidlist at listas.cimne.upc.edu
Asunto: [GiDlist] Vectors and matrices
Dear Mr. Escolano, thanks for your reply.
I'll look into tcl/tk programming.
In an unrelated issue: can an "if" statement be triggered by the existence
of a condition?
Say, for example, I loop around the nodes and if a node has a condition,
then the "if" is triggered.
Something like:
*loop nodes
*if ( "condition of node constraint exists on that node" )
....
*end nodes
Thanks in advance.
From: gidlist-request at listas.cimne.upc.edu
Subject: GiDlist Digest, Vol 44, Issue 1
To: gidlist at listas.cimne.upc.edu
Date: Tue, 4 Mar 2014 12:00:01 +0100
Send GiDlist mailing list submissions to
gidlist at listas.cimne.upc.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
or, via email, send a message with subject or body 'help' to
gidlist-request at listas.cimne.upc.edu
You can reach the person managing the list at
gidlist-owner at listas.cimne.upc.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of GiDlist digest..."
Today's Topics:
1. Vectors and matrices (David R. Jos?)
2. Re: Vectors and matrices (Enrique Escolano)
----------------------------------------------------------------------
Message: 1
Date: Mon, 3 Mar 2014 19:17:56 -0300
From: David R. Jos? c1b3rz at hotmail.com
Subject: [GiDlist] Vectors and matrices
To: "gidlist at listas.cimne.upc.edu" gidlist at listas.cimne.upc.edu
Message-ID: BAY169-W1072C4D572370CBB27AE242C48F0 at phx.gbl
Content-Type: text/plain; charset="iso-8859-1"
Hello.Is there a way to deal with vectors and matrices to store and print
data when dealing with the .bas file?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140303/15818bde/
attachment.html
------------------------------
Message: 2
Date: Tue, 4 Mar 2014 11:40:04 +0100
From: "Enrique Escolano" escolano at cimne.upc.edu
Subject: Re: [GiDlist] Vectors and matrices
To: gidlist at listas.cimne.upc.edu
Message-ID: 00c001cf3796$1a69ff10$4f3dfd30$@cimne.upc.edu
Content-Type: text/plain; charset="iso-8859-1"
No, the .bas language doesn?t support any kind of array.
To do complicated thinks you can invoke from the .bas file a Tcl command
*tcl(procedure_name). The value returned by the procedure is directly
printed to the output file.
Tcl/Tk is a full and powerful scripting language with all you can need
(also
arrays off course). You can find information about it in the GiD help, and
in Internet.
You can see the Tcl documentation for example from the RamDebugger Help
(Data-Problemtype-Debugger, or press F11 to open it)
This documentation (Html format) is locally stored at C:\Program
Files\GiD\GiD 11.1.8d\scripts\ramdebugger\help
Enrique Escolano
De: gidlist-bounces at listas.cimne.upc.edu
[mailto:gidlist-bounces at listas.cimne.upc.edu] En nombre de David R. Jos?
Enviado el: lunes, 3 de marzo de 2014 23:18
Para: gidlist at listas.cimne.upc.edu
Asunto: [GiDlist] Vectors and matrices
Hello.
Is there a way to deal with vectors and matrices to store and print data
when dealing with the .bas file?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140304/e2989d61/
attachment-0001.htm
------------------------------
_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
End of GiDlist Digest, Vol 44, Issue 1
**************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140304/d19ad4bd/attachment-0001.htm