[APDL] Display strain absolute value

KA
Kelly, Andrew
Tue, Jun 28, 2016 5:32 PM

See this old post:  http://www.xansys.org/forum/viewtopic.php?t=24962&sid=042c343d0cee12ef1ba5301da5b89081

Maybe extract the strains into an array, use VSCFUN to get the absolute value, then create a new DOF to store the result and plot as per Joseph's process.

I thought I had a similar need, but never needed it bad enough to actually try it.

-- Andrew

Andrew Kelly, P.E.
Engineering Manager, Load
Honeywell | Sensing & Productivity Solutions
2080 Arlingate Lane
Columbus, OH 43228
Office:  614.850.7818
Toll Free:  800.848.6564
Fax:  614.850.1111

andrew.kelly@honeywell.commailto:andrew.kelly@honeywell.com
measurementsensors.honeywell.com
Twitter: @HoneywellNow


Message: 2
Date: Tue, 28 Jun 2016 09:30:56 +0000
From: Oumarkatar Sarah <sarah.oumarkatar@etu.u-pec.frmailto:sarah.oumarkatar@etu.u-pec.fr>
To: "xansys-temp@xansystest.infomailto:xansys-temp@xansystest.info" <xansys-temp@xansystest.infomailto:xansys-temp@xansystest.info>
Subject: [Xansys] [APDL] Display strain absolute value
Message-ID:
<VI1PR01MB1886916358AA7823A82AAD80EA220@VI1PR01MB1886.eurprd01.prod.exchangelabs.commailto:VI1PR01MB1886916358AA7823A82AAD80EA220@VI1PR01MB1886.eurprd01.prod.exchangelabs.com>

Content-Type: text/plain; charset="iso-8859-1"

Dear all,

Is there a way in Ansys APDL to display the absolute value of the strain (plnsol,epel,x for intance) ?

Thank you in advance,

Sarah Oumarkatar
Universit? Paris Est Cr?teil

See this old post: http://www.xansys.org/forum/viewtopic.php?t=24962&sid=042c343d0cee12ef1ba5301da5b89081 Maybe extract the strains into an array, use VSCFUN to get the absolute value, then create a new DOF to store the result and plot as per Joseph's process. I thought I had a similar need, but never needed it bad enough to actually try it. -- Andrew Andrew Kelly, P.E. Engineering Manager, Load Honeywell | Sensing & Productivity Solutions 2080 Arlingate Lane Columbus, OH 43228 Office: 614.850.7818 Toll Free: 800.848.6564 Fax: 614.850.1111 andrew.kelly@honeywell.com<mailto:andrew.kelly@honeywell.com> measurementsensors.honeywell.com Twitter: @HoneywellNow ------------------------------ Message: 2 Date: Tue, 28 Jun 2016 09:30:56 +0000 From: Oumarkatar Sarah <sarah.oumarkatar@etu.u-pec.fr<mailto:sarah.oumarkatar@etu.u-pec.fr>> To: "xansys-temp@xansystest.info<mailto:xansys-temp@xansystest.info>" <xansys-temp@xansystest.info<mailto:xansys-temp@xansystest.info>> Subject: [Xansys] [APDL] Display strain absolute value Message-ID: <VI1PR01MB1886916358AA7823A82AAD80EA220@VI1PR01MB1886.eurprd01.prod.exchangelabs.com<mailto:VI1PR01MB1886916358AA7823A82AAD80EA220@VI1PR01MB1886.eurprd01.prod.exchangelabs.com>> Content-Type: text/plain; charset="iso-8859-1" Dear all, Is there a way in Ansys APDL to display the absolute value of the strain (plnsol,epel,x for intance) ? Thank you in advance, Sarah Oumarkatar Universit? Paris Est Cr?teil
OS
Oumarkatar Sarah
Wed, Jun 29, 2016 12:04 PM

Thank you for the answer.

I stored the absolute value of strains in an array.

How can I create a new DOF to store my new result ? Is it the command "dof,sp01" in Joseph's post ?

Here is what I've done for now :

/post1

...

*get,nnode,node,,num,max    ! get the number of node

*dim,str,array,nnode,2              ! create array

*do,i,1,nnode                            ! store the XY-strain of each node in ns
str(i,1)=i
*get,str(i,2),node,str(i,1),epel,xy
*Enddo

*cfopen,abs_def,txt                  ! Create file

*do,i,1,nnode
*CFWRITE,node,str(i,1),str(i,2)
*Enddo

*cfclos
....

Do I have to add this result (array str) to the actual DOF ?

Thanks a lot,

Sarah Oumarkatar

Université Paris-Est Créteil


De : Xansys-temp xansys-temp-bounces@xansystest.info de la part de Kelly, Andrew Andrew.Kelly@Honeywell.com
Envoyé : mardi 28 juin 2016 20:32:42
À : xansys-temp@xansystest.info
Objet : [Xansys] [APDL] Display strain absolute value

See this old post:  http://www.xansys.org/forum/viewtopic.php?t=24962&sid=042c343d0cee12ef1ba5301da5b89081

Maybe extract the strains into an array, use VSCFUN to get the absolute value, then create a new DOF to store the result and plot as per Joseph's process.

I thought I had a similar need, but never needed it bad enough to actually try it.

-- Andrew

Andrew Kelly, P.E.
Engineering Manager, Load
Honeywell | Sensing & Productivity Solutions
2080 Arlingate Lane
Columbus, OH 43228
Office:  614.850.7818
Toll Free:  800.848.6564
Fax:  614.850.1111

andrew.kelly@honeywell.commailto:andrew.kelly@honeywell.com
measurementsensors.honeywell.com
Twitter: @HoneywellNow


Message: 2
Date: Tue, 28 Jun 2016 09:30:56 +0000
From: Oumarkatar Sarah <sarah.oumarkatar@etu.u-pec.frmailto:sarah.oumarkatar@etu.u-pec.fr>
To: "xansys-temp@xansystest.infomailto:xansys-temp@xansystest.info" <xansys-temp@xansystest.infomailto:xansys-temp@xansystest.info>
Subject: [Xansys] [APDL] Display strain absolute value
Message-ID:
<VI1PR01MB1886916358AA7823A82AAD80EA220@VI1PR01MB1886.eurprd01.prod.exchangelabs.commailto:VI1PR01MB1886916358AA7823A82AAD80EA220@VI1PR01MB1886.eurprd01.prod.exchangelabs.com>

Content-Type: text/plain; charset="iso-8859-1"

Dear all,

Is there a way in Ansys APDL to display the absolute value of the strain (plnsol,epel,x for intance) ?

Thank you in advance,

Sarah Oumarkatar
Universit? Paris Est Cr?teil


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

Thank you for the answer. I stored the absolute value of strains in an array. How can I create a new DOF to store my new result ? Is it the command "dof,sp01" in Joseph's post ? Here is what I've done for now : /post1 ... *get,nnode,node,,num,max ! get the number of node *dim,str,array,nnode,2 ! create array *do,i,1,nnode ! store the XY-strain of each node in ns str(i,1)=i *get,str(i,2),node,str(i,1),epel,xy *Enddo *cfopen,abs_def,txt ! Create file *do,i,1,nnode *CFWRITE,node,str(i,1),str(i,2) *Enddo *cfclos .... Do I have to add this result (array str) to the actual DOF ? Thanks a lot, Sarah Oumarkatar Université Paris-Est Créteil ________________________________ De : Xansys-temp <xansys-temp-bounces@xansystest.info> de la part de Kelly, Andrew <Andrew.Kelly@Honeywell.com> Envoyé : mardi 28 juin 2016 20:32:42 À : xansys-temp@xansystest.info Objet : [Xansys] [APDL] Display strain absolute value See this old post: http://www.xansys.org/forum/viewtopic.php?t=24962&sid=042c343d0cee12ef1ba5301da5b89081 Maybe extract the strains into an array, use VSCFUN to get the absolute value, then create a new DOF to store the result and plot as per Joseph's process. I thought I had a similar need, but never needed it bad enough to actually try it. -- Andrew Andrew Kelly, P.E. Engineering Manager, Load Honeywell | Sensing & Productivity Solutions 2080 Arlingate Lane Columbus, OH 43228 Office: 614.850.7818 Toll Free: 800.848.6564 Fax: 614.850.1111 andrew.kelly@honeywell.com<mailto:andrew.kelly@honeywell.com> measurementsensors.honeywell.com Twitter: @HoneywellNow ------------------------------ Message: 2 Date: Tue, 28 Jun 2016 09:30:56 +0000 From: Oumarkatar Sarah <sarah.oumarkatar@etu.u-pec.fr<mailto:sarah.oumarkatar@etu.u-pec.fr>> To: "xansys-temp@xansystest.info<mailto:xansys-temp@xansystest.info>" <xansys-temp@xansystest.info<mailto:xansys-temp@xansystest.info>> Subject: [Xansys] [APDL] Display strain absolute value Message-ID: <VI1PR01MB1886916358AA7823A82AAD80EA220@VI1PR01MB1886.eurprd01.prod.exchangelabs.com<mailto:VI1PR01MB1886916358AA7823A82AAD80EA220@VI1PR01MB1886.eurprd01.prod.exchangelabs.com>> Content-Type: text/plain; charset="iso-8859-1" Dear all, Is there a way in Ansys APDL to display the absolute value of the strain (plnsol,epel,x for intance) ? Thank you in advance, Sarah Oumarkatar Universit? Paris Est Cr?teil _______________________________________________ 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
MH
Matthias.Hoerl@at.trumpf.com
Thu, Jun 30, 2016 9:26 AM

Hi Oumarkatar,
please have a look at  "6.3.2. Performing Arithmetic Operations Among Results Data" Mechanical APDL Help section.

If you just want to plot the data:
/post1
csys,0 $ alls
etable,estrain,epel,xy
sabs,1
smult,absestrain,estrain, ,1
/dscale,,off
pletab,absestrain,noav
should make your game.

If you want to write it to a file, add following:
csys,0 $ alls
*get,ar11,elem,,count
*dim,etabres,,ar11,2
*vget,etabres(1,1),elem,,elist
*vget,etabres(1,2),elem,1,etab,absestrain
*cfopen,abs_def,txt
*vwrite,etabres(1,1), etabres(1,2)
F6.0 ';' E12.6

Best regards

p.p. DI Matthias Hörl
Predevelopment / Simulation

matthias.hoerl@at.trumpf.com
TRUMPF Maschinen Austria GmbH + Co. KG, Industriepark 24, 4061 Pasching, Austria, www.at.trumpf.com

TRUMPF Maschinen Austria GmbH + Co. KG, Sitz Pasching, Landesgericht Linz, Firmenbuch-Nr. FN25429x

Unlimited Liability Partner: TRUMPF GmbH, Landesgericht Linz, Firmenbuch-Nr. FN88721y

Managing Board: Dipl.-Ing. Armin Rau

DVR-Nr. 0635481

-----Ursprüngliche Nachricht-----
Von: Xansys-temp [mailto:xansys-temp-bounces@xansystest.info] Im Auftrag von Oumarkatar Sarah
Gesendet: Mittwoch, 29. Juni 2016 14:04
An: xansys-temp@xansystest.info
Betreff: Re: [Xansys] [APDL] Display strain absolute value

Thank you for the answer.

I stored the absolute value of strains in an array.

How can I create a new DOF to store my new result ? Is it the command "dof,sp01" in Joseph's post ?

Here is what I've done for now :

/post1

...

*get,nnode,node,,num,max    ! get the number of node

*dim,str,array,nnode,2              ! create array

*do,i,1,nnode                            ! store the XY-strain of each node in ns
str(i,1)=i
*get,str(i,2),node,str(i,1),epel,xy
*Enddo

*cfopen,abs_def,txt                  ! Create file

*do,i,1,nnode
*CFWRITE,node,str(i,1),str(i,2)
*Enddo

*cfclos
....

Do I have to add this result (array str) to the actual DOF ?

Thanks a lot,

Sarah Oumarkatar

Université Paris-Est Créteil


De : Xansys-temp xansys-temp-bounces@xansystest.info de la part de Kelly, Andrew Andrew.Kelly@Honeywell.com Envoyé : mardi 28 juin 2016 20:32:42 À : xansys-temp@xansystest.info Objet : [Xansys] [APDL] Display strain absolute value

See this old post:  http://www.xansys.org/forum/viewtopic.php?t=24962&sid=042c343d0cee12ef1ba5301da5b89081

Maybe extract the strains into an array, use VSCFUN to get the absolute value, then create a new DOF to store the result and plot as per Joseph's process.

I thought I had a similar need, but never needed it bad enough to actually try it.

-- Andrew

Andrew Kelly, P.E.
Engineering Manager, Load
Honeywell | Sensing & Productivity Solutions
2080 Arlingate Lane
Columbus, OH 43228
Office:  614.850.7818
Toll Free:  800.848.6564
Fax:  614.850.1111

andrew.kelly@honeywell.commailto:andrew.kelly@honeywell.com
measurementsensors.honeywell.com
Twitter: @HoneywellNow


Message: 2
Date: Tue, 28 Jun 2016 09:30:56 +0000
From: Oumarkatar Sarah <sarah.oumarkatar@etu.u-pec.frmailto:sarah.oumarkatar@etu.u-pec.fr>
To: "xansys-temp@xansystest.infomailto:xansys-temp@xansystest.info" <xansys-temp@xansystest.infomailto:xansys-temp@xansystest.info>
Subject: [Xansys] [APDL] Display strain absolute value
Message-ID:
<VI1PR01MB1886916358AA7823A82AAD80EA220@VI1PR01MB1886.eurprd01.prod.exchangelabs.commailto:VI1PR01MB1886916358AA7823A82AAD80EA220@VI1PR01MB1886.eurprd01.prod.exchangelabs.com>

Content-Type: text/plain; charset="iso-8859-1"

Dear all,

Is there a way in Ansys APDL to display the absolute value of the strain (plnsol,epel,x for intance) ?

Thank you in advance,

Sarah Oumarkatar
Universit? Paris Est Cr?teil


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

Hi Oumarkatar, please have a look at "6.3.2. Performing Arithmetic Operations Among Results Data" Mechanical APDL Help section. If you just want to plot the data: /post1 csys,0 $ alls etable,estrain,epel,xy sabs,1 smult,absestrain,estrain, ,1 /dscale,,off pletab,absestrain,noav should make your game. If you want to write it to a file, add following: csys,0 $ alls *get,ar11,elem,,count *dim,etabres,,ar11,2 *vget,etabres(1,1),elem,,elist *vget,etabres(1,2),elem,1,etab,absestrain *cfopen,abs_def,txt *vwrite,etabres(1,1), etabres(1,2) F6.0 ';' E12.6 Best regards p.p. DI Matthias Hörl Predevelopment / Simulation matthias.hoerl@at.trumpf.com TRUMPF Maschinen Austria GmbH + Co. KG, Industriepark 24, 4061 Pasching, Austria, www.at.trumpf.com TRUMPF Maschinen Austria GmbH + Co. KG, Sitz Pasching, Landesgericht Linz, Firmenbuch-Nr. FN25429x Unlimited Liability Partner: TRUMPF GmbH, Landesgericht Linz, Firmenbuch-Nr. FN88721y Managing Board: Dipl.-Ing. Armin Rau DVR-Nr. 0635481 -----Ursprüngliche Nachricht----- Von: Xansys-temp [mailto:xansys-temp-bounces@xansystest.info] Im Auftrag von Oumarkatar Sarah Gesendet: Mittwoch, 29. Juni 2016 14:04 An: xansys-temp@xansystest.info Betreff: Re: [Xansys] [APDL] Display strain absolute value Thank you for the answer. I stored the absolute value of strains in an array. How can I create a new DOF to store my new result ? Is it the command "dof,sp01" in Joseph's post ? Here is what I've done for now : /post1 ... *get,nnode,node,,num,max ! get the number of node *dim,str,array,nnode,2 ! create array *do,i,1,nnode ! store the XY-strain of each node in ns str(i,1)=i *get,str(i,2),node,str(i,1),epel,xy *Enddo *cfopen,abs_def,txt ! Create file *do,i,1,nnode *CFWRITE,node,str(i,1),str(i,2) *Enddo *cfclos .... Do I have to add this result (array str) to the actual DOF ? Thanks a lot, Sarah Oumarkatar Université Paris-Est Créteil ________________________________ De : Xansys-temp <xansys-temp-bounces@xansystest.info> de la part de Kelly, Andrew <Andrew.Kelly@Honeywell.com> Envoyé : mardi 28 juin 2016 20:32:42 À : xansys-temp@xansystest.info Objet : [Xansys] [APDL] Display strain absolute value See this old post: http://www.xansys.org/forum/viewtopic.php?t=24962&sid=042c343d0cee12ef1ba5301da5b89081 Maybe extract the strains into an array, use VSCFUN to get the absolute value, then create a new DOF to store the result and plot as per Joseph's process. I thought I had a similar need, but never needed it bad enough to actually try it. -- Andrew Andrew Kelly, P.E. Engineering Manager, Load Honeywell | Sensing & Productivity Solutions 2080 Arlingate Lane Columbus, OH 43228 Office: 614.850.7818 Toll Free: 800.848.6564 Fax: 614.850.1111 andrew.kelly@honeywell.com<mailto:andrew.kelly@honeywell.com> measurementsensors.honeywell.com Twitter: @HoneywellNow ------------------------------ Message: 2 Date: Tue, 28 Jun 2016 09:30:56 +0000 From: Oumarkatar Sarah <sarah.oumarkatar@etu.u-pec.fr<mailto:sarah.oumarkatar@etu.u-pec.fr>> To: "xansys-temp@xansystest.info<mailto:xansys-temp@xansystest.info>" <xansys-temp@xansystest.info<mailto:xansys-temp@xansystest.info>> Subject: [Xansys] [APDL] Display strain absolute value Message-ID: <VI1PR01MB1886916358AA7823A82AAD80EA220@VI1PR01MB1886.eurprd01.prod.exchangelabs.com<mailto:VI1PR01MB1886916358AA7823A82AAD80EA220@VI1PR01MB1886.eurprd01.prod.exchangelabs.com>> Content-Type: text/plain; charset="iso-8859-1" Dear all, Is there a way in Ansys APDL to display the absolute value of the strain (plnsol,epel,x for intance) ? Thank you in advance, Sarah Oumarkatar Universit? Paris Est Cr?teil _______________________________________________ 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
OS
Oumarkatar Sarah
Thu, Jun 30, 2016 1:28 PM

Hi Matthias,

It works very well !!

Thanks a lot !

Sarah Oumarkatar
Université Paris-Est Créteil


De : Xansys-temp xansys-temp-bounces@xansystest.info de la part de Matthias.Hoerl@at.trumpf.com Matthias.Hoerl@at.trumpf.com
Envoyé : jeudi 30 juin 2016 12:26:30
À : xansys-temp@xansystest.info
Objet : Re: [Xansys] [APDL] Display strain absolute value

Hi Oumarkatar,
please have a look at  "6.3.2. Performing Arithmetic Operations Among Results Data" Mechanical APDL Help section.

If you just want to plot the data:
/post1
csys,0 $ alls
etable,estrain,epel,xy
sabs,1
smult,absestrain,estrain, ,1
/dscale,,off
pletab,absestrain,noav
should make your game.

If you want to write it to a file, add following:
csys,0 $ alls
*get,ar11,elem,,count
*dim,etabres,,ar11,2
*vget,etabres(1,1),elem,,elist
*vget,etabres(1,2),elem,1,etab,absestrain
*cfopen,abs_def,txt
*vwrite,etabres(1,1), etabres(1,2)
F6.0 ';' E12.6

Best regards

p.p. DI Matthias Hörl
Predevelopment / Simulation

matthias.hoerl@at.trumpf.com
TRUMPF Maschinen Austria GmbH + Co. KG, Industriepark 24, 4061 Pasching, Austria, www.at.trumpf.comhttp://www.at.trumpf.com
Home - TRUMPF Österreichhttp://www.at.trumpf.com/
www.at.trumpf.com
TRUMPF ist ein Hochtechnologieunternehmen mit Schwerpunkten in der Fertigungs- und Medizintechnik. Wir haben Lösungen für Ihre Aufgaben - ob in der Blechbearbeitung, beim Lasereinsatz in Produktionsprozessen, bei Elektronikapplikationen oder der Krankenhausausstattung.

TRUMPF Maschinen Austria GmbH + Co. KG, Sitz Pasching, Landesgericht Linz, Firmenbuch-Nr. FN25429x

Unlimited Liability Partner: TRUMPF GmbH, Landesgericht Linz, Firmenbuch-Nr. FN88721y

Managing Board: Dipl.-Ing. Armin Rau

DVR-Nr. 0635481

-----Ursprüngliche Nachricht-----
Von: Xansys-temp [mailto:xansys-temp-bounces@xansystest.info] Im Auftrag von Oumarkatar Sarah
Gesendet: Mittwoch, 29. Juni 2016 14:04
An: xansys-temp@xansystest.info
Betreff: Re: [Xansys] [APDL] Display strain absolute value

Thank you for the answer.

I stored the absolute value of strains in an array.

How can I create a new DOF to store my new result ? Is it the command "dof,sp01" in Joseph's post ?

Here is what I've done for now :

/post1

...

*get,nnode,node,,num,max    ! get the number of node

*dim,str,array,nnode,2              ! create array

*do,i,1,nnode                            ! store the XY-strain of each node in ns
str(i,1)=i
*get,str(i,2),node,str(i,1),epel,xy
*Enddo

*cfopen,abs_def,txt                  ! Create file

*do,i,1,nnode
*CFWRITE,node,str(i,1),str(i,2)
*Enddo

*cfclos
....

Do I have to add this result (array str) to the actual DOF ?

Thanks a lot,

Sarah Oumarkatar

Université Paris-Est Créteil


De : Xansys-temp xansys-temp-bounces@xansystest.info de la part de Kelly, Andrew Andrew.Kelly@Honeywell.com Envoyé : mardi 28 juin 2016 20:32:42 À : xansys-temp@xansystest.info Objet : [Xansys] [APDL] Display strain absolute value

See this old post:  http://www.xansys.org/forum/viewtopic.php?t=24962&sid=042c343d0cee12ef1ba5301da5b89081

Maybe extract the strains into an array, use VSCFUN to get the absolute value, then create a new DOF to store the result and plot as per Joseph's process.

I thought I had a similar need, but never needed it bad enough to actually try it.

-- Andrew

Andrew Kelly, P.E.
Engineering Manager, Load
Honeywell | Sensing & Productivity Solutions
2080 Arlingate Lane
Columbus, OH 43228
Office:  614.850.7818
Toll Free:  800.848.6564
Fax:  614.850.1111

andrew.kelly@honeywell.commailto:andrew.kelly@honeywell.com
measurementsensors.honeywell.com
Twitter: @HoneywellNow


Message: 2
Date: Tue, 28 Jun 2016 09:30:56 +0000
From: Oumarkatar Sarah <sarah.oumarkatar@etu.u-pec.frmailto:sarah.oumarkatar@etu.u-pec.fr>
To: "xansys-temp@xansystest.infomailto:xansys-temp@xansystest.info" <xansys-temp@xansystest.infomailto:xansys-temp@xansystest.info>
Subject: [Xansys] [APDL] Display strain absolute value
Message-ID:
<VI1PR01MB1886916358AA7823A82AAD80EA220@VI1PR01MB1886.eurprd01.prod.exchangelabs.commailto:VI1PR01MB1886916358AA7823A82AAD80EA220@VI1PR01MB1886.eurprd01.prod.exchangelabs.com>

Content-Type: text/plain; charset="iso-8859-1"

Dear all,

Is there a way in Ansys APDL to display the absolute value of the strain (plnsol,epel,x for intance) ?

Thank you in advance,

Sarah Oumarkatar
Universit? Paris Est Cr?teil


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


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

Hi Matthias, It works very well !! Thanks a lot ! Sarah Oumarkatar Université Paris-Est Créteil ________________________________ De : Xansys-temp <xansys-temp-bounces@xansystest.info> de la part de Matthias.Hoerl@at.trumpf.com <Matthias.Hoerl@at.trumpf.com> Envoyé : jeudi 30 juin 2016 12:26:30 À : xansys-temp@xansystest.info Objet : Re: [Xansys] [APDL] Display strain absolute value Hi Oumarkatar, please have a look at "6.3.2. Performing Arithmetic Operations Among Results Data" Mechanical APDL Help section. If you just want to plot the data: /post1 csys,0 $ alls etable,estrain,epel,xy sabs,1 smult,absestrain,estrain, ,1 /dscale,,off pletab,absestrain,noav should make your game. If you want to write it to a file, add following: csys,0 $ alls *get,ar11,elem,,count *dim,etabres,,ar11,2 *vget,etabres(1,1),elem,,elist *vget,etabres(1,2),elem,1,etab,absestrain *cfopen,abs_def,txt *vwrite,etabres(1,1), etabres(1,2) F6.0 ';' E12.6 Best regards p.p. DI Matthias Hörl Predevelopment / Simulation matthias.hoerl@at.trumpf.com TRUMPF Maschinen Austria GmbH + Co. KG, Industriepark 24, 4061 Pasching, Austria, www.at.trumpf.com<http://www.at.trumpf.com> Home - TRUMPF Österreich<http://www.at.trumpf.com/> www.at.trumpf.com TRUMPF ist ein Hochtechnologieunternehmen mit Schwerpunkten in der Fertigungs- und Medizintechnik. Wir haben Lösungen für Ihre Aufgaben - ob in der Blechbearbeitung, beim Lasereinsatz in Produktionsprozessen, bei Elektronikapplikationen oder der Krankenhausausstattung. TRUMPF Maschinen Austria GmbH + Co. KG, Sitz Pasching, Landesgericht Linz, Firmenbuch-Nr. FN25429x Unlimited Liability Partner: TRUMPF GmbH, Landesgericht Linz, Firmenbuch-Nr. FN88721y Managing Board: Dipl.-Ing. Armin Rau DVR-Nr. 0635481 -----Ursprüngliche Nachricht----- Von: Xansys-temp [mailto:xansys-temp-bounces@xansystest.info] Im Auftrag von Oumarkatar Sarah Gesendet: Mittwoch, 29. Juni 2016 14:04 An: xansys-temp@xansystest.info Betreff: Re: [Xansys] [APDL] Display strain absolute value Thank you for the answer. I stored the absolute value of strains in an array. How can I create a new DOF to store my new result ? Is it the command "dof,sp01" in Joseph's post ? Here is what I've done for now : /post1 ... *get,nnode,node,,num,max ! get the number of node *dim,str,array,nnode,2 ! create array *do,i,1,nnode ! store the XY-strain of each node in ns str(i,1)=i *get,str(i,2),node,str(i,1),epel,xy *Enddo *cfopen,abs_def,txt ! Create file *do,i,1,nnode *CFWRITE,node,str(i,1),str(i,2) *Enddo *cfclos .... Do I have to add this result (array str) to the actual DOF ? Thanks a lot, Sarah Oumarkatar Université Paris-Est Créteil ________________________________ De : Xansys-temp <xansys-temp-bounces@xansystest.info> de la part de Kelly, Andrew <Andrew.Kelly@Honeywell.com> Envoyé : mardi 28 juin 2016 20:32:42 À : xansys-temp@xansystest.info Objet : [Xansys] [APDL] Display strain absolute value See this old post: http://www.xansys.org/forum/viewtopic.php?t=24962&sid=042c343d0cee12ef1ba5301da5b89081 Maybe extract the strains into an array, use VSCFUN to get the absolute value, then create a new DOF to store the result and plot as per Joseph's process. I thought I had a similar need, but never needed it bad enough to actually try it. -- Andrew Andrew Kelly, P.E. Engineering Manager, Load Honeywell | Sensing & Productivity Solutions 2080 Arlingate Lane Columbus, OH 43228 Office: 614.850.7818 Toll Free: 800.848.6564 Fax: 614.850.1111 andrew.kelly@honeywell.com<mailto:andrew.kelly@honeywell.com> measurementsensors.honeywell.com Twitter: @HoneywellNow ------------------------------ Message: 2 Date: Tue, 28 Jun 2016 09:30:56 +0000 From: Oumarkatar Sarah <sarah.oumarkatar@etu.u-pec.fr<mailto:sarah.oumarkatar@etu.u-pec.fr>> To: "xansys-temp@xansystest.info<mailto:xansys-temp@xansystest.info>" <xansys-temp@xansystest.info<mailto:xansys-temp@xansystest.info>> Subject: [Xansys] [APDL] Display strain absolute value Message-ID: <VI1PR01MB1886916358AA7823A82AAD80EA220@VI1PR01MB1886.eurprd01.prod.exchangelabs.com<mailto:VI1PR01MB1886916358AA7823A82AAD80EA220@VI1PR01MB1886.eurprd01.prod.exchangelabs.com>> Content-Type: text/plain; charset="iso-8859-1" Dear all, Is there a way in Ansys APDL to display the absolute value of the strain (plnsol,epel,x for intance) ? Thank you in advance, Sarah Oumarkatar Universit? Paris Est Cr?teil _______________________________________________ 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 _______________________________________________ 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
BH
BenZ Hagege
Thu, Jun 30, 2016 3:32 PM

Sure it will work, but the main advantage of using the dof-replacement
DNSOL technique is that you do NOT get only 1 averaged value per element,
but a nice interpolation with the shape functions. This is why I have used
PLETAB only for cohesion diagrams on beams, or to check the rough values,
but of course it was mostly 10 years ago where the meshes weren't so fine..
And weren't 2 fine 2.... ;)

BenZ

2016-06-30 15:28 GMT+02:00 Oumarkatar Sarah sarah.oumarkatar@etu.u-pec.fr:

Hi Matthias,

It works very well !!

Thanks a lot !

Sarah Oumarkatar
Université Paris-Est Créteil


De : Xansys-temp xansys-temp-bounces@xansystest.info de la part de
Matthias.Hoerl@at.trumpf.com Matthias.Hoerl@at.trumpf.com
Envoyé : jeudi 30 juin 2016 12:26:30
À : xansys-temp@xansystest.info
Objet : Re: [Xansys] [APDL] Display strain absolute value

Hi Oumarkatar,
please have a look at  "6.3.2. Performing Arithmetic Operations Among
Results Data" Mechanical APDL Help section.

If you just want to plot the data:
/post1
csys,0 $ alls
etable,estrain,epel,xy
sabs,1
smult,absestrain,estrain, ,1
/dscale,,off
pletab,absestrain,noav
should make your game.

If you want to write it to a file, add following:
csys,0 $ alls
*get,ar11,elem,,count
*dim,etabres,,ar11,2
*vget,etabres(1,1),elem,,elist
*vget,etabres(1,2),elem,1,etab,absestrain
*cfopen,abs_def,txt
*vwrite,etabres(1,1), etabres(1,2)
F6.0 ';' E12.6

Best regards

p.p. DI Matthias Hörl
Predevelopment / Simulation

matthias.hoerl@at.trumpf.com
TRUMPF Maschinen Austria GmbH + Co. KG, Industriepark 24, 4061 Pasching,
Austria, www.at.trumpf.comhttp://www.at.trumpf.com
Home - TRUMPF Österreichhttp://www.at.trumpf.com/
www.at.trumpf.com
TRUMPF ist ein Hochtechnologieunternehmen mit Schwerpunkten in der
Fertigungs- und Medizintechnik. Wir haben Lösungen für Ihre Aufgaben - ob
in der Blechbearbeitung, beim Lasereinsatz in Produktionsprozessen, bei
Elektronikapplikationen oder der Krankenhausausstattung.

TRUMPF Maschinen Austria GmbH + Co. KG, Sitz Pasching, Landesgericht Linz,
Firmenbuch-Nr. FN25429x

Unlimited Liability Partner: TRUMPF GmbH, Landesgericht Linz,
Firmenbuch-Nr. FN88721y

Managing Board: Dipl.-Ing. Armin Rau

DVR-Nr. 0635481

-----Ursprüngliche Nachricht-----
Von: Xansys-temp [mailto:xansys-temp-bounces@xansystest.info] Im Auftrag
von Oumarkatar Sarah
Gesendet: Mittwoch, 29. Juni 2016 14:04
An: xansys-temp@xansystest.info
Betreff: Re: [Xansys] [APDL] Display strain absolute value

Thank you for the answer.

I stored the absolute value of strains in an array.

How can I create a new DOF to store my new result ? Is it the command
"dof,sp01" in Joseph's post ?

Here is what I've done for now :

/post1

...

*get,nnode,node,,num,max    ! get the number of node

*dim,str,array,nnode,2              ! create array

*do,i,1,nnode                            ! store the XY-strain of each
node in ns
str(i,1)=i
*get,str(i,2),node,str(i,1),epel,xy
*Enddo

*cfopen,abs_def,txt                  ! Create file

*do,i,1,nnode
*CFWRITE,node,str(i,1),str(i,2)
*Enddo

*cfclos
....

Do I have to add this result (array str) to the actual DOF ?

Thanks a lot,

Sarah Oumarkatar

Université Paris-Est Créteil


De : Xansys-temp xansys-temp-bounces@xansystest.info de la part de
Kelly, Andrew Andrew.Kelly@Honeywell.com Envoyé : mardi 28 juin 2016
20:32:42 À : xansys-temp@xansystest.info Objet : [Xansys] [APDL] Display
strain absolute value

See this old post:
http://www.xansys.org/forum/viewtopic.php?t=24962&sid=042c343d0cee12ef1ba5301da5b89081

Maybe extract the strains into an array, use VSCFUN to get the absolute
value, then create a new DOF to store the result and plot as per Joseph's
process.

I thought I had a similar need, but never needed it bad enough to actually
try it.

-- Andrew

Andrew Kelly, P.E.
Engineering Manager, Load
Honeywell | Sensing & Productivity Solutions
2080 Arlingate Lane
Columbus, OH 43228
Office:  614.850.7818
Toll Free:  800.848.6564
Fax:  614.850.1111

andrew.kelly@honeywell.commailto:andrew.kelly@honeywell.com
measurementsensors.honeywell.com
Twitter: @HoneywellNow


Message: 2
Date: Tue, 28 Jun 2016 09:30:56 +0000
From: Oumarkatar Sarah <sarah.oumarkatar@etu.u-pec.fr<mailto:
sarah.oumarkatar@etu.u-pec.fr>>
To: "xansys-temp@xansystest.infomailto:xansys-temp@xansystest.info" <
xansys-temp@xansystest.infomailto:xansys-temp@xansystest.info>
Subject: [Xansys] [APDL] Display strain absolute value
Message-ID:
<
VI1PR01MB1886916358AA7823A82AAD80EA220@VI1PR01MB1886.eurprd01.prod.exchangelabs.com
<mailto:
VI1PR01MB1886916358AA7823A82AAD80EA220@VI1PR01MB1886.eurprd01.prod.exchangelabs.com

Content-Type: text/plain; charset="iso-8859-1"

Dear all,

Is there a way in Ansys APDL to display the absolute value of the strain
(plnsol,epel,x for intance) ?

Thank you in advance,

Sarah Oumarkatar
Universit? Paris Est Cr?teil


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


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

--
Benjamin HAGEGE, Maître de Conférences
UTC / Centre de recherches de Royallieu
Département Génie Mécanique
BP 20529, 60205 Compiègne cedex
France


Tél: 06.10.123.134
Bureau H304

Sure it will work, but the main advantage of using the dof-replacement DNSOL technique is that you do NOT get only 1 averaged value per element, but a nice interpolation with the shape functions. This is why I have used PLETAB only for cohesion diagrams on beams, or to check the rough values, but of course it was mostly 10 years ago where the meshes weren't so fine.. And weren't 2 fine 2.... ;) BenZ 2016-06-30 15:28 GMT+02:00 Oumarkatar Sarah <sarah.oumarkatar@etu.u-pec.fr>: > > Hi Matthias, > > > It works very well !! > > > Thanks a lot ! > > > Sarah Oumarkatar > Université Paris-Est Créteil > > > ________________________________ > De : Xansys-temp <xansys-temp-bounces@xansystest.info> de la part de > Matthias.Hoerl@at.trumpf.com <Matthias.Hoerl@at.trumpf.com> > Envoyé : jeudi 30 juin 2016 12:26:30 > À : xansys-temp@xansystest.info > Objet : Re: [Xansys] [APDL] Display strain absolute value > > Hi Oumarkatar, > please have a look at "6.3.2. Performing Arithmetic Operations Among > Results Data" Mechanical APDL Help section. > > > If you just want to plot the data: > /post1 > csys,0 $ alls > etable,estrain,epel,xy > sabs,1 > smult,absestrain,estrain, ,1 > /dscale,,off > pletab,absestrain,noav > should make your game. > > If you want to write it to a file, add following: > csys,0 $ alls > *get,ar11,elem,,count > *dim,etabres,,ar11,2 > *vget,etabres(1,1),elem,,elist > *vget,etabres(1,2),elem,1,etab,absestrain > *cfopen,abs_def,txt > *vwrite,etabres(1,1), etabres(1,2) > F6.0 ';' E12.6 > > Best regards > > p.p. DI Matthias Hörl > Predevelopment / Simulation > > matthias.hoerl@at.trumpf.com > TRUMPF Maschinen Austria GmbH + Co. KG, Industriepark 24, 4061 Pasching, > Austria, www.at.trumpf.com<http://www.at.trumpf.com> > Home - TRUMPF Österreich<http://www.at.trumpf.com/> > www.at.trumpf.com > TRUMPF ist ein Hochtechnologieunternehmen mit Schwerpunkten in der > Fertigungs- und Medizintechnik. Wir haben Lösungen für Ihre Aufgaben - ob > in der Blechbearbeitung, beim Lasereinsatz in Produktionsprozessen, bei > Elektronikapplikationen oder der Krankenhausausstattung. > > > > TRUMPF Maschinen Austria GmbH + Co. KG, Sitz Pasching, Landesgericht Linz, > Firmenbuch-Nr. FN25429x > > Unlimited Liability Partner: TRUMPF GmbH, Landesgericht Linz, > Firmenbuch-Nr. FN88721y > > Managing Board: Dipl.-Ing. Armin Rau > > DVR-Nr. 0635481 > > > > > > -----Ursprüngliche Nachricht----- > Von: Xansys-temp [mailto:xansys-temp-bounces@xansystest.info] Im Auftrag > von Oumarkatar Sarah > Gesendet: Mittwoch, 29. Juni 2016 14:04 > An: xansys-temp@xansystest.info > Betreff: Re: [Xansys] [APDL] Display strain absolute value > > Thank you for the answer. > > > I stored the absolute value of strains in an array. > > How can I create a new DOF to store my new result ? Is it the command > "dof,sp01" in Joseph's post ? > > Here is what I've done for now : > > > /post1 > > ... > > *get,nnode,node,,num,max ! get the number of node > > *dim,str,array,nnode,2 ! create array > > *do,i,1,nnode ! store the XY-strain of each > node in ns > str(i,1)=i > *get,str(i,2),node,str(i,1),epel,xy > *Enddo > > *cfopen,abs_def,txt ! Create file > > *do,i,1,nnode > *CFWRITE,node,str(i,1),str(i,2) > *Enddo > > *cfclos > .... > > > > Do I have to add this result (array str) to the actual DOF ? > > > Thanks a lot, > > > > > Sarah Oumarkatar > > Université Paris-Est Créteil > > > ________________________________ > De : Xansys-temp <xansys-temp-bounces@xansystest.info> de la part de > Kelly, Andrew <Andrew.Kelly@Honeywell.com> Envoyé : mardi 28 juin 2016 > 20:32:42 À : xansys-temp@xansystest.info Objet : [Xansys] [APDL] Display > strain absolute value > > See this old post: > http://www.xansys.org/forum/viewtopic.php?t=24962&sid=042c343d0cee12ef1ba5301da5b89081 > > Maybe extract the strains into an array, use VSCFUN to get the absolute > value, then create a new DOF to store the result and plot as per Joseph's > process. > > I thought I had a similar need, but never needed it bad enough to actually > try it. > > -- Andrew > > Andrew Kelly, P.E. > Engineering Manager, Load > Honeywell | Sensing & Productivity Solutions > 2080 Arlingate Lane > Columbus, OH 43228 > Office: 614.850.7818 > Toll Free: 800.848.6564 > Fax: 614.850.1111 > > andrew.kelly@honeywell.com<mailto:andrew.kelly@honeywell.com> > measurementsensors.honeywell.com > Twitter: @HoneywellNow > > ------------------------------ > > Message: 2 > Date: Tue, 28 Jun 2016 09:30:56 +0000 > From: Oumarkatar Sarah <sarah.oumarkatar@etu.u-pec.fr<mailto: > sarah.oumarkatar@etu.u-pec.fr>> > To: "xansys-temp@xansystest.info<mailto:xansys-temp@xansystest.info>" < > xansys-temp@xansystest.info<mailto:xansys-temp@xansystest.info>> > Subject: [Xansys] [APDL] Display strain absolute value > Message-ID: > < > VI1PR01MB1886916358AA7823A82AAD80EA220@VI1PR01MB1886.eurprd01.prod.exchangelabs.com > <mailto: > VI1PR01MB1886916358AA7823A82AAD80EA220@VI1PR01MB1886.eurprd01.prod.exchangelabs.com > >> > > Content-Type: text/plain; charset="iso-8859-1" > > Dear all, > > > Is there a way in Ansys APDL to display the absolute value of the strain > (plnsol,epel,x for intance) ? > > > Thank you in advance, > > > Sarah Oumarkatar > Universit? Paris Est Cr?teil > > > _______________________________________________ > 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 > > _______________________________________________ > 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 > -- Benjamin HAGEGE, Maître de Conférences UTC / Centre de recherches de Royallieu Département Génie Mécanique BP 20529, 60205 Compiègne cedex France ******* Tél: 06.10.123.134 Bureau H304