Linearized stress plot problem in 0.18

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
makkemal
Posts: 393
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

Linearized stress plot problem in 0.18

Postby makkemal » Wed Jun 19, 2019 10:01 am

It seems something have changed in the VTK post filter data along a line
The plot can't seem to find the data ?
Does anyone know what changed ?

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16110 (Git)
Build type: Release
Branch: (HEAD detached at upstream/releases/FreeCAD-0-18)
Hash: f7dccfaa909e5b9da26bf50c4a22ccca9bb10c40
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/SouthAfrica (en_ZA)
Capture.PNG
Capture.PNG (162.73 KiB) Viewed 347 times
User avatar
bernd
Posts: 8046
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Linearized stress plot problem in 0.18

Postby bernd » Mon Jun 24, 2019 10:21 pm

The names have changed ... git commit f445e34 fixes it in 0.19

BTW: It is not possible to set up two DataAlongLine filters. If a second one is added they go crazy and shown wrong colors.

Screenshot_20190625_001954.png
Screenshot_20190625_001954.png (48.15 KiB) Viewed 285 times
User avatar
makkemal
Posts: 393
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

Re: Linearized stress plot problem in 0.18

Postby makkemal » Tue Jun 25, 2019 9:47 am

Ok thank you
User avatar
bernd
Posts: 8046
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Linearized stress plot problem in 0.18

Postby bernd » Tue Jun 25, 2019 11:51 am

How about a small tutorial, what is the linearized stress plot useful for. We might have some informations and examples on the forum alredy, but it would be cool to collect it in a small tutorial!
User avatar
makkemal
Posts: 393
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

Re: Linearized stress plot problem in 0.18

Postby makkemal » Tue Jul 02, 2019 11:11 am

[
How about a small tutorial, what is the linearized stress plot useful for. We might have some informations and examples on the forum alredy, but it would be cool to collect it in a small tutorial!
Good idea i will do that
User avatar
bernd
Posts: 8046
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Linearized stress plot problem in 0.18

Postby bernd » Tue Jul 02, 2019 11:26 am

makkemal wrote:
Tue Jul 02, 2019 11:11 am
How about a small tutorial, what is the linearized stress plot useful for. We might have some informations and examples on the forum alredy, but it would be cool to collect it in a small tutorial!
Good idea i will do that
cool


bernd wrote:
Mon Jun 24, 2019 10:21 pm
BTW: It is not possible to set up two DataAlongLine filters. If a second one is added they go crazy and shown wrong colors.
Screenshot_20190625_001954.png
Could you confirm this?
User avatar
makkemal
Posts: 393
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

Re: Linearized stress plot problem in 0.18

Postby makkemal » Tue Jul 16, 2019 7:47 am

I am working on the tutorial

I can confirm that you can only do 1 data along a line filter otherwise thing go haywire.

The user-defined plot has been broken.
For ASME you want to do P1+P2+P3 < $S where S is material allowable stress
It gives the following error.

Code: Select all

Traceback (most recent call last):
  File "C:\Freecad\Freecadbin\Mod\Fem\femguiobjects\_ViewProviderFemResultMechanical.py", line 442, in calculate
    del s1x, s1y, s1z, s2x, s2y, s2z, s3x, s3y, s3z
UnboundLocalError: local variable 's1x' referenced before assignment
Although it still creates the field
User avatar
bernd
Posts: 8046
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Linearized stress plot problem in 0.18

Postby bernd » Tue Jul 16, 2019 2:20 pm

which FreeCAD version?