Witch methode to extract PRESSURE ?

14 views
Skip to first unread message

Olivier Miramand

unread,
Mar 12, 2026, 12:58:56 PMMar 12
to FeResPost
Hello,

Witch methode can I use to extract the PRESSURE value ?

Thank you

Renaud Sizaire

unread,
Mar 12, 2026, 1:23:17 PMMar 12
to fere...@googlegroups.com
Hello Olivier,

There is no "Pressure" derivation method. But you can obtain the three principal stresses and average them.

Regards,

Renaud

Le 12-03-26 à 17:58, Olivier Miramand a écrit :
Hello,

Witch methode can I use to extract the PRESSURE value ?

Thank you
--
You received this message because you are subscribed to the Google Groups "FeResPost" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ferespost+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ferespost/9b450176-a031-4117-a7a5-7a731d767accn%40googlegroups.com.


Olivier Miramand

unread,
Mar 12, 2026, 1:47:45 PMMar 12
to FeResPost
ok but how to do that ?e ça ?

Olivier Miramand

unread,
Mar 12, 2026, 2:03:44 PMMar 12
to FeResPost
Example: 
180 149 NORMAL-X 10.100750923156738
180 149 NORMAL-Y 17.545167922973633
180 149 NORMAL-Z 4.420877456665039
180 149 SHEAR-XY -17.31753158569336
180 149 SHEAR-XY 2.8260104656219482
180 149 SHEAR-XY 0.7049953937530518
180 149 PRINCIPAL A         31.649776458740234
180 149 PRINCIPAL B   -4.501453876495361
180 149 PRINCIPAL C         4.918473720550537

180 149 LX A -0.6238221526145935
180 149 LX B 0.7444314360618591
180 149 LX C -0.23804987967014313
180 149 LY A 0.7788848280906677
180 149 LY B 0.6173523664474487
180 149 LY C -0.11051931232213974
180 149 LZ A 0.0646866038441658
180 149 LZ B -0.25435784459114075
180 149 LZ C -0.9649444222450256
180 149 PRESSURE -10.688931465148926
180 149 VON MISES 32.48237228393555

I don't understand, it's the average of PrincipalsMinMax ?
 because I saw only 2 values not 3 ?

>>> print(test.deriveTensorToTwoScals('PrincipalsMinMax')[0].getData().__getitem__(351))
[180, 149, 'NONE', 0, 'NONE', -4.501452922821045]

>>> print(test.deriveTensorToTwoScals('PrincipalsMinMax')[1].getData().__getitem__(351))
[180, 149, 'NONE', 0, 'NONE', 31.6497745513916]

>>> print(test.deriveTensorToTwoScals('PrincipalsMinMax')[2].getData().__getitem__(351))
IndexError: list index out of range

Olivier Miramand

unread,
Mar 12, 2026, 2:09:35 PMMar 12
to FeResPost
I found  deriveTensorToThreeScals('Principals')
But it's not the average.. (maybe with  * -1 ?) 

>>> print(test.deriveTensorToThreeScals('Principals')[0].getData().__getitem__(351))

[180, 149, 'NONE', 0, 'NONE', -4.501452922821045]

>>>

>>> print(test.deriveTensorToThreeScals('Principals')[1].getData().__getitem__(351))

[180, 149, 'NONE', 0, 'NONE', 4.918474197387695]

>>> print(test.deriveTensorToThreeScals('Principals')[2].getData().__getitem__(351))

[180, 149, 'NONE', 0, 'NONE', 31.6497745513916]

Renaud Sizaire

unread,
Mar 12, 2026, 2:59:28 PMMar 12
to fere...@googlegroups.com
Indeed, there is a -1 factor.

Note, you can also average Normal X, Y and Z components. (The trace of a tensor is an invariant.)

Le 12-03-26 à 19:09, Olivier Miramand a écrit :
Reply all
Reply to author
Forward
0 new messages