Re: [Xansys] Extracting "user defined results"

"
"라쉬"
Tue, Feb 26, 2019 1:06 PM

Dear Chris, 
 
Thank you for your reply and suggestion. Actually my intention is to do a "response surface optimization" using "factor of safety" as an optimization goal. The results are already made with the full range of principal stress with having zero in the range to show the areas in tension and compressive stress. 
 
Thank you.
Best Regards,
Rashiga
Korea University of Science and Technology
 
P.S - Dear XANSYS members please accept my apologies for the inconvenience caused by not answering this email thread in a single email.

-----------------------Original message-----------------------
From: "chrisw@skypoint.com "chrisw@skypoint.com
To: XANSYS Mailing List Temporary Home xansys-temp@xansystest.info
Sent date: 2019-02-24 05:21:59 GMT +0900 (ROK)
Title: Re: [Xansys] Extracting "user defined results"
 
 
 

On Feb 23, 2019, at 9:32 AM, Neil Dencklau denck007@umn.edu wrote:

 

 

I need to calculate "factor of safety" for a brittle material using

 

"elemental" max. principal stress. Since the default "factor of safety" is

 

based on "nodal" stress. I'm planning to use "user defined results".

 

But I only need to extract the positive max. principal stress neglecting

 

any negative values.

 

How can I do it? I'm using ANSYS Mechanical workbench.

 
 
If you're looking just to make a plot you can do it real easy by setting the contour values to range from 0 to whatever your max value is. No need to write any code to exclude anything. As a practical matter you're wasting your time with this whole exercise of excluding compressive stresses. Anyone with any sense will understand that there are areas of compressive stress that are to be ignored. Your display will look a lot more professional if you present all the data. But that's your call.
 
 
Christopher Wright P.E. |"They couldn't hit an elephant at
 
chrisw@skypoint.com | this distance" (last words of Gen.
 
.......................................| John Sedgwick, Spotsylvania 1864)
 
http://www.skypoint.com/members/chrisw/
 
 
 
 


 
Xansys-temp mailing list
 
Xansys-temp@xansystest.info
 
http://xansystest.info/mailman/listinfo/xansys-temp_xansystest.info
 
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 Chris,    Thank you for your reply and suggestion. Actually my intention is to do a "response surface optimization" using "factor of safety" as an optimization goal. The results are already made with the full range of principal stress with having zero in the range to show the areas in tension and compressive stress.    Thank you. Best Regards, Rashiga Korea University of Science and Technology   P.S - Dear XANSYS members please accept my apologies for the inconvenience caused by not answering this email thread in a single email. -----------------------Original message----------------------- From: "chrisw@skypoint.com "<chrisw@skypoint.com> To: XANSYS Mailing List Temporary Home <xansys-temp@xansystest.info> Sent date: 2019-02-24 05:21:59 GMT +0900 (ROK) Title: Re: [Xansys] Extracting "user defined results"       > On Feb 23, 2019, at 9:32 AM, Neil Dencklau <denck007@umn.edu> wrote:   >   >> I need to calculate "factor of safety" for a brittle material using   >> "elemental" max. principal stress. Since the default "factor of safety" is   >> based on "nodal" stress. I'm planning to use "user defined results".   >> But I only need to extract the positive max. principal stress neglecting   >> any negative values.   >> How can I do it? I'm using ANSYS Mechanical workbench.     If you're looking just to make a plot you can do it real easy by setting the contour values to range from 0 to whatever your max value is. No need to write any code to exclude anything. As a practical matter you're wasting your time with this whole exercise of excluding compressive stresses. Anyone with any sense will understand that there are areas of compressive stress that are to be ignored. Your display will look a lot more professional if you present all the data. But that's your call.     Christopher Wright P.E. |"They couldn't hit an elephant at   chrisw@skypoint.com | this distance" (last words of Gen.   .......................................| John Sedgwick, Spotsylvania 1864)   http://www.skypoint.com/members/chrisw/         _______________________________________________   Xansys-temp mailing list   Xansys-temp@xansystest.info   http://xansystest.info/mailman/listinfo/xansys-temp_xansystest.info   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      
ND
Neil Dencklau
Wed, Feb 27, 2019 12:58 AM

Sorry about that. The reason the max(0,S1) does joy work is because of a
type mismatch. 0 is a float or integer, S1 is an array/list. Apparently the
max function is only meant to work element wise. S1/S1 works because it
returns an array/list of 1's. S1*0 would also work because it will return
an array/list of 0's before running the max function ( think order of
operations).

Neil Dencklau
University of Minnesota

On Tue, Feb 26, 2019, 7:07 AM "라쉬" rashi@koreatech.ac.kr wrote:

Dear Chris,

Thank you for your reply and suggestion. Actually my intention is to do a
"response surface optimization" using "factor of safety" as an optimization
goal. The results are already made with the full range of principal stress
with having zero in the range to show the areas in tension and compressive
stress.

Thank you.
Best Regards,
Rashiga
Korea University of Science and Technology

P.S - Dear XANSYS members please accept my apologies for the inconvenience
caused by not answering this email thread in a single email.

-----------------------Original message-----------------------
From: "chrisw@skypoint.com "chrisw@skypoint.com
To: XANSYS Mailing List Temporary Home xansys-temp@xansystest.info
Sent date: 2019-02-24 05:21:59 GMT +0900 (ROK)
Title: Re: [Xansys] Extracting "user defined results"

On Feb 23, 2019, at 9:32 AM, Neil Dencklau denck007@umn.edu wrote:

I need to calculate "factor of safety" for a brittle material using

"elemental" max. principal stress. Since the default "factor of safety"

is

based on "nodal" stress. I'm planning to use "user defined results".

But I only need to extract the positive max. principal stress neglecting

any negative values.

How can I do it? I'm using ANSYS Mechanical workbench.

If you're looking just to make a plot you can do it real easy by setting
the contour values to range from 0 to whatever your max value is. No need
to write any code to exclude anything. As a practical matter you're wasting
your time with this whole exercise of excluding compressive stresses.
Anyone with any sense will understand that there are areas of compressive
stress that are to be ignored. Your display will look a lot more
professional if you present all the data. But that's your call.

Christopher Wright P.E. |"They couldn't hit an elephant at

chrisw@skypoint.com | this distance" (last words of Gen.

.......................................| John Sedgwick, Spotsylvania 1864)

http://www.skypoint.com/members/chrisw/


Xansys-temp mailing list

Xansys-temp@xansystest.info

http://xansystest.info/mailman/listinfo/xansys-temp_xansystest.info

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-temp mailing list
Xansys-temp@xansystest.info
http://xansystest.info/mailman/listinfo/xansys-temp_xansystest.info
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

Sorry about that. The reason the max(0,S1) does joy work is because of a type mismatch. 0 is a float or integer, S1 is an array/list. Apparently the max function is only meant to work element wise. S1/S1 works because it returns an array/list of 1's. S1*0 would also work because it will return an array/list of 0's before running the max function ( think order of operations). Neil Dencklau University of Minnesota On Tue, Feb 26, 2019, 7:07 AM "라쉬" <rashi@koreatech.ac.kr> wrote: > Dear Chris, > > Thank you for your reply and suggestion. Actually my intention is to do a > "response surface optimization" using "factor of safety" as an optimization > goal. The results are already made with the full range of principal stress > with having zero in the range to show the areas in tension and compressive > stress. > > Thank you. > Best Regards, > Rashiga > Korea University of Science and Technology > > P.S - Dear XANSYS members please accept my apologies for the inconvenience > caused by not answering this email thread in a single email. > > > -----------------------Original message----------------------- > From: "chrisw@skypoint.com "<chrisw@skypoint.com> > To: XANSYS Mailing List Temporary Home <xansys-temp@xansystest.info> > Sent date: 2019-02-24 05:21:59 GMT +0900 (ROK) > Title: Re: [Xansys] Extracting "user defined results" > > > > > On Feb 23, 2019, at 9:32 AM, Neil Dencklau <denck007@umn.edu> wrote: > > > > > >> I need to calculate "factor of safety" for a brittle material using > > >> "elemental" max. principal stress. Since the default "factor of safety" > is > > >> based on "nodal" stress. I'm planning to use "user defined results". > > >> But I only need to extract the positive max. principal stress neglecting > > >> any negative values. > > >> How can I do it? I'm using ANSYS Mechanical workbench. > > > If you're looking just to make a plot you can do it real easy by setting > the contour values to range from 0 to whatever your max value is. No need > to write any code to exclude anything. As a practical matter you're wasting > your time with this whole exercise of excluding compressive stresses. > Anyone with any sense will understand that there are areas of compressive > stress that are to be ignored. Your display will look a lot more > professional if you present all the data. But that's your call. > > > Christopher Wright P.E. |"They couldn't hit an elephant at > > chrisw@skypoint.com | this distance" (last words of Gen. > > .......................................| John Sedgwick, Spotsylvania 1864) > > http://www.skypoint.com/members/chrisw/ > > > > > _______________________________________________ > > Xansys-temp mailing list > > Xansys-temp@xansystest.info > > http://xansystest.info/mailman/listinfo/xansys-temp_xansystest.info > > 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-temp mailing list > Xansys-temp@xansystest.info > http://xansystest.info/mailman/listinfo/xansys-temp_xansystest.info > 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 >