Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2020-06-05 11:30:32

Prabhu
Member
Registered: 2020-05-26
Posts: 26

Average Stress in SALOME-MECA

Hi,
I found out Max stress and Min Stress value in Analysis. But I want to know the average Stress value of the structure. So any options are there in Salome to find out the Average stress.

I seen those options in Ansys. I want to know how to check Avg Stress in Salome. If anyone know please say me.

Thank you,
Prabhu M

Offline

#2 2023-09-04 19:58:12

lIlIl
Member
Registered: 2023-09-04
Posts: 10

Re: Average Stress in SALOME-MECA

I am also very interested in doing this, if someone could help us...

Alternatively, is it possible to export the stresses in every element and the volume of each element to a text file to be processed using Python? Please indicate what functions should be used.

Offline

#3 2023-09-05 13:47:22

Aski
Member
Registered: 2023-09-04
Posts: 2

Re: Average Stress in SALOME-MECA

Hello,

lIlIl wrote:

Alternatively, is it possible to export the stresses in every element and the volume of each element to a text file to be processed using Python? Please indicate what functions should be used.

Im looking to do the exact same thing. I want to export the stresses and displacements in every element and the volume of each element to a text file (or, in my case, Im looking to export the data into a pickle file).

If anyone has any idea how to do this, please help.

Aski

Offline

#4 2023-09-23 14:56:45

sb1966
Member
From: INDIA
Registered: 2015-03-16
Posts: 262

Re: Average Stress in SALOME-MECA

Alternatively, is it possible to export the stresses in every element and the volume of each element to a text file to be processed using Python? Please indicate what functions should be used.

Hi,
I don't know the pythonic solution for it, but there is a work around to accomplish your job.

You can get all the computed stress fields (Depending on your CALC_CHAMP) in Paravis Module. Then you can open a Spread-sheet view of the same and then export it to a csv file. This file may easily be parsed to suit your need.

Hope this helps.

Regards.

Sukumar

Offline

#5 2023-09-27 10:12:43

jeanpierreaubry
Guru
From: nantes (france)
Registered: 2009-03-12
Posts: 4,047

Re: Average Stress in SALOME-MECA

hello

why going through Paravis
when the same result can be obtained  with

IMPR_RESU(
	FORMAT='RESULTAT',
    RESU=_F(
			RESULTAT=****,NOM_CHAM='***',FORMAT_R='1PE12.3',
			FORM_TABL='OUI', #optional
    ),
);

jean pierre aubry


consider reading my book
freely available here https://framabook.org/beginning-with-code_aster/

Offline

#6 2023-09-28 08:28:44

sb1966
Member
From: INDIA
Registered: 2015-03-16
Posts: 262

Re: Average Stress in SALOME-MECA

jeanpierreaubry wrote:

why going through Paravis
when the same result can be obtained  with

Dear Jean,

Thanks a lot for reminding me (us) the power of scripting again. Yes, SIGMA_NOEU will give the nodal "Average*. But I was not clear which kind of average the user was interested in.

Best regards.

Sukumar

Offline

#7 2023-09-28 09:39:56

jeanpierreaubry
Guru
From: nantes (france)
Registered: 2009-03-12
Posts: 4,047

Re: Average Stress in SALOME-MECA

sb1966 wrote:

[Dear Jean,

Thanks a lot for reminding me (us) the power of scripting again. Yes, SIGMA_NOEU will give the nodal "Average*. But I was not clear which kind of average the user was interested in.

Best regards.

Sukumar

my point was :
it is not necessary to go thru Paravis
and this whatever the field


consider reading my book
freely available here https://framabook.org/beginning-with-code_aster/

Offline

#8 2023-09-28 16:42:04

sb1966
Member
From: INDIA
Registered: 2015-03-16
Posts: 262

Re: Average Stress in SALOME-MECA

Dear Jean,

Yes, agreed and appreciated.

Regards

Sukumar

Offline