Commit Graph

77 Commits

Author SHA1 Message Date
Uwe
361ea3367d [FEM] fix network pressure value display in result pipelines
was forgotten in https://github.com/FreeCAD/FreeCAD/commit/2b1bbd5e6c6
2022-03-28 02:25:19 +02:00
Uwe
2b1bbd5e6c [FEM] fix value display in result pipelines
- as reported here: https://forum.freecadweb.org/viewtopic.php?p=583133#p583133

The point is that the user cannot know that he has to multiply the shown numbers for displacements by 0.001 but for the displayed stresses by 1e6 while the temperature is already correct.

The fix is to be consistent and display in SI units. This commit does this and was tested using unit systems with mm and meter based length.
2022-03-27 18:24:03 +02:00
wmayer
d4da6b21e2 Fem: include Python.h before any vtk headers to fix compiler warnings 2022-03-24 20:05:27 +01:00
Uwe
d3bd8141f9 [FEM] App headers: remove unused headers 2022-03-24 15:35:32 +01:00
wmayer
7ae9fc0d67 Fem: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
Uwe
d5604e0e89 [FEM] remove Python.h and Xerces 2022-03-21 01:22:59 +01:00
wmayer
7ef448572d Fem: fix possible crash when loading a VTK file 2022-01-27 10:37:16 +01:00
wmayer
135525a806 smesh: port to version 9.6 2021-01-20 19:49:56 +01:00
wmayer
a96f6619a7 Fem: Python header must be included before vtk headers to avoid re-definition of macro _LARGEFILE_SOURCE 2020-10-18 14:45:31 +02:00
wmayer
2de44b123b FEM: [skip ci] Coverity: Dereference after null check 2020-09-22 20:32:21 +02:00
wmayer
421f6c52cb Coverity: Dereference after null check 2020-07-20 17:34:25 +02:00
wmayer
0b45b11344 Coverity: Resource leak 2020-07-20 17:34:24 +02:00
Bernd Hahnebach
9b18c2dc19 FEM: vtk pipeline, and frd reader, principal stress, revert and improve 09e3ddb387 2020-07-14 13:26:57 +02:00
UR-0
8b68ab74b6 FEM: use a more precise object name "vonMises" instead "StressValues" 2020-02-14 16:52:40 +01:00
Bernd Hahnebach
3765de9ed9 FEM: vtk result pipeline, use log instead of message for debug 2019-07-03 12:43:19 +02:00
HarryvL
09e3ddb387 FEM: vtk tool, change the results exported to vtk 2019-06-16 18:29:32 +02:00
HarryvL
db493ee0d9 FEM: result properties, add new lists to hold concrete results 2019-06-16 18:29:32 +02:00
Abdullah Tahiri
676a4f0457 PCH: Fem App 2019-05-16 21:43:07 +02:00
luz.paz
c985f9ee79 Misc typos and whitespace fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*`
2019-03-31 11:42:36 +02:00
Bernd Hahnebach
1167b4fbaa FEM: vtk tools, code fix 2019-03-31 11:18:16 +02:00
Bernd Hahnebach
9ac7c7d6f9 FEM: typos 2019-03-31 11:18:15 +02:00
Bernd Hahnebach
5642ffbb32 FEM: vtk tools, use own names for vtk result object pipe 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
fc3d2a9f1e FEM: results, remove stressvectors and strainvectors from result obj, adapt code elsewhere 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
988e407581 FEM: vtk result, add all stress strain components to vtk result creation 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
43072c12ea FEM: vtk tools, small code change and comment in the regard of FreeCAD.Vector length 2019-03-19 14:15:15 -03:00
luz.paz
4cfda0c3a5 Misc. typos
Found via `codespell`
2019-02-08 11:01:24 -02:00
Bernd Hahnebach
4257a4d8ba FEM: vtk tools, some comments, white spaces and changes from message to log 2019-01-14 18:10:34 +01:00
Stefan Tröger
16435205d4 FEM: vtk Post, ensure correct data visuliation with non-continious node id's, workaround for issue #3617 2019-01-14 18:10:22 +01:00
luz.paz
a22a0d4567 FEM: file headers, fix .cpp and .h header text 2018-10-25 11:00:07 -03:00
wmayer
294100d95e for inner loop use a different iterator variable than for outer loop, remove superfluous argument from Message() 2018-10-06 19:42:58 +02:00
Bernd Hahnebach
c7252e5efd FEM: vtk, import and export FC result, better log messages 2018-10-01 17:53:30 -03:00
Bernd Hahnebach
dc41055741 FEM: vtk, import and export FC result, get the FC result properties for them from a seperate method 2018-10-01 17:53:30 -03:00
Bernd Hahnebach
ffdfaafb98 FEM: in out and vtk, make use of stats calculations for vtk import 2018-10-01 17:53:30 -03:00
Bernd Hahnebach
f56afed06d FEM: vtk, import FC result, further code improvements 2018-10-01 17:53:30 -03:00
Bernd Hahnebach
702b999e48 FEM: vtk, import FC result, small code improvements 2018-10-01 17:53:30 -03:00
Bernd Hahnebach
a6ae394c1a FEM: vtk, import FC result, get rid of needless essential property 2018-10-01 17:53:30 -03:00
Bernd Hahnebach
e1b9ad2899 FEM: vtk, import FC result, move defs together 2018-10-01 17:53:30 -03:00
Bernd Hahnebach
bc9de847f1 FEM: vtk, export FC result, move defs together 2018-10-01 17:53:30 -03:00
Bernd Hahnebach
23643f08dc FEM: vtk, import FC result, get rid of needles result types 2018-10-01 17:53:30 -03:00
Bernd Hahnebach
b05d61b391 FEM: vtk, export FC result, small code improvements 2018-10-01 17:53:30 -03:00
Bernd Hahnebach
99855a1605 FEM: vtk, export FC result, get rid of needless result types
- an result is an result, we just gone export what we have
- a vtk result can consists of all kind of result types
2018-10-01 17:53:30 -03:00
Bernd Hahnebach
5fc337baf5 FEM: vtk fix, remove scaling of vtk results
- only displacements had been scaled, all other results remained untouched
- if the results should be scaled all results needs to be scaled
- this includes all possible result types with their units
2018-09-26 22:42:26 +02:00
luz.paz
ba9dba4b26 FEM: typo fixes 2018-04-29 20:40:15 +02:00
wmayer
68cc427b00 Improve handling of external smesh
+ add SMESH_version.h.cmake to set full version number instead of using compiler define
+ do not set include path of smesh globally
+ do not set library path of smesh globally
+ do not set HAVE_NETGEN define globally
+ improve using debug and release libs of smesh for MSVC
2018-04-28 12:10:55 +02:00
looooo
547cc9f36c external smesh: use version info
for precompiler conditionals
2018-04-28 12:05:30 +02:00
looooo
21cdc9ea4a port to smesh 8.3
using #ifdef EXTERNAL_SMESH for the diff
2018-04-28 12:05:30 +02:00
Bernd Hahnebach
5f073d4ae1 FEM: vtk result export, better error message 2018-04-05 08:21:48 +02:00
Bernd Hahnebach
c5ef8a1ee1 FEM: vtk mesh builder, add some logs and code improvements 2018-04-05 08:21:44 +02:00
Bernd Hahnebach
6c60f60a05 FEM: vtk mesh builder, fix crash if SMESH grid has node gaps 2018-04-05 08:19:59 +02:00
Bernd Hahnebach
9fab5e835a FEM: VTK, better comments in vtk result data creation 2018-03-21 12:19:59 +01:00