Re: [WB] [Mechanical] Export a stress plot when using design points

CA
Caba, Aaron (US)
Tue, Sep 7, 2021 8:54 PM

Seems to me it would not be difficult to check "Arg1" in a "command
object", and in parameter page set Arg1 the same value as your design
point(like "0", "1","2"...).  In your APDL command your Arg1 value
can be used in the naming of your file.

That all depends on your definition of 'not difficult'.  On this bi-annual foray into APDL a fun 4.5 hours ensued where I opened black screen ANSYS (shudder) to debug, closed black screen ANSYS to open WB and further debug, closed WB and opened black screen ANSYS to debug again ... wash, rinse, repeat 8 or 10 times.  String concatenation, disappearing trailing spaces in strings, arbitrary length limits on some APDL variables but not others.  Good times were had.  Files were generated.  Frosty beverages soothed away some of the pain but the mental scars will live for eternity.

Aaron C. Caba, Ph.D.
Sr. Principal R&D Engineer
BAE Systems, Inc.
4050 Peppers Ferry Road, Radford VA 24143-0100 www.baesystems.com

-----Original Message-----
From: Jiaping Zhang jiapzhan@qti.qualcomm.com
Sent: Tuesday, September 7, 2021 11:34 AM
To: Caba, Aaron (US) Aaron.Caba@baesystems.com
Cc: Alfieri, Richard rich.alfieri@philips.com; XANSYS Mailing List Home xansys-temp@list.xansys.org
Subject: RE: [WB] [Mechanical] Export a stress plot when using design points

External Email Alert

This email has been sent from an account outside of the BAE Systems network.
Please treat the email with caution, especially if you are requested to click on a link, decrypt/open an attachment, or enable macros.  For further information on how to spot phishing, access OSI IT Policies and report phishing by forwarding mail to phishing@baesystems.com.

Hi Aaron,

Seems to me it would not be difficult to check "Arg1" in a "command object", and in parameter page set Arg1 the same value as your design point(like "0","1","2"...).
In your APDL command your Arg1 value can be used in the naming of your file.

Jiaping Zhang
Staff Engineer
Qualcomm Technologies

-----Original Message-----
From: Alfieri, Richard via Xansys xansys-temp@list.xansys.org
Sent: Tuesday, September 7, 2021 7:39 AM
To: XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Alfieri, Richard rich.alfieri@philips.com
Subject: [Xansys] Re: [WB] [Mechanical] Export a stress plot when using design points

WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.

I have done this before using a Results Cell.  I see this option is now missing in V2021 though.

Link the Structural Solution Cell to a Results Cell. In the Results Cell Properties, check Publish Report.  Open the results cell and create the plots you are interested in then add the image a figure to put it in the report.

I'll post another reply with figures, but not sure that will go through.

As I mentioned, the option to add a results cell appears to be missing in the 2021 versions.  It is now exclusive to fluids results.

Rich Alfieri
Senior Staff Mechanical Engineer
Core Technology Research
Philips

-----Original Message-----
From: Caba, Aaron (US) via Xansys xansys-temp@list.xansys.org
Sent: Friday, September 3, 2021 11:18 AM
To: XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Caba, Aaron (US) Aaron.Caba@baesystems.com
Subject: [Xansys] [WB] [Mechanical] Export a stress plot when using design points

Caution: This e-mail originated from outside of Philips, be careful for phishing.

I am simulating a piping attachment detail under several different load cases.  I am using the parameters in WB to feed the different load cases to Mechanical and pick out stress and displacement results, and all that is working well.

I would also like to output stress plot(s) from each design point.  Is this possible to do through the Mechanical/WB/Parameter GUI?  Nothing fancy, just saving a .jpg of the stress plot.  I have tried inserting a Figure object under my stress plot but it doesn't have an option to export the plot to a file.

Alternately,  I can put in a command snip to grab my image and save it to a file with some APDL.  But then I have to manually manage all the files, locations, names, etc.  I've done this before but would like to know if there is an easier way to get what I want.

Aaron C. Caba, Ph.D.
Sr. Principal R&D Engineer II
BAE Systems, Inc. | Ordnance Systems, Inc.

Office: +1 540 639 7086  |  Mobile: +1 540 230 3906  |  E-mail: aaron.caba@baesystems.com | Mail:  4050 Peppers Ferry Road, Radford VA 24143-0100
https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.baesystems.com%2F&data=04%7C01%7C%7C849114e546a34067e38508d96eee3bba%7C1a407a2d76754d178692b3ac285306e4%7C0%7C0%7C637662791753048109%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=e1XNmGXbSpuLmHNsEPtod4LJuDbINyEkAusnvkTACK8%3D&reserved=0


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


The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.


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

>> Seems to me it would not be difficult to check "Arg1" in a "command >> object", and in parameter page set Arg1 the same value as your design >> point(like "0", "1","2"...). In your APDL command your Arg1 value >> can be used in the naming of your file. That all depends on your definition of 'not difficult'. On this bi-annual foray into APDL a fun 4.5 hours ensued where I opened black screen ANSYS (shudder) to debug, closed black screen ANSYS to open WB and further debug, closed WB and opened black screen ANSYS to debug again ... wash, rinse, repeat 8 or 10 times. String concatenation, disappearing trailing spaces in strings, arbitrary length limits on some APDL variables but not others. Good times were had. Files were generated. Frosty beverages soothed away some of the pain but the mental scars will live for eternity. Aaron C. Caba, Ph.D. Sr. Principal R&D Engineer BAE Systems, Inc. 4050 Peppers Ferry Road, Radford VA 24143-0100 www.baesystems.com -----Original Message----- From: Jiaping Zhang <jiapzhan@qti.qualcomm.com> Sent: Tuesday, September 7, 2021 11:34 AM To: Caba, Aaron (US) <Aaron.Caba@baesystems.com> Cc: Alfieri, Richard <rich.alfieri@philips.com>; XANSYS Mailing List Home <xansys-temp@list.xansys.org> Subject: RE: [WB] [Mechanical] Export a stress plot when using design points External Email Alert This email has been sent from an account outside of the BAE Systems network. Please treat the email with caution, especially if you are requested to click on a link, decrypt/open an attachment, or enable macros. For further information on how to spot phishing, access OSI IT Policies and report phishing by forwarding mail to phishing@baesystems.com. Hi Aaron, Seems to me it would not be difficult to check "Arg1" in a "command object", and in parameter page set Arg1 the same value as your design point(like "0","1","2"...). In your APDL command your Arg1 value can be used in the naming of your file. Jiaping Zhang Staff Engineer Qualcomm Technologies -----Original Message----- From: Alfieri, Richard via Xansys <xansys-temp@list.xansys.org> Sent: Tuesday, September 7, 2021 7:39 AM To: XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc: Alfieri, Richard <rich.alfieri@philips.com> Subject: [Xansys] Re: [WB] [Mechanical] Export a stress plot when using design points WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros. I have done this before using a Results Cell. I see this option is now missing in V2021 though. Link the Structural Solution Cell to a Results Cell. In the Results Cell Properties, check Publish Report. Open the results cell and create the plots you are interested in then add the image a figure to put it in the report. I'll post another reply with figures, but not sure that will go through. As I mentioned, the option to add a results cell appears to be missing in the 2021 versions. It is now exclusive to fluids results. Rich Alfieri Senior Staff Mechanical Engineer Core Technology Research Philips -----Original Message----- From: Caba, Aaron (US) via Xansys <xansys-temp@list.xansys.org> Sent: Friday, September 3, 2021 11:18 AM To: XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc: Caba, Aaron (US) <Aaron.Caba@baesystems.com> Subject: [Xansys] [WB] [Mechanical] Export a stress plot when using design points Caution: This e-mail originated from outside of Philips, be careful for phishing. I am simulating a piping attachment detail under several different load cases. I am using the parameters in WB to feed the different load cases to Mechanical and pick out stress and displacement results, and all that is working well. I would also like to output stress plot(s) from each design point. Is this possible to do through the Mechanical/WB/Parameter GUI? Nothing fancy, just saving a .jpg of the stress plot. I have tried inserting a Figure object under my stress plot but it doesn't have an option to export the plot to a file. Alternately, I can put in a command snip to grab my image and save it to a file with some APDL. But then I have to manually manage all the files, locations, names, etc. I've done this before but would like to know if there is an easier way to get what I want. Aaron C. Caba, Ph.D. Sr. Principal R&D Engineer II BAE Systems, Inc. | Ordnance Systems, Inc. Office: +1 540 639 7086 | Mobile: +1 540 230 3906 | E-mail: aaron.caba@baesystems.com | Mail: 4050 Peppers Ferry Road, Radford VA 24143-0100 https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.baesystems.com%2F&amp;data=04%7C01%7C%7C849114e546a34067e38508d96eee3bba%7C1a407a2d76754d178692b3ac285306e4%7C0%7C0%7C637662791753048109%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=e1XNmGXbSpuLmHNsEPtod4LJuDbINyEkAusnvkTACK8%3D&amp;reserved=0 _______________________________________________ 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 ________________________________ The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. _______________________________________________ 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
JZ
Jiaping Zhang
Tue, Sep 7, 2021 10:57 PM

Hi Aaron,

Within the years lots of examples has been accumulated using command snippet, on different requirements.

For instance, the string/filename operation in command snippet, there should be ready examples(ask any ANSYS tech support) and make some modifications from there.

In fact, you don't have to open the black screen do debug as if you have the .db(tick that option under "Analysis Settings" before you solve the model), simply resume the .db and go from there. Some variables can also be printed via *Status command.  Also suggest use smaller/quicker model to test the command.
Command snippet is so powerful.  I recently used it and  finished a similar DOE problems, for material selection. Instead of having 8 separate systems(messy), I end up with 1 system beautifully using command snippet(Thanks for the developer 1000 times who came up with this smart invention!)

Again I think it is would be really straightforward for your multi-design point problems. If you still doubt it, we can talk separately and find what the specific issue is.

Jiaping Zhang
Qualcomm Technologies

-----Original Message-----
From: Caba, Aaron (US) via Xansys xansys-temp@list.xansys.org
Sent: Tuesday, September 7, 2021 1:55 PM
To: xansys-temp@list.xansys.org
Cc: Caba, Aaron (US) Aaron.Caba@baesystems.com
Subject: [Xansys] Re: [WB] [Mechanical] Export a stress plot when using design points

WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.

Seems to me it would not be difficult to check "Arg1" in a "command
object", and in parameter page set Arg1 the same value as your design
point(like "0", "1","2"...).  In your APDL command your Arg1 value
can be used in the naming of your file.

That all depends on your definition of 'not difficult'.  On this bi-annual foray into APDL a fun 4.5 hours ensued where I opened black screen ANSYS (shudder) to debug, closed black screen ANSYS to open WB and further debug, closed WB and opened black screen ANSYS to debug again ... wash, rinse, repeat 8 or 10 times.  String concatenation, disappearing trailing spaces in strings, arbitrary length limits on some APDL variables but not others.  Good times were had.  Files were generated.  Frosty beverages soothed away some of the pain but the mental scars will live for eternity.

Aaron C. Caba, Ph.D.
Sr. Principal R&D Engineer
BAE Systems, Inc.
4050 Peppers Ferry Road, Radford VA 24143-0100 www.baesystems.com

-----Original Message-----
From: Jiaping Zhang jiapzhan@qti.qualcomm.com
Sent: Tuesday, September 7, 2021 11:34 AM
To: Caba, Aaron (US) Aaron.Caba@baesystems.com
Cc: Alfieri, Richard rich.alfieri@philips.com; XANSYS Mailing List Home xansys-temp@list.xansys.org
Subject: RE: [WB] [Mechanical] Export a stress plot when using design points

External Email Alert

This email has been sent from an account outside of the BAE Systems network.
Please treat the email with caution, especially if you are requested to click on a link, decrypt/open an attachment, or enable macros.  For further information on how to spot phishing, access OSI IT Policies and report phishing by forwarding mail to phishing@baesystems.com.

Hi Aaron,

Seems to me it would not be difficult to check "Arg1" in a "command object", and in parameter page set Arg1 the same value as your design point(like "0","1","2"...).
In your APDL command your Arg1 value can be used in the naming of your file.

Jiaping Zhang
Staff Engineer
Qualcomm Technologies

-----Original Message-----
From: Alfieri, Richard via Xansys xansys-temp@list.xansys.org
Sent: Tuesday, September 7, 2021 7:39 AM
To: XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Alfieri, Richard rich.alfieri@philips.com
Subject: [Xansys] Re: [WB] [Mechanical] Export a stress plot when using design points

WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.

I have done this before using a Results Cell.  I see this option is now missing in V2021 though.

Link the Structural Solution Cell to a Results Cell. In the Results Cell Properties, check Publish Report.  Open the results cell and create the plots you are interested in then add the image a figure to put it in the report.

I'll post another reply with figures, but not sure that will go through.

As I mentioned, the option to add a results cell appears to be missing in the 2021 versions.  It is now exclusive to fluids results.

Rich Alfieri
Senior Staff Mechanical Engineer
Core Technology Research
Philips

-----Original Message-----
From: Caba, Aaron (US) via Xansys xansys-temp@list.xansys.org
Sent: Friday, September 3, 2021 11:18 AM
To: XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Caba, Aaron (US) Aaron.Caba@baesystems.com
Subject: [Xansys] [WB] [Mechanical] Export a stress plot when using design points

Caution: This e-mail originated from outside of Philips, be careful for phishing.

I am simulating a piping attachment detail under several different load cases.  I am using the parameters in WB to feed the different load cases to Mechanical and pick out stress and displacement results, and all that is working well.

I would also like to output stress plot(s) from each design point.  Is this possible to do through the Mechanical/WB/Parameter GUI?  Nothing fancy, just saving a .jpg of the stress plot.  I have tried inserting a Figure object under my stress plot but it doesn't have an option to export the plot to a file.

Alternately,  I can put in a command snip to grab my image and save it to a file with some APDL.  But then I have to manually manage all the files, locations, names, etc.  I've done this before but would like to know if there is an easier way to get what I want.

Aaron C. Caba, Ph.D.
Sr. Principal R&D Engineer II
BAE Systems, Inc. | Ordnance Systems, Inc.

Office: +1 540 639 7086  |  Mobile: +1 540 230 3906  |  E-mail: aaron.caba@baesystems.com | Mail:  4050 Peppers Ferry Road, Radford VA 24143-0100
https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.baesystems.com%2F&data=04%7C01%7C%7C849114e546a34067e38508d96eee3bba%7C1a407a2d76754d178692b3ac285306e4%7C0%7C0%7C637662791753048109%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=e1XNmGXbSpuLmHNsEPtod4LJuDbINyEkAusnvkTACK8%3D&reserved=0


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


The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.


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

Hi Aaron, Within the years lots of examples has been accumulated using command snippet, on different requirements. For instance, the string/filename operation in command snippet, there should be ready examples(ask any ANSYS tech support) and make some modifications from there. In fact, you don't have to open the black screen do debug as if you have the .db(tick that option under "Analysis Settings" before you solve the model), simply resume the .db and go from there. Some variables can also be printed via *Status command. Also suggest use smaller/quicker model to test the command. Command snippet is so powerful. I recently used it and finished a similar DOE problems, for material selection. Instead of having 8 separate systems(messy), I end up with 1 system beautifully using command snippet(Thanks for the developer 1000 times who came up with this smart invention!) Again I think it is would be really straightforward for your multi-design point problems. If you still doubt it, we can talk separately and find what the specific issue is. Jiaping Zhang Qualcomm Technologies -----Original Message----- From: Caba, Aaron (US) via Xansys <xansys-temp@list.xansys.org> Sent: Tuesday, September 7, 2021 1:55 PM To: xansys-temp@list.xansys.org Cc: Caba, Aaron (US) <Aaron.Caba@baesystems.com> Subject: [Xansys] Re: [WB] [Mechanical] Export a stress plot when using design points WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros. >> Seems to me it would not be difficult to check "Arg1" in a "command >> object", and in parameter page set Arg1 the same value as your design >> point(like "0", "1","2"...). In your APDL command your Arg1 value >> can be used in the naming of your file. That all depends on your definition of 'not difficult'. On this bi-annual foray into APDL a fun 4.5 hours ensued where I opened black screen ANSYS (shudder) to debug, closed black screen ANSYS to open WB and further debug, closed WB and opened black screen ANSYS to debug again ... wash, rinse, repeat 8 or 10 times. String concatenation, disappearing trailing spaces in strings, arbitrary length limits on some APDL variables but not others. Good times were had. Files were generated. Frosty beverages soothed away some of the pain but the mental scars will live for eternity. Aaron C. Caba, Ph.D. Sr. Principal R&D Engineer BAE Systems, Inc. 4050 Peppers Ferry Road, Radford VA 24143-0100 www.baesystems.com -----Original Message----- From: Jiaping Zhang <jiapzhan@qti.qualcomm.com> Sent: Tuesday, September 7, 2021 11:34 AM To: Caba, Aaron (US) <Aaron.Caba@baesystems.com> Cc: Alfieri, Richard <rich.alfieri@philips.com>; XANSYS Mailing List Home <xansys-temp@list.xansys.org> Subject: RE: [WB] [Mechanical] Export a stress plot when using design points External Email Alert This email has been sent from an account outside of the BAE Systems network. Please treat the email with caution, especially if you are requested to click on a link, decrypt/open an attachment, or enable macros. For further information on how to spot phishing, access OSI IT Policies and report phishing by forwarding mail to phishing@baesystems.com. Hi Aaron, Seems to me it would not be difficult to check "Arg1" in a "command object", and in parameter page set Arg1 the same value as your design point(like "0","1","2"...). In your APDL command your Arg1 value can be used in the naming of your file. Jiaping Zhang Staff Engineer Qualcomm Technologies -----Original Message----- From: Alfieri, Richard via Xansys <xansys-temp@list.xansys.org> Sent: Tuesday, September 7, 2021 7:39 AM To: XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc: Alfieri, Richard <rich.alfieri@philips.com> Subject: [Xansys] Re: [WB] [Mechanical] Export a stress plot when using design points WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros. I have done this before using a Results Cell. I see this option is now missing in V2021 though. Link the Structural Solution Cell to a Results Cell. In the Results Cell Properties, check Publish Report. Open the results cell and create the plots you are interested in then add the image a figure to put it in the report. I'll post another reply with figures, but not sure that will go through. As I mentioned, the option to add a results cell appears to be missing in the 2021 versions. It is now exclusive to fluids results. Rich Alfieri Senior Staff Mechanical Engineer Core Technology Research Philips -----Original Message----- From: Caba, Aaron (US) via Xansys <xansys-temp@list.xansys.org> Sent: Friday, September 3, 2021 11:18 AM To: XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc: Caba, Aaron (US) <Aaron.Caba@baesystems.com> Subject: [Xansys] [WB] [Mechanical] Export a stress plot when using design points Caution: This e-mail originated from outside of Philips, be careful for phishing. I am simulating a piping attachment detail under several different load cases. I am using the parameters in WB to feed the different load cases to Mechanical and pick out stress and displacement results, and all that is working well. I would also like to output stress plot(s) from each design point. Is this possible to do through the Mechanical/WB/Parameter GUI? Nothing fancy, just saving a .jpg of the stress plot. I have tried inserting a Figure object under my stress plot but it doesn't have an option to export the plot to a file. Alternately, I can put in a command snip to grab my image and save it to a file with some APDL. But then I have to manually manage all the files, locations, names, etc. I've done this before but would like to know if there is an easier way to get what I want. Aaron C. Caba, Ph.D. Sr. Principal R&D Engineer II BAE Systems, Inc. | Ordnance Systems, Inc. Office: +1 540 639 7086 | Mobile: +1 540 230 3906 | E-mail: aaron.caba@baesystems.com | Mail: 4050 Peppers Ferry Road, Radford VA 24143-0100 https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.baesystems.com%2F&amp;data=04%7C01%7C%7C849114e546a34067e38508d96eee3bba%7C1a407a2d76754d178692b3ac285306e4%7C0%7C0%7C637662791753048109%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=e1XNmGXbSpuLmHNsEPtod4LJuDbINyEkAusnvkTACK8%3D&amp;reserved=0 _______________________________________________ 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 ________________________________ The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. _______________________________________________ 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
PJ
Patterson, James
Wed, Sep 8, 2021 11:20 AM

" where I opened black screen ANSYS (shudder)"

You take that back! 😊

Thanks,

Jim

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.com
www.hendrickson-intl.com

CONFIDENTIALITY NOTICE - The contents of this message and the attachments are confidential and are for the exclusive use of the intended recipient(s). If you are not an intended recipient, please immediately delete it without reading it and without further distribution or disclosure.  Any further distribution of this message to others is subject to this Confidentiality Notice and/or any confidentiality agreement or non-disclosure agreement in effect that covers the information contained in the message and any attachments.

-----Original Message-----
From: Caba, Aaron (US) via Xansys xansys-temp@list.xansys.org
Sent: Tuesday, September 7, 2021 4:55 PM
To: xansys-temp@list.xansys.org
Cc: Caba, Aaron (US) Aaron.Caba@baesystems.com
Subject: [Xansys] Re: [WB] [Mechanical] Export a stress plot when using design points

WARNING:EXTERNAL EMAIL!


Seems to me it would not be difficult to check "Arg1" in a "command
object", and in parameter page set Arg1 the same value as your design
point(like "0", "1","2"...).  In your APDL command your Arg1 value
can be used in the naming of your file.

That all depends on your definition of 'not difficult'.  On this bi-annual foray into APDL a fun 4.5 hours ensued where I opened black screen ANSYS (shudder) to debug, closed black screen ANSYS to open WB and further debug, closed WB and opened black screen ANSYS to debug again ... wash, rinse, repeat 8 or 10 times.  String concatenation, disappearing trailing spaces in strings, arbitrary length limits on some APDL variables but not others.  Good times were had.  Files were generated.  Frosty beverages soothed away some of the pain but the mental scars will live for eternity.

Aaron C. Caba, Ph.D.
Sr. Principal R&D Engineer
BAE Systems, Inc.
4050 Peppers Ferry Road, Radford VA 24143-0100 https://urldefense.com/v3/http://www.baesystems.com;!!HXcklc0VomgEZw!uc-o6LtiDjGaP2IGDiDKSHfr9RgRGviFPRbCJUnHFUY3I7RhCJEdg8qeoExyuHKqSQ5xMdSz$

-----Original Message-----
From: Jiaping Zhang jiapzhan@qti.qualcomm.com
Sent: Tuesday, September 7, 2021 11:34 AM
To: Caba, Aaron (US) Aaron.Caba@baesystems.com
Cc: Alfieri, Richard rich.alfieri@philips.com; XANSYS Mailing List Home xansys-temp@list.xansys.org
Subject: RE: [WB] [Mechanical] Export a stress plot when using design points

External Email Alert

This email has been sent from an account outside of the BAE Systems network.
Please treat the email with caution, especially if you are requested to click on a link, decrypt/open an attachment, or enable macros.  For further information on how to spot phishing, access OSI IT Policies and report phishing by forwarding mail to phishing@baesystems.com.

Hi Aaron,

Seems to me it would not be difficult to check "Arg1" in a "command object", and in parameter page set Arg1 the same value as your design point(like "0","1","2"...).
In your APDL command your Arg1 value can be used in the naming of your file.

Jiaping Zhang
Staff Engineer
Qualcomm Technologies

-----Original Message-----
From: Alfieri, Richard via Xansys xansys-temp@list.xansys.org
Sent: Tuesday, September 7, 2021 7:39 AM
To: XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Alfieri, Richard rich.alfieri@philips.com
Subject: [Xansys] Re: [WB] [Mechanical] Export a stress plot when using design points

WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.

I have done this before using a Results Cell.  I see this option is now missing in V2021 though.

Link the Structural Solution Cell to a Results Cell. In the Results Cell Properties, check Publish Report.  Open the results cell and create the plots you are interested in then add the image a figure to put it in the report.

I'll post another reply with figures, but not sure that will go through.

As I mentioned, the option to add a results cell appears to be missing in the 2021 versions.  It is now exclusive to fluids results.

Rich Alfieri
Senior Staff Mechanical Engineer
Core Technology Research
Philips

-----Original Message-----
From: Caba, Aaron (US) via Xansys xansys-temp@list.xansys.org
Sent: Friday, September 3, 2021 11:18 AM
To: XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Caba, Aaron (US) Aaron.Caba@baesystems.com
Subject: [Xansys] [WB] [Mechanical] Export a stress plot when using design points

Caution: This e-mail originated from outside of Philips, be careful for phishing.

I am simulating a piping attachment detail under several different load cases.  I am using the parameters in WB to feed the different load cases to Mechanical and pick out stress and displacement results, and all that is working well.

I would also like to output stress plot(s) from each design point.  Is this possible to do through the Mechanical/WB/Parameter GUI?  Nothing fancy, just saving a .jpg of the stress plot.  I have tried inserting a Figure object under my stress plot but it doesn't have an option to export the plot to a file.

Alternately,  I can put in a command snip to grab my image and save it to a file with some APDL.  But then I have to manually manage all the files, locations, names, etc.  I've done this before but would like to know if there is an easier way to get what I want.

Aaron C. Caba, Ph.D.
Sr. Principal R&D Engineer II
BAE Systems, Inc. | Ordnance Systems, Inc.

Office: +1 540 639 7086  |  Mobile: +1 540 230 3906  |  E-mail: aaron.caba@baesystems.com | Mail:  4050 Peppers Ferry Road, Radford VA 24143-0100 https://urldefense.com/v3/https://eur01.safelinks.protection.outlook.com/?url=http3A2F2Fwww.baesystems.com2F&data=047C017C7C849114e546a34067e38508d96eee3bba7C1a407a2d76754d178692b3ac285306e47C07C07C6376627917530481097CUnknown7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn03D7C1000&sdata=e1XNmGXbSpuLmHNsEPtod4LJuDbINyEkAusnvkTACK83D&reserved=0;JSUlJSUlJSUlJSUlJSUlJQ!!HXcklc0VomgEZw!uc-o6LtiDjGaP2IGDiDKSHfr9RgRGviFPRbCJUnHFUY3I7RhCJEdg8qeoExyuHKqScc7R_V-$


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


The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.


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

" where I opened black screen ANSYS (shudder)" You take that back! 😊 Thanks, Jim 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.com www.hendrickson-intl.com CONFIDENTIALITY NOTICE - The contents of this message and the attachments are confidential and are for the exclusive use of the intended recipient(s). If you are not an intended recipient, please immediately delete it without reading it and without further distribution or disclosure.  Any further distribution of this message to others is subject to this Confidentiality Notice and/or any confidentiality agreement or non-disclosure agreement in effect that covers the information contained in the message and any attachments. -----Original Message----- From: Caba, Aaron (US) via Xansys <xansys-temp@list.xansys.org> Sent: Tuesday, September 7, 2021 4:55 PM To: xansys-temp@list.xansys.org Cc: Caba, Aaron (US) <Aaron.Caba@baesystems.com> Subject: [Xansys] Re: [WB] [Mechanical] Export a stress plot when using design points WARNING:EXTERNAL EMAIL! ********************************************************************** >> Seems to me it would not be difficult to check "Arg1" in a "command >> object", and in parameter page set Arg1 the same value as your design >> point(like "0", "1","2"...). In your APDL command your Arg1 value >> can be used in the naming of your file. That all depends on your definition of 'not difficult'. On this bi-annual foray into APDL a fun 4.5 hours ensued where I opened black screen ANSYS (shudder) to debug, closed black screen ANSYS to open WB and further debug, closed WB and opened black screen ANSYS to debug again ... wash, rinse, repeat 8 or 10 times. String concatenation, disappearing trailing spaces in strings, arbitrary length limits on some APDL variables but not others. Good times were had. Files were generated. Frosty beverages soothed away some of the pain but the mental scars will live for eternity. Aaron C. Caba, Ph.D. Sr. Principal R&D Engineer BAE Systems, Inc. 4050 Peppers Ferry Road, Radford VA 24143-0100 https://urldefense.com/v3/__http://www.baesystems.com__;!!HXcklc0VomgEZw!uc-o6LtiDjGaP2IGDiDKSHfr9RgRGviFPRbCJUnHFUY3I7RhCJEdg8qeoExyuHKqSQ5xMdSz$ -----Original Message----- From: Jiaping Zhang <jiapzhan@qti.qualcomm.com> Sent: Tuesday, September 7, 2021 11:34 AM To: Caba, Aaron (US) <Aaron.Caba@baesystems.com> Cc: Alfieri, Richard <rich.alfieri@philips.com>; XANSYS Mailing List Home <xansys-temp@list.xansys.org> Subject: RE: [WB] [Mechanical] Export a stress plot when using design points External Email Alert This email has been sent from an account outside of the BAE Systems network. Please treat the email with caution, especially if you are requested to click on a link, decrypt/open an attachment, or enable macros. For further information on how to spot phishing, access OSI IT Policies and report phishing by forwarding mail to phishing@baesystems.com. Hi Aaron, Seems to me it would not be difficult to check "Arg1" in a "command object", and in parameter page set Arg1 the same value as your design point(like "0","1","2"...). In your APDL command your Arg1 value can be used in the naming of your file. Jiaping Zhang Staff Engineer Qualcomm Technologies -----Original Message----- From: Alfieri, Richard via Xansys <xansys-temp@list.xansys.org> Sent: Tuesday, September 7, 2021 7:39 AM To: XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc: Alfieri, Richard <rich.alfieri@philips.com> Subject: [Xansys] Re: [WB] [Mechanical] Export a stress plot when using design points WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros. I have done this before using a Results Cell. I see this option is now missing in V2021 though. Link the Structural Solution Cell to a Results Cell. In the Results Cell Properties, check Publish Report. Open the results cell and create the plots you are interested in then add the image a figure to put it in the report. I'll post another reply with figures, but not sure that will go through. As I mentioned, the option to add a results cell appears to be missing in the 2021 versions. It is now exclusive to fluids results. Rich Alfieri Senior Staff Mechanical Engineer Core Technology Research Philips -----Original Message----- From: Caba, Aaron (US) via Xansys <xansys-temp@list.xansys.org> Sent: Friday, September 3, 2021 11:18 AM To: XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc: Caba, Aaron (US) <Aaron.Caba@baesystems.com> Subject: [Xansys] [WB] [Mechanical] Export a stress plot when using design points Caution: This e-mail originated from outside of Philips, be careful for phishing. I am simulating a piping attachment detail under several different load cases. I am using the parameters in WB to feed the different load cases to Mechanical and pick out stress and displacement results, and all that is working well. I would also like to output stress plot(s) from each design point. Is this possible to do through the Mechanical/WB/Parameter GUI? Nothing fancy, just saving a .jpg of the stress plot. I have tried inserting a Figure object under my stress plot but it doesn't have an option to export the plot to a file. Alternately, I can put in a command snip to grab my image and save it to a file with some APDL. But then I have to manually manage all the files, locations, names, etc. I've done this before but would like to know if there is an easier way to get what I want. Aaron C. Caba, Ph.D. Sr. Principal R&D Engineer II BAE Systems, Inc. | Ordnance Systems, Inc. Office: +1 540 639 7086 | Mobile: +1 540 230 3906 | E-mail: aaron.caba@baesystems.com | Mail: 4050 Peppers Ferry Road, Radford VA 24143-0100 https://urldefense.com/v3/__https://eur01.safelinks.protection.outlook.com/?url=http*3A*2F*2Fwww.baesystems.com*2F&amp;data=04*7C01*7C*7C849114e546a34067e38508d96eee3bba*7C1a407a2d76754d178692b3ac285306e4*7C0*7C0*7C637662791753048109*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C1000&amp;sdata=e1XNmGXbSpuLmHNsEPtod4LJuDbINyEkAusnvkTACK8*3D&amp;reserved=0__;JSUlJSUlJSUlJSUlJSUlJQ!!HXcklc0VomgEZw!uc-o6LtiDjGaP2IGDiDKSHfr9RgRGviFPRbCJUnHFUY3I7RhCJEdg8qeoExyuHKqScc7R_V-$ _______________________________________________ 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 ________________________________ The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. _______________________________________________ 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
CA
Caba, Aaron (US)
Wed, Sep 8, 2021 12:54 PM

Jiaping,

Don't get me wrong, I really appreciate the power and flexibility of command snips, and I've used them to good effect in rather complicated ways before.  You can get under the hood of ANSYS and make it do exactly what you want.  APDL is still easier to understand than the Python or JavaScript or VBA that other tool use for scripting.  It is clean and well designed for its intended purpose.

In fact, you don't have to open the black screen do debug as if you have the
.db(tick that option under "Analysis Settings" before you solve the model),
simply resume the .db and go from there. Some variables can also be printed
via *Status command.  Also suggest use smaller/quicker model to test the command.

The problem with this route is the time cost to start MAPDL, resume the DB, exit MAPDL, get back to Mechanical and finally mouse to the Post Output is on the order of 30 seconds between ... every ... single ... edit ... even ... if ... it ... is ... a ... single ... character ... typo.  So I do my script editing in black screen (shudder - that's for you Jim!) so I can see immediate results and really shorten the run-edit-run loops.

Again I think it is would be really straightforward ...

In principle, I agree.  The time sink happens because I only deep dive into APDL once or twice a year and have to climb back up the learning curve each time.  Even modifying a working script this takes time.  A missing comma, re-learning how the view orientation works, spaces disappearing from the end of strings (WTF ANSYS?  I put it there for a reason!), etc.

I'm not even sure what I'm ranting about at this point.  I just needed to vent to someone and my cats were getting tired of listening to me.

Aaron C. Caba, Ph.D.
Sr. Principal R&D Engineer
BAE Systems, Inc.
4050 Peppers Ferry Road, Radford VA 24143-0100
www.baesystems.com

Jiaping, Don't get me wrong, I really appreciate the power and flexibility of command snips, and I've used them to good effect in rather complicated ways before. You can get under the hood of ANSYS and make it do exactly what you want. APDL is still easier to understand than the Python or JavaScript or VBA that other tool use for scripting. It is clean and well designed for its intended purpose. >> In fact, you don't have to open the black screen do debug as if you have the >> .db(tick that option under "Analysis Settings" before you solve the model), >> simply resume the .db and go from there. Some variables can also be printed >> via *Status command. Also suggest use smaller/quicker model to test the command. The problem with this route is the time cost to start MAPDL, resume the DB, exit MAPDL, get back to Mechanical and finally mouse to the Post Output is on the order of 30 seconds between ... every ... single ... edit ... even ... if ... it ... is ... a ... single ... character ... typo. So I do my script editing in black screen (shudder - that's for you Jim!) so I can see immediate results and really shorten the run-edit-run loops. >> Again I think it is would be really straightforward ... In principle, I agree. The time sink happens because I only deep dive into APDL once or twice a year and have to climb back up the learning curve each time. Even modifying a working script this takes time. A missing comma, re-learning how the view orientation works, spaces disappearing from the end of strings (WTF ANSYS? I put it there for a reason!), etc. I'm not even sure what I'm ranting about at this point. I just needed to vent to someone and my cats were getting tired of listening to me. Aaron C. Caba, Ph.D. Sr. Principal R&D Engineer BAE Systems, Inc. 4050 Peppers Ferry Road, Radford VA 24143-0100 www.baesystems.com
JZ
Jiaping Zhang
Wed, Sep 8, 2021 5:57 PM

Hi Aaron,

No problem. Being an engineer myself, could understand where you come from.

When writing code some unexpected time to debug and verify is possible.

On the other hand, if you keep the parametric and manually copy the image out, or replace the parametric system by many manual "Static Structural" system, it cost time for each copy/paste static system and open Mechanical do the setup,  and also WB page does not look neat, easy to make mistakes...

From this perspective, seems have to invest the time either way... If this is a setup that would possibly be used in later project/products, then I feel you could  reap the benefits of efforts spend on writing commands.

Jiaping Zhang
Qualcomm Technologies

-----Original Message-----
From: Caba, Aaron (US) via Xansys xansys-temp@list.xansys.org
Sent: Wednesday, September 8, 2021 5:54 AM
To: XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Caba, Aaron (US) Aaron.Caba@baesystems.com
Subject: [Xansys] Re: [WB] [Mechanical] Export a stress plot when using design points

WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.

Jiaping,

Don't get me wrong, I really appreciate the power and flexibility of command snips, and I've used them to good effect in rather complicated ways before.  You can get under the hood of ANSYS and make it do exactly what you want.  APDL is still easier to understand than the Python or JavaScript or VBA that other tool use for scripting.  It is clean and well designed for its intended purpose.

In fact, you don't have to open the black screen do debug as if you
have the .db(tick that option under "Analysis Settings" before you
solve the model), simply resume the .db and go from there. Some
variables can also be printed via *Status command.  Also suggest use smaller/quicker model to test the command.

The problem with this route is the time cost to start MAPDL, resume the DB, exit MAPDL, get back to Mechanical and finally mouse to the Post Output is on the order of 30 seconds between ... every ... single ... edit ... even ... if ... it ... is ... a ... single ... character ... typo.  So I do my script editing in black screen (shudder - that's for you Jim!) so I can see immediate results and really shorten the run-edit-run loops.

Again I think it is would be really straightforward ...

In principle, I agree.  The time sink happens because I only deep dive into APDL once or twice a year and have to climb back up the learning curve each time.  Even modifying a working script this takes time.  A missing comma, re-learning how the view orientation works, spaces disappearing from the end of strings (WTF ANSYS?  I put it there for a reason!), etc.

I'm not even sure what I'm ranting about at this point.  I just needed to vent to someone and my cats were getting tired of listening to me.

Aaron C. Caba, Ph.D.
Sr. Principal R&D Engineer
BAE Systems, Inc.
4050 Peppers Ferry Road, Radford VA 24143-0100 www.baesystems.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

Hi Aaron, No problem. Being an engineer myself, could understand where you come from. When writing code some unexpected time to debug and verify is possible. On the other hand, if you keep the parametric and manually copy the image out, or replace the parametric system by many manual "Static Structural" system, it cost time for each copy/paste static system and open Mechanical do the setup, and also WB page does not look neat, easy to make mistakes... From this perspective, seems have to invest the time either way... If this is a setup that would possibly be used in later project/products, then I feel you could reap the benefits of efforts spend on writing commands. Jiaping Zhang Qualcomm Technologies -----Original Message----- From: Caba, Aaron (US) via Xansys <xansys-temp@list.xansys.org> Sent: Wednesday, September 8, 2021 5:54 AM To: XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc: Caba, Aaron (US) <Aaron.Caba@baesystems.com> Subject: [Xansys] Re: [WB] [Mechanical] Export a stress plot when using design points WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros. Jiaping, Don't get me wrong, I really appreciate the power and flexibility of command snips, and I've used them to good effect in rather complicated ways before. You can get under the hood of ANSYS and make it do exactly what you want. APDL is still easier to understand than the Python or JavaScript or VBA that other tool use for scripting. It is clean and well designed for its intended purpose. >> In fact, you don't have to open the black screen do debug as if you >> have the .db(tick that option under "Analysis Settings" before you >> solve the model), simply resume the .db and go from there. Some >> variables can also be printed via *Status command. Also suggest use smaller/quicker model to test the command. The problem with this route is the time cost to start MAPDL, resume the DB, exit MAPDL, get back to Mechanical and finally mouse to the Post Output is on the order of 30 seconds between ... every ... single ... edit ... even ... if ... it ... is ... a ... single ... character ... typo. So I do my script editing in black screen (shudder - that's for you Jim!) so I can see immediate results and really shorten the run-edit-run loops. >> Again I think it is would be really straightforward ... In principle, I agree. The time sink happens because I only deep dive into APDL once or twice a year and have to climb back up the learning curve each time. Even modifying a working script this takes time. A missing comma, re-learning how the view orientation works, spaces disappearing from the end of strings (WTF ANSYS? I put it there for a reason!), etc. I'm not even sure what I'm ranting about at this point. I just needed to vent to someone and my cats were getting tired of listening to me. Aaron C. Caba, Ph.D. Sr. Principal R&D Engineer BAE Systems, Inc. 4050 Peppers Ferry Road, Radford VA 24143-0100 www.baesystems.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