Linearized stress plot problem in 0.18

About the development of the FEM module/workbench.

Moderator: bernd

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

Linearized stress plot problem in 0.18

Post by makkemal »

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 1812 times
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Linearized stress plot problem in 0.18

Post by bernd »

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 1750 times
User avatar
makkemal
Posts: 395
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

Re: Linearized stress plot problem in 0.18

Post by makkemal »

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

Re: Linearized stress plot problem in 0.18

Post by bernd »

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: 395
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

Re: Linearized stress plot problem in 0.18

Post by makkemal »

[
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
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Linearized stress plot problem in 0.18

Post by bernd »

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: 395
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

Re: Linearized stress plot problem in 0.18

Post by makkemal »

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
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Linearized stress plot problem in 0.18

Post by bernd »

which FreeCAD version?
Post Reply