MR
Matthew Ridzon, PE
Wed, Aug 28, 2024 3:30 PM
Folks,
I wrote a short script to form a vector with *VGET, *VOPER, and *VMASK of all nodes at a certain temperature. Is there a way to then select those nodes for display? In other words, I am wondering if there is any sort of NSEL syntax that will read the vector I made with VGET, so those nodes can be selected. Then I intend to do other operations downstream with those selected nodes.
Matt Ridzon, PE, MSME
Sr. Engineering Analyst
Email matt@prime-engineer.commailto:matt@prime-engineer.com
Mail 266 Main St, Burlington, VT 05401
Web www.prime-engineer.comhttp://www.prime-engineer.com/
[A blue hexagon with white letters Description automatically generated]
PRIME ENGINEERING LLC
This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited.
Folks,
I wrote a short script to form a vector with *VGET, *VOPER, and *VMASK of all nodes at a certain temperature. Is there a way to then select those nodes for display? In other words, I am wondering if there is any sort of NSEL syntax that will read the vector I made with VGET, so those nodes can be selected. Then I intend to do other operations downstream with those selected nodes.
Matt Ridzon, PE, MSME
Sr. Engineering Analyst
Email matt@prime-engineer.com<mailto:matt@prime-engineer.com>
Mail 266 Main St, Burlington, VT 05401
Web www.prime-engineer.com<http://www.prime-engineer.com/>
[A blue hexagon with white letters Description automatically generated]
PRIME ENGINEERING LLC
This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited.
JM
Joe Metrisin
Wed, Aug 28, 2024 4:15 PM
I haven't tried this, but there is a *GET, *VGET item for whether a node is
selected or not. (item1=NSEL). You could try doing a *VPUT (-1=unselected,
1=selected). See if that actually changes the selection status of your
nodes.
Joseph T Metrisin
Structures Lead
Florida Turbine Technologies, Inc
1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA
+1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile
Joe.Metrisin@kratosdefense.com
Visit our website: https://kratosdefense.com
Confidentiality Note:
The information contained in this transmission and any attachments are
proprietary and may be privileged, intended only for the use of the
individual or entity named above. If the reader of this message is not the
intended recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly prohibited. If
you received this communication in error, please delete the message and
immediately notify the sender via the contact information listed above.
-----Original Message-----
From: Matthew Ridzon, PE via Xansys xansys-temp@list.xansys.org
Sent: Wednesday, August 28, 2024 11:31 AM
To: xansys-temp@list.xansys.org
Cc: Matthew Ridzon, PE Matt@prime-engineer.com
Subject: [External] - [Xansys] Selecting Nodes From VGET Vector
CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know the
content is safe.
Folks,
I wrote a short script to form a vector with *VGET, *VOPER, and *VMASK of
all nodes at a certain temperature. Is there a way to then select those
nodes for display? In other words, I am wondering if there is any sort of
NSEL syntax that will read the vector I made with VGET, so those nodes can
be selected. Then I intend to do other operations downstream with those
selected nodes.
Matt Ridzon, PE, MSME
Sr. Engineering Analyst
Email matt@prime-engineer.commailto:matt@prime-engineer.com
Mail 266 Main St, Burlington, VT 05401
Web
https://urldefense.com/v3/http://www.prime-engineer.com;!!KM6X6ZXWXVtZMQ
!fP1LzPdVEnfUUBFoCX4zIqvYLHNIxwoJUBEIb_U-auUNyCu_Oaq7KFKe-ZpgnmIOLJDnAkkQq2q
zkXQ2WjCRfx8-hg$
<https://urldefense.com/v3/http://www.prime-engineer.com/;!!KM6X6ZXWXVtZ
MQ!fP1LzPdVEnfUUBFoCX4zIqvYLHNIxwoJUBEIb_U-auUNyCu_Oaq7KFKe-ZpgnmIOLJDnAkkQq
2qzkXQ2WjAxwVKjVg$ >
[A blue hexagon with white letters Description automatically generated]
PRIME ENGINEERING LLC
This message (including any attachments) may contain confidential,
proprietary, privileged and/or private information. The information is
intended to be for the use of the individual or entity designated above. If
you are not the intended recipient of this message, please notify the sender
immediately, and delete the message and any attachments. Any disclosure,
reproduction, distribution or other use of this message or any attachments
by an individual or entity other than the intended recipient is prohibited.
I haven't tried this, but there is a *GET, *VGET item for whether a node is
selected or not. (item1=NSEL). You could try doing a *VPUT (-1=unselected,
1=selected). See if that actually changes the selection status of your
nodes.
Joseph T Metrisin
Structures Lead
Florida Turbine Technologies, Inc
1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA
+1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile
Joe.Metrisin@kratosdefense.com
Visit our website: https://kratosdefense.com
Confidentiality Note:
The information contained in this transmission and any attachments are
proprietary and may be privileged, intended only for the use of the
individual or entity named above. If the reader of this message is not the
intended recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly prohibited. If
you received this communication in error, please delete the message and
immediately notify the sender via the contact information listed above.
-----Original Message-----
From: Matthew Ridzon, PE via Xansys <xansys-temp@list.xansys.org>
Sent: Wednesday, August 28, 2024 11:31 AM
To: xansys-temp@list.xansys.org
Cc: Matthew Ridzon, PE <Matt@prime-engineer.com>
Subject: [External] - [Xansys] Selecting Nodes From VGET Vector
CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know the
content is safe.
Folks,
I wrote a short script to form a vector with *VGET, *VOPER, and *VMASK of
all nodes at a certain temperature. Is there a way to then select those
nodes for display? In other words, I am wondering if there is any sort of
NSEL syntax that will read the vector I made with VGET, so those nodes can
be selected. Then I intend to do other operations downstream with those
selected nodes.
Matt Ridzon, PE, MSME
Sr. Engineering Analyst
Email matt@prime-engineer.com<mailto:matt@prime-engineer.com>
Mail 266 Main St, Burlington, VT 05401
Web
https://urldefense.com/v3/__http://www.prime-engineer.com__;!!KM6X6ZXWXVtZMQ
!fP1LzPdVEnfUUBFoCX4zIqvYLHNIxwoJUBEIb_U-auUNyCu_Oaq7KFKe-ZpgnmIOLJDnAkkQq2q
zkXQ2WjCRfx8-hg$
<https://urldefense.com/v3/__http://www.prime-engineer.com/__;!!KM6X6ZXWXVtZ
MQ!fP1LzPdVEnfUUBFoCX4zIqvYLHNIxwoJUBEIb_U-auUNyCu_Oaq7KFKe-ZpgnmIOLJDnAkkQq
2qzkXQ2WjAxwVKjVg$ >
[A blue hexagon with white letters Description automatically generated]
PRIME ENGINEERING LLC
This message (including any attachments) may contain confidential,
proprietary, privileged and/or private information. The information is
intended to be for the use of the individual or entity designated above. If
you are not the intended recipient of this message, please notify the sender
immediately, and delete the message and any attachments. Any disclosure,
reproduction, distribution or other use of this message or any attachments
by an individual or entity other than the intended recipient is prohibited.
TR
Testi Riccardo
Thu, Aug 29, 2024 7:46 AM
Dear Mr. Ridzon,
what about this primitive way?
nsel,none
*do,i,1,yourvectorlength
*if,i,eq,1,then
nsel,,,,yourvector(i,n)
*endif
nsel,a,,,yourvector(i,n)
*enddo
That's provided the node numbers are stored in your vector's n-th column.
Best regards
Riccardo Testi
Development and Strategies
2 Wheeler Engines Technical Centre
Piaggio & C. S.p.A
Viale Rinaldo Piaggio, 25
56025 Pontedera (Pisa) - ITALY
Phone: +39 0587 272850
Fax: +39 0587 272010
Mobile: +39 339 7241918
E-mail: riccardo.testi@piaggio.com
-----Original Message-----
From: Matthew Ridzon, PE via Xansys xansys-temp@list.xansys.org
Sent: Wednesday, August 28, 2024 5:31 PM
To: xansys-temp@list.xansys.org
Cc: Matthew Ridzon, PE Matt@prime-engineer.com
Subject: [Xansys] Selecting Nodes From VGET Vector
CAUTION:This email originated from outside the Piaggio Group. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Folks,
I wrote a short script to form a vector with *VGET, *VOPER, and *VMASK of all nodes at a certain temperature. Is there a way to then select those nodes for display? In other words, I am wondering if there is any sort of NSEL syntax that will read the vector I made with VGET, so those nodes can be selected. Then I intend to do other operations downstream with those selected nodes.
Matt Ridzon, PE, MSME
Sr. Engineering Analyst
Email matt@prime-engineer.commailto:matt@prime-engineer.com
Mail 266 Main St, Burlington, VT 05401
Web https://urlsand.esvalabs.com/?u=http%3A%2F%2Fwww.prime-engineer.com&e=6e97a7e3&h=87561189&f=y&p=y < https://urlsand.esvalabs.com/?u=http%3A%2F%2Fwww.prime-engineer.com%2F&e=6e97a7e3&h=63971262&f=y&p=y >
[A blue hexagon with white letters Description automatically generated] PRIME ENGINEERING LLC
This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited.
Dear Mr. Ridzon,
what about this primitive way?
nsel,none
*do,i,1,yourvectorlength
*if,i,eq,1,then
nsel,,,,yourvector(i,n)
*endif
nsel,a,,,yourvector(i,n)
*enddo
That's provided the node numbers are stored in your vector's n-th column.
Best regards
Riccardo Testi
---
Development and Strategies
2 Wheeler Engines Technical Centre
Piaggio & C. S.p.A
Viale Rinaldo Piaggio, 25
56025 Pontedera (Pisa) - ITALY
Phone: +39 0587 272850
Fax: +39 0587 272010
Mobile: +39 339 7241918
E-mail: riccardo.testi@piaggio.com
-----Original Message-----
From: Matthew Ridzon, PE via Xansys <xansys-temp@list.xansys.org>
Sent: Wednesday, August 28, 2024 5:31 PM
To: xansys-temp@list.xansys.org
Cc: Matthew Ridzon, PE <Matt@prime-engineer.com>
Subject: [Xansys] Selecting Nodes From VGET Vector
CAUTION:This email originated from outside the Piaggio Group. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Folks,
I wrote a short script to form a vector with *VGET, *VOPER, and *VMASK of all nodes at a certain temperature. Is there a way to then select those nodes for display? In other words, I am wondering if there is any sort of NSEL syntax that will read the vector I made with VGET, so those nodes can be selected. Then I intend to do other operations downstream with those selected nodes.
Matt Ridzon, PE, MSME
Sr. Engineering Analyst
Email matt@prime-engineer.com<mailto:matt@prime-engineer.com>
Mail 266 Main St, Burlington, VT 05401
Web https://urlsand.esvalabs.com/?u=http%3A%2F%2Fwww.prime-engineer.com&e=6e97a7e3&h=87561189&f=y&p=y < https://urlsand.esvalabs.com/?u=http%3A%2F%2Fwww.prime-engineer.com%2F&e=6e97a7e3&h=63971262&f=y&p=y >
[A blue hexagon with white letters Description automatically generated] PRIME ENGINEERING LLC
This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited.
MV
Mitch Voehl
Thu, Aug 29, 2024 8:17 AM
Or you might try using vector notation on the NSEL command, something like:
*GET,N,NODE,,NUM,MAX
*DIM,MASK,ARRAY,N
…
*VGET and *VOPER commands to flag the nodes in the MASK vector which are at the desired temperature
NSEL,S,NODE,,MASK(1:N)
See
https://ansys.netlify.app/html/vector/
and
https://github.com/smhrjn/ansys.net/blob/main/9/buildn2.mac
--
Mitch Voehl
CEO and Engineering Consultant
Summit Analysis, Inc.
78748 410th Ave
Lakefield, MN 56150
651-287-2360
www.summitanalysis.com
Specializing in the use of ANSYS (R) finite element analysis software
On 08/28/2024 11:15 AM CDT Joe Metrisin via Xansys xansys-temp@list.xansys.org wrote:
I haven't tried this, but there is a *GET, *VGET item for whether a node is
selected or not. (item1=NSEL). You could try doing a *VPUT (-1=unselected,
1=selected). See if that actually changes the selection status of your
nodes.
Joseph T Metrisin
Structures Lead
Florida Turbine Technologies, Inc
1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA
+1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile
Joe.Metrisin@kratosdefense.com
Visit our website: https://kratosdefense.com
Confidentiality Note:
The information contained in this transmission and any attachments are
proprietary and may be privileged, intended only for the use of the
individual or entity named above. If the reader of this message is not the
intended recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly prohibited. If
you received this communication in error, please delete the message and
immediately notify the sender via the contact information listed above.
-----Original Message-----
From: Matthew Ridzon, PE via Xansys xansys-temp@list.xansys.org
Sent: Wednesday, August 28, 2024 11:31 AM
To: xansys-temp@list.xansys.org
Cc: Matthew Ridzon, PE Matt@prime-engineer.com
Subject: [External] - [Xansys] Selecting Nodes From VGET Vector
CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know the
content is safe.
Folks,
I wrote a short script to form a vector with *VGET, *VOPER, and *VMASK of
all nodes at a certain temperature. Is there a way to then select those
nodes for display? In other words, I am wondering if there is any sort of
NSEL syntax that will read the vector I made with VGET, so those nodes can
be selected. Then I intend to do other operations downstream with those
selected nodes.
Matt Ridzon, PE, MSME
Sr. Engineering Analyst
Email matt@prime-engineer.commailto:matt@prime-engineer.com
Mail 266 Main St, Burlington, VT 05401
Web
https://urldefense.com/v3/http://www.prime-engineer.com;!!KM6X6ZXWXVtZMQ
!fP1LzPdVEnfUUBFoCX4zIqvYLHNIxwoJUBEIb_U-auUNyCu_Oaq7KFKe-ZpgnmIOLJDnAkkQq2q
zkXQ2WjCRfx8-hg$
<https://urldefense.com/v3/http://www.prime-engineer.com/;!!KM6X6ZXWXVtZ
MQ!fP1LzPdVEnfUUBFoCX4zIqvYLHNIxwoJUBEIb_U-auUNyCu_Oaq7KFKe-ZpgnmIOLJDnAkkQq
2qzkXQ2WjAxwVKjVg$ >
[A blue hexagon with white letters Description automatically generated]
PRIME ENGINEERING LLC
This message (including any attachments) may contain confidential,
proprietary, privileged and/or private information. The information is
intended to be for the use of the individual or entity designated above. If
you are not the intended recipient of this message, please notify the sender
immediately, and delete the message and any attachments. Any disclosure,
reproduction, distribution or other use of this message or any attachments
by an individual or entity other than the intended recipient is prohibited.
Xansys mailing list -- xansys-temp@list.xansys.org
To unsubscribe send an email to xansys-temp-leave@list.xansys.org
If you are receiving too many emails from XANSYS please consider changing account settings to Digest mode which will send a single email per day.
Please send administrative requests such as deletion from XANSYS to xansys-mod@tynecomp.co.uk and not to the list
Or you might try using vector notation on the NSEL command, something like:
*GET,N,NODE,,NUM,MAX
*DIM,MASK,ARRAY,N
…
*VGET and *VOPER commands to flag the nodes in the MASK vector which are at the desired temperature
NSEL,S,NODE,,MASK(1:N)
See
https://ansys.netlify.app/html/vector/
and
https://github.com/smhrjn/ansys.net/blob/main/9/buildn2.mac
--
Mitch Voehl
CEO and Engineering Consultant
Summit Analysis, Inc.
78748 410th Ave
Lakefield, MN 56150
651-287-2360
www.summitanalysis.com
Specializing in the use of ANSYS (R) finite element analysis software
> On 08/28/2024 11:15 AM CDT Joe Metrisin via Xansys <xansys-temp@list.xansys.org> wrote:
>
>
> I haven't tried this, but there is a *GET, *VGET item for whether a node is
> selected or not. (item1=NSEL). You could try doing a *VPUT (-1=unselected,
> 1=selected). See if that actually changes the selection status of your
> nodes.
>
> Joseph T Metrisin
> Structures Lead
>
> Florida Turbine Technologies, Inc
> 1701 Military Tr. Suite 110 | Jupiter, FL 33458 USA
> +1 (561) 427-6346 Office | +1 (772) 834-4156 Mobile
> Joe.Metrisin@kratosdefense.com
>
> Visit our website: https://kratosdefense.com
>
>
> Confidentiality Note:
> The information contained in this transmission and any attachments are
> proprietary and may be privileged, intended only for the use of the
> individual or entity named above. If the reader of this message is not the
> intended recipient, you are hereby notified that any dissemination,
> distribution, or copying of this communication is strictly prohibited. If
> you received this communication in error, please delete the message and
> immediately notify the sender via the contact information listed above.
>
>
> -----Original Message-----
> From: Matthew Ridzon, PE via Xansys <xansys-temp@list.xansys.org>
> Sent: Wednesday, August 28, 2024 11:31 AM
> To: xansys-temp@list.xansys.org
> Cc: Matthew Ridzon, PE <Matt@prime-engineer.com>
> Subject: [External] - [Xansys] Selecting Nodes From VGET Vector
>
> CAUTION: This email originated from outside of the organization. Do not
> click links or open attachments unless you recognize the sender and know the
> content is safe.
>
>
> Folks,
>
> I wrote a short script to form a vector with *VGET, *VOPER, and *VMASK of
> all nodes at a certain temperature. Is there a way to then select those
> nodes for display? In other words, I am wondering if there is any sort of
> NSEL syntax that will read the vector I made with VGET, so those nodes can
> be selected. Then I intend to do other operations downstream with those
> selected nodes.
>
> Matt Ridzon, PE, MSME
> Sr. Engineering Analyst
>
> Email matt@prime-engineer.com<mailto:matt@prime-engineer.com>
> Mail 266 Main St, Burlington, VT 05401
> Web
> https://urldefense.com/v3/__http://www.prime-engineer.com__;!!KM6X6ZXWXVtZMQ
> !fP1LzPdVEnfUUBFoCX4zIqvYLHNIxwoJUBEIb_U-auUNyCu_Oaq7KFKe-ZpgnmIOLJDnAkkQq2q
> zkXQ2WjCRfx8-hg$
> <https://urldefense.com/v3/__http://www.prime-engineer.com/__;!!KM6X6ZXWXVtZ
> MQ!fP1LzPdVEnfUUBFoCX4zIqvYLHNIxwoJUBEIb_U-auUNyCu_Oaq7KFKe-ZpgnmIOLJDnAkkQq
> 2qzkXQ2WjAxwVKjVg$ >
> [A blue hexagon with white letters Description automatically generated]
> PRIME ENGINEERING LLC
>
>
> This message (including any attachments) may contain confidential,
> proprietary, privileged and/or private information. The information is
> intended to be for the use of the individual or entity designated above. If
> you are not the intended recipient of this message, please notify the sender
> immediately, and delete the message and any attachments. Any disclosure,
> reproduction, distribution or other use of this message or any attachments
> by an individual or entity other than the intended recipient is prohibited.
>
>
> _______________________________________________
> Xansys mailing list -- xansys-temp@list.xansys.org
> To unsubscribe send an email to xansys-temp-leave@list.xansys.org
> If you are receiving too many emails from XANSYS please consider changing account settings to Digest mode which will send a single email per day.
>
> Please send administrative requests such as deletion from XANSYS to xansys-mod@tynecomp.co.uk and not to the list
MR
Matthew Ridzon, PE
Fri, Aug 30, 2024 11:56 AM
Thanks for the feedback! Unfortunately, the node numbers are not stored in the n-th column. That was the crux of my issue. I really wish the *V--- commands gave that option.
I'm going to see if one of the ideas from the other contributors might work.
-Matt
-----Original Message-----
From: Testi Riccardo via Xansys xansys-temp@list.xansys.org
Sent: Thursday, August 29, 2024 3:46 AM
To: XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Testi Riccardo riccardo.testi@piaggio.com
Subject: [Xansys] Re: Selecting Nodes From VGET Vector
Dear Mr. Ridzon,
what about this primitive way?
nsel,none
*do,i,1,yourvectorlength
*if,i,eq,1,then
nsel,,,,yourvector(i,n)
*endif
nsel,a,,,yourvector(i,n)
*enddo
That's provided the node numbers are stored in your vector's n-th column.
Best regards
Riccardo Testi
Development and Strategies
2 Wheeler Engines Technical Centre
Piaggio & C. S.p.A
Viale Rinaldo Piaggio, 25
56025 Pontedera (Pisa) - ITALY
Phone: +39 0587 272850
Fax: +39 0587 272010
Mobile: +39 339 7241918
E-mail: riccardo.testi@piaggio.com
-----Original Message-----
From: Matthew Ridzon, PE via Xansys xansys-temp@list.xansys.org
Sent: Wednesday, August 28, 2024 5:31 PM
To: xansys-temp@list.xansys.org
Cc: Matthew Ridzon, PE Matt@prime-engineer.com
Subject: [Xansys] Selecting Nodes From VGET Vector
CAUTION:This email originated from outside the Piaggio Group. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Folks,
I wrote a short script to form a vector with *VGET, *VOPER, and *VMASK of all nodes at a certain temperature. Is there a way to then select those nodes for display? In other words, I am wondering if there is any sort of NSEL syntax that will read the vector I made with VGET, so those nodes can be selected. Then I intend to do other operations downstream with those selected nodes.
Matt Ridzon, PE, MSME
Sr. Engineering Analyst
Email matt@prime-engineer.commailto:matt@prime-engineer.com
Mail 266 Main St, Burlington, VT 05401
Web https://urlsand.esvalabs.com/?u=http%3A%2F%2Fwww.prime-engineer.com&e=6e97a7e3&h=87561189&f=y&p=y < https://urlsand.esvalabs.com/?u=http%3A%2F%2Fwww.prime-engineer.com%2F&e=6e97a7e3&h=63971262&f=y&p=y >
[A blue hexagon with white letters Description automatically generated] PRIME ENGINEERING LLC
This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited.
Xansys mailing list -- xansys-temp@list.xansys.org To unsubscribe send an email to xansys-temp-leave@list.xansys.org If you are receiving too many emails from XANSYS please consider changing account settings to Digest mode which will send a single email per day.
Please send administrative requests such as deletion from XANSYS to xansys-mod@tynecomp.co.uk and not to the list
Thanks for the feedback! Unfortunately, the node numbers are not stored in the n-th column. That was the crux of my issue. I really wish the *V--- commands gave that option.
I'm going to see if one of the ideas from the other contributors might work.
-Matt
-----Original Message-----
From: Testi Riccardo via Xansys <xansys-temp@list.xansys.org>
Sent: Thursday, August 29, 2024 3:46 AM
To: XANSYS Mailing List Home <xansys-temp@list.xansys.org>
Cc: Testi Riccardo <riccardo.testi@piaggio.com>
Subject: [Xansys] Re: Selecting Nodes From VGET Vector
Dear Mr. Ridzon,
what about this primitive way?
nsel,none
*do,i,1,yourvectorlength
*if,i,eq,1,then
nsel,,,,yourvector(i,n)
*endif
nsel,a,,,yourvector(i,n)
*enddo
That's provided the node numbers are stored in your vector's n-th column.
Best regards
Riccardo Testi
---
Development and Strategies
2 Wheeler Engines Technical Centre
Piaggio & C. S.p.A
Viale Rinaldo Piaggio, 25
56025 Pontedera (Pisa) - ITALY
Phone: +39 0587 272850
Fax: +39 0587 272010
Mobile: +39 339 7241918
E-mail: riccardo.testi@piaggio.com
-----Original Message-----
From: Matthew Ridzon, PE via Xansys <xansys-temp@list.xansys.org>
Sent: Wednesday, August 28, 2024 5:31 PM
To: xansys-temp@list.xansys.org
Cc: Matthew Ridzon, PE <Matt@prime-engineer.com>
Subject: [Xansys] Selecting Nodes From VGET Vector
CAUTION:This email originated from outside the Piaggio Group. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Folks,
I wrote a short script to form a vector with *VGET, *VOPER, and *VMASK of all nodes at a certain temperature. Is there a way to then select those nodes for display? In other words, I am wondering if there is any sort of NSEL syntax that will read the vector I made with VGET, so those nodes can be selected. Then I intend to do other operations downstream with those selected nodes.
Matt Ridzon, PE, MSME
Sr. Engineering Analyst
Email matt@prime-engineer.com<mailto:matt@prime-engineer.com>
Mail 266 Main St, Burlington, VT 05401
Web https://urlsand.esvalabs.com/?u=http%3A%2F%2Fwww.prime-engineer.com&e=6e97a7e3&h=87561189&f=y&p=y < https://urlsand.esvalabs.com/?u=http%3A%2F%2Fwww.prime-engineer.com%2F&e=6e97a7e3&h=63971262&f=y&p=y >
[A blue hexagon with white letters Description automatically generated] PRIME ENGINEERING LLC
This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited.
_______________________________________________
Xansys mailing list -- xansys-temp@list.xansys.org To unsubscribe send an email to xansys-temp-leave@list.xansys.org If you are receiving too many emails from XANSYS please consider changing account settings to Digest mode which will send a single email per day.
Please send administrative requests such as deletion from XANSYS to xansys-mod@tynecomp.co.uk and not to the list
IG
Iker Gomez
Fri, Aug 30, 2024 4:38 PM
*VPUT #
*VPUT, ParR, Entity, ENTNUM, Item1, IT1NUM, Item2, IT2NUM, KLOOP
To change selection status of entities, use a format similar to *VGET.
Use for Entity = node, elem, kp, line, area, or volu, ENTNUM = 1, and Item1
= nsel, esel, ksel, lsel, asel, or vsel. The array ParR would be similar to
the *VGET array, where
-1 = unselected
0 = undefined
1 = selected
It is recommended to select all entities with nsel,all (or related command)
prior to using *VPUT.
El mié, 28 de ago de 2024, 17:34, Matthew Ridzon, PE via Xansys <
xansys-temp@list.xansys.org> escribió:
Folks,
I wrote a short script to form a vector with *VGET, *VOPER, and *VMASK of
all nodes at a certain temperature. Is there a way to then select those
nodes for display? In other words, I am wondering if there is any sort of
NSEL syntax that will read the vector I made with VGET, so those nodes can
be selected. Then I intend to do other operations downstream with those
selected nodes.
Matt Ridzon, PE, MSME
Sr. Engineering Analyst
Email matt@prime-engineer.commailto:matt@prime-engineer.com
Mail 266 Main St, Burlington, VT 05401
Web www.prime-engineer.comhttp://www.prime-engineer.com/
[A blue hexagon with white letters Description automatically generated]
PRIME ENGINEERING LLC
This message (including any attachments) may contain confidential,
proprietary, privileged and/or private information. The information is
intended to be for the use of the individual or entity designated above. If
you are not the intended recipient of this message, please notify the
sender immediately, and delete the message and any attachments. Any
disclosure, reproduction, distribution or other use of this message or any
attachments by an individual or entity other than the intended recipient is
prohibited.
Xansys mailing list -- xansys-temp@list.xansys.org
To unsubscribe send an email to xansys-temp-leave@list.xansys.org
If you are receiving too many emails from XANSYS please consider changing
account settings to Digest mode which will send a single email per day.
Please send administrative requests such as deletion from XANSYS to
xansys-mod@tynecomp.co.uk and not to the list
*VPUT #
*VPUT, ParR, Entity, ENTNUM, Item1, IT1NUM, Item2, IT2NUM, KLOOP
To change selection status of entities, use a format similar to *VGET.
Use for Entity = node, elem, kp, line, area, or volu, ENTNUM = 1, and Item1
= nsel, esel, ksel, lsel, asel, or vsel. The array ParR would be similar to
the *VGET array, where
-1 = unselected
0 = undefined
1 = selected
It is recommended to select all entities with nsel,all (or related command)
prior to using \*VPUT.
El mié, 28 de ago de 2024, 17:34, Matthew Ridzon, PE via Xansys <
xansys-temp@list.xansys.org> escribió:
> Folks,
>
> I wrote a short script to form a vector with *VGET, *VOPER, and *VMASK of
> all nodes at a certain temperature. Is there a way to then select those
> nodes for display? In other words, I am wondering if there is any sort of
> NSEL syntax that will read the vector I made with VGET, so those nodes can
> be selected. Then I intend to do other operations downstream with those
> selected nodes.
>
> Matt Ridzon, PE, MSME
> Sr. Engineering Analyst
>
> Email matt@prime-engineer.com<mailto:matt@prime-engineer.com>
> Mail 266 Main St, Burlington, VT 05401
> Web www.prime-engineer.com<http://www.prime-engineer.com/>
> [A blue hexagon with white letters Description automatically generated]
> PRIME ENGINEERING LLC
>
>
> This message (including any attachments) may contain confidential,
> proprietary, privileged and/or private information. The information is
> intended to be for the use of the individual or entity designated above. If
> you are not the intended recipient of this message, please notify the
> sender immediately, and delete the message and any attachments. Any
> disclosure, reproduction, distribution or other use of this message or any
> attachments by an individual or entity other than the intended recipient is
> prohibited.
>
>
> _______________________________________________
> Xansys mailing list -- xansys-temp@list.xansys.org
> To unsubscribe send an email to xansys-temp-leave@list.xansys.org
> If you are receiving too many emails from XANSYS please consider changing
> account settings to Digest mode which will send a single email per day.
>
> Please send administrative requests such as deletion from XANSYS to
> xansys-mod@tynecomp.co.uk and not to the list