Folks,
I'm writing an APDL script and would like to rename a file directory. Is there a command for this? To my knowledge, /RENAME is for files only, and not directories.
I considered /SYS, but I cannot use APDL character substitution inside of that command.
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.
Matt,
I do this by writing a short macro on the fly in my main macro to execute the commands, then delete it right away. Something like…
*cfopen,temp,mac
/sys,…
*cfclose
/inp,temp,mac
/sys,del temp.mac
Thanks,
Jim
[cid:image001.png@01DAD819.46B46360]
James J. Patterson, PhD.
Principal Vehicle Systems Engineer
Trailer Commercial Vehicle Systems
2070 Industrial Place S.E. Canton, OH 44707
ph. 330 489 0095 | fax 330 489 1961
jpatterson@hendrickson-intl.commailto:jpatterson@hendrickson-intl.com
www.hendrickson-intl.com
[cid:image002.gif@01DAD819.46B46360]
From: Matthew Ridzon, PE via Xansys xansys-temp@list.xansys.org
Sent: Wednesday, July 17, 2024 7:11 AM
To: xansys-temp@list.xansys.org
Cc: Matthew Ridzon, PE Matt@prime-engineer.com
Subject: [Xansys] APDL Command to Rename Directory
Folks, I'm writing an APDL script and would like to rename a file directory. Is there a command for this? To my knowledge, /RENAME is for files only, and not directories. I considered /SYS, but I cannot use APDL character substitution inside
Folks,
I'm writing an APDL script and would like to rename a file directory. Is there a command for this? To my knowledge, /RENAME is for files only, and not directories.
I considered /SYS, but I cannot use APDL character substitution inside of that command.
Matt Ridzon, PE, MSME
Sr. Engineering Analyst
Email matt@prime-engineer.com<mailto:matt@prime-engineer.commailto:matt@prime-engineer.com%3cmailto:matt@prime-engineer.com>
Mail 266 Main St, Burlington, VT 05401
Web https://urldefense.com/v3/http://www.prime-engineer.com;!!HXcklc0VomgEZw!5P6gqv6Kn4t2xaD1yBdkxi_HoYX-f-1FRgcq-eUdOJUnhkjJg5M0f4Ck0mG8BT-Z-BF_36MizTzvZPZkLCzFbW07tXIgoJTeqkU$https://urldefense.com/v3/__http:/www.prime-engineer.com__;!!HXcklc0VomgEZw!5P6gqv6Kn4t2xaD1yBdkxi_HoYX-f-1FRgcq-eUdOJUnhkjJg5M0f4Ck0mG8BT-Z-BF_36MizTzvZPZkLCzFbW07tXIgoJTeqkU$<https://urldefense.com/v3/http://www.prime-engineer.com/;!!HXcklc0VomgEZw!5P6gqv6Kn4t2xaD1yBdkxi_HoYX-f-1FRgcq-eUdOJUnhkjJg5M0f4Ck0mG8BT-Z-BF_36MizTzvZPZkLCzFbW07tXIgZyA822w$https://urldefense.com/v3/__http:/www.prime-engineer.com/__;!!HXcklc0VomgEZw!5P6gqv6Kn4t2xaD1yBdkxi_HoYX-f-1FRgcq-eUdOJUnhkjJg5M0f4Ck0mG8BT-Z-BF_36MizTzvZPZkLCzFbW07tXIgZyA822w$>
[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.
The contents of this message may be privileged and confidential. Therefore, if this message has been received in error, please delete it without reading it. Your receipt of this message is not intended to waive any applicable privilege. Please do not disseminate this message without the permission of the author.
Matt,
Regarding character substitution inside /SYS command (or similar), the old trick is to write the desired command line(s) to a separate file and then execute the file using /INPUT.
Like:
*CFOPEN,file,inp
*VWRITE, oldfolder,newfolder
/SYS, ren %C %C
*CFCLOSE
/INPUT,file,inp
Not checked... at least it is a start.
Uffe Dal Eriksen
Ramboll
Energy Transition, Marine Structures
Denmark
Classification: Confidential
-----Original Message-----
From: Matthew Ridzon, PE via Xansys xansys-temp@list.xansys.org
Sent: 17. juli 2024 13:11
To: xansys-temp@list.xansys.org
Cc: Matthew Ridzon, PE Matt@prime-engineer.com
Subject: [Xansys] APDL Command to Rename Directory
Folks,
I'm writing an APDL script and would like to rename a file directory. Is there a command for this? To my knowledge, /RENAME is for files only, and not directories.
I considered /SYS, but I cannot use APDL character substitution inside of that command.
Matt Ridzon, PE, MSME
Sr. Engineering Analyst
Email matt@prime-engineer.commailto:matt@prime-engineer.com
Mail 266 Main St, Burlington, VT 05401
Web http://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.
Hey Matt,
Have a look at the /SYP command. It's similar to /SYS but allows arguments
to be passed. Never tried it with character arguments though.
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, July 17, 2024 7:11 AM
To: xansys-temp@list.xansys.org
Cc: Matthew Ridzon, PE Matt@prime-engineer.com
Subject: [External] - [Xansys] APDL Command to Rename Directory
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'm writing an APDL script and would like to rename a file directory. Is
there a command for this? To my knowledge, /RENAME is for files only, and
not directories.
I considered /SYS, but I cannot use APDL character substitution inside of
that command.
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
!cYVVW-0jiTbilQjuF7RAPMQb9LIlOI6AOHFP3Q1ol-L87BlBdPybYnAIOvjwC0wRxTSMBh725z_
q1BqJQXQg2Mp6Zh4nPf521g$
<https://urldefense.com/v3/http://www.prime-engineer.com/;!!KM6X6ZXWXVtZ
MQ!cYVVW-0jiTbilQjuF7RAPMQb9LIlOI6AOHFP3Q1ol-L87BlBdPybYnAIOvjwC0wRxTSMBh725
z_q1BqJQXQg2Mp6Zh4SJrj7sg$ >
[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.
Look at /syp command instead
El mié, 17 de jul de 2024, 05:14, Matthew Ridzon, PE via Xansys <
xansys-temp@list.xansys.org> escribió:
Folks,
I'm writing an APDL script and would like to rename a file directory. Is
there a command for this? To my knowledge, /RENAME is for files only, and
not directories.
I considered /SYS, but I cannot use APDL character substitution inside of
that command.
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
Can anyone show me an example of /SYP? It's unclear to me how to write the syntax with a system command, but also feed arguments. The documentation for /SYP is not very helpful.
—Matt
-----Original Message-----
From: Iker Gomez via Xansys xansys-temp@list.xansys.org
Sent: Wednesday, July 17, 2024 12:48 PM
To: XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Iker Gomez iker.gomez.vazquez@gmail.com
Subject: [Xansys] Re: APDL Command to Rename Directory
Look at /syp command instead
El mié, 17 de jul de 2024, 05:14, Matthew Ridzon, PE via Xansys < xansys-temp@list.xansys.org> escribió:
Folks,
I'm writing an APDL script and would like to rename a file directory.
Is there a command for this? To my knowledge, /RENAME is for files
only, and not directories.
I considered /SYS, but I cannot use APDL character substitution inside
of that command.
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
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
Here is something:
SYP,mkdir ,'mytest' ! Create new working directory in the current WD
/CWD,'C:\default_workdir\mytest' ! Change WD to the new one
save ! save .db
I hope this helps.
Best,
Mohammad
---====
Mohammad A Gharaibeh, Ph.D.
Associate Professor
Department of Mechanical Engineering
The Hashemite University
P.O. Box 330127
Zarqa, 13133, Jordan
Tel: +962 - 5 - 390 3333 Ext. 4771
Fax: +962 - 5 - 382 6348
---====
On Wed, 17 Jul 2024 at 8:22 PM Matthew Ridzon, PE via Xansys <
xansys-temp@list.xansys.org> wrote:
Can anyone show me an example of /SYP? It's unclear to me how to write
the syntax with a system command, but also feed arguments. The
documentation for /SYP is not very helpful.
—Matt
-----Original Message-----
From: Iker Gomez via Xansys xansys-temp@list.xansys.org
Sent: Wednesday, July 17, 2024 12:48 PM
To: XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Iker Gomez iker.gomez.vazquez@gmail.com
Subject: [Xansys] Re: APDL Command to Rename Directory
Look at /syp command instead
El mié, 17 de jul de 2024, 05:14, Matthew Ridzon, PE via Xansys <
xansys-temp@list.xansys.org> escribió:
Folks,
I'm writing an APDL script and would like to rename a file directory.
Is there a command for this? To my knowledge, /RENAME is for files
only, and not directories.
I considered /SYS, but I cannot use APDL character substitution inside
of that command.
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
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
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
Oops!
Please correct to:
/SYP,mkdir ,'mytest' ! Create new working directory in the current WD
/CWD,'C:\default_workdir\mytest' ! Change WD to the new one
save ! save .db
I skipped the “/“ in SYP in the previous email.
Good luck!
---====
Mohammad A Gharaibeh, Ph.D.
Associate Professor
Department of Mechanical Engineering
The Hashemite University
P.O. Box 330127
Zarqa, 13133, Jordan
Tel: +962 - 5 - 390 3333 Ext. 4771
Fax: +962 - 5 - 382 6348
---====
On Wed, 17 Jul 2024 at 8:42 PM Mohammad Gharaibeh mgharai1@binghamton.edu
wrote:
Here is something:
SYP,mkdir ,'mytest' ! Create new working directory in the current WD
/CWD,'C:\default_workdir\mytest' ! Change WD to the new one
save ! save .db
I hope this helps.
Best,
Mohammad
---====
Mohammad A Gharaibeh, Ph.D.
Associate Professor
Department of Mechanical Engineering
The Hashemite University
P.O. Box 330127
Zarqa, 13133, Jordan
Tel: +962 - 5 - 390 3333 Ext. 4771
Fax: +962 - 5 - 382 6348
---====
On Wed, 17 Jul 2024 at 8:22 PM Matthew Ridzon, PE via Xansys <
xansys-temp@list.xansys.org> wrote:
Can anyone show me an example of /SYP? It's unclear to me how to write
the syntax with a system command, but also feed arguments. The
documentation for /SYP is not very helpful.
—Matt
-----Original Message-----
From: Iker Gomez via Xansys xansys-temp@list.xansys.org
Sent: Wednesday, July 17, 2024 12:48 PM
To: XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Iker Gomez iker.gomez.vazquez@gmail.com
Subject: [Xansys] Re: APDL Command to Rename Directory
Look at /syp command instead
El mié, 17 de jul de 2024, 05:14, Matthew Ridzon, PE via Xansys <
xansys-temp@list.xansys.org> escribió:
Folks,
I'm writing an APDL script and would like to rename a file directory.
Is there a command for this? To my knowledge, /RENAME is for files
only, and not directories.
I considered /SYS, but I cannot use APDL character substitution inside
of that command.
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
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
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
Dear sirs,
would you mind letting me know whether the PRNSOL command outputs the requested quantities only at the nodes located on a body's surface? That's the behavior I observed with some tests.
Thank you very much
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
Riccardo,
What are the PowerGraphics settings in your model?
Below is written in TFM:
PowerGraphics can affect your nodal solution listings. For PowerGraphics (
/GRAPHICS
https://www.mm.bme.hu/~gyebro/files/ans_help_v182/ans_cmd/Hlp_C_GRAPHICS.html,POWER),
results are listed for the model exterior surfaces only.
I hope this helps.
Best,
Mohammad
---====
Mohammad A Gharaibeh, Ph.D.
Associate Professor
Department of Mechanical Engineering
The Hashemite University
P.O. Box 330127
Zarqa, 13133, Jordan
Tel: +962 - 5 - 390 3333 Ext. 4771
Fax: +962 - 5 - 382 6348
---====
On Thu, 25 Jul 2024 at 9:06 AM Testi Riccardo via Xansys <
xansys-temp@list.xansys.org> wrote:
Dear sirs,
would you mind letting me know whether the PRNSOL command outputs the
requested quantities only at the nodes located on a body's surface? That's
the behavior I observed with some tests.
Thank you very much
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
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