Commit Graph

77 Commits

Author SHA1 Message Date
Uwe
cdd1b0e9ae [FEM] fix network pressure value display in result pipelines
was forgotten in https://github.com/FreeCAD/FreeCAD/commit/8a6f7cb687a
2022-03-28 02:25:19 +02:00
Uwe
42596f2f1b [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
ee28112968 Fem: include Python.h before any vtk headers to fix compiler warnings 2022-03-24 20:05:27 +01:00
Uwe
e8d64631ad [FEM] App headers: remove unused headers 2022-03-24 15:35:32 +01:00
wmayer
bde17e1b9f Fem: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
Uwe
d3595f267b [FEM] remove Python.h and Xerces 2022-03-21 01:22:59 +01:00
wmayer
96aa87a45f Fem: fix possible crash when loading a VTK file 2022-01-27 10:37:16 +01:00
wmayer
b431987ea3 smesh: port to version 9.6 2021-01-20 19:49:56 +01:00
wmayer
38819925a5 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
66bf741d37 FEM: [skip ci] Coverity: Dereference after null check 2020-09-22 20:32:21 +02:00
wmayer
0a6929a122 Coverity: Dereference after null check 2020-07-20 17:34:25 +02:00
wmayer
36363b3f14 Coverity: Resource leak 2020-07-20 17:34:24 +02:00
Bernd Hahnebach
20cb8e2480 FEM: vtk pipeline, and frd reader, principal stress, revert and improve 35cf9681cc5b 2020-07-14 13:26:57 +02:00
UR-0
47f16467db FEM: use a more precise object name "vonMises" instead "StressValues" 2020-02-14 16:52:40 +01:00
Bernd Hahnebach
78a6dcbbbf FEM: vtk result pipeline, use log instead of message for debug 2019-07-03 12:43:19 +02:00
HarryvL
fc1c954c95 FEM: vtk tool, change the results exported to vtk 2019-06-16 18:29:32 +02:00
HarryvL
cf5eb3c5ed FEM: result properties, add new lists to hold concrete results 2019-06-16 18:29:32 +02:00
Abdullah Tahiri
8fa75b1d6f PCH: Fem App 2019-05-16 21:43:07 +02:00
luz.paz
06d583b425 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
13e15976a6 FEM: vtk tools, code fix 2019-03-31 11:18:16 +02:00
Bernd Hahnebach
62a82f88e8 FEM: typos 2019-03-31 11:18:15 +02:00
Bernd Hahnebach
58e2b0e748 FEM: vtk tools, use own names for vtk result object pipe 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
b7807c967b FEM: results, remove stressvectors and strainvectors from result obj, adapt code elsewhere 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
3f58cebca4 FEM: vtk result, add all stress strain components to vtk result creation 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
ebd0e8f60b 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
cb4a0adf71 Misc. typos
Found via `codespell`
2019-02-08 11:01:24 -02:00
Bernd Hahnebach
c36aea86c5 FEM: vtk tools, some comments, white spaces and changes from message to log 2019-01-14 18:10:34 +01:00
Stefan Tröger
7beba7501d 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
ccd7be0bc2 FEM: file headers, fix .cpp and .h header text 2018-10-25 11:00:07 -03:00
wmayer
2df34a3c99 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
209eaeb39d FEM: vtk, import and export FC result, better log messages 2018-10-01 17:53:30 -03:00
Bernd Hahnebach
4fabaf94fc 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
276948da4a FEM: in out and vtk, make use of stats calculations for vtk import 2018-10-01 17:53:30 -03:00
Bernd Hahnebach
94fee7a6a3 FEM: vtk, import FC result, further code improvements 2018-10-01 17:53:30 -03:00
Bernd Hahnebach
110d6c327a FEM: vtk, import FC result, small code improvements 2018-10-01 17:53:30 -03:00
Bernd Hahnebach
64676c9285 FEM: vtk, import FC result, get rid of needless essential property 2018-10-01 17:53:30 -03:00
Bernd Hahnebach
44dd56df2a FEM: vtk, import FC result, move defs together 2018-10-01 17:53:30 -03:00
Bernd Hahnebach
d5752eebe2 FEM: vtk, export FC result, move defs together 2018-10-01 17:53:30 -03:00
Bernd Hahnebach
f9cac3e0e3 FEM: vtk, import FC result, get rid of needles result types 2018-10-01 17:53:30 -03:00
Bernd Hahnebach
421f54ac65 FEM: vtk, export FC result, small code improvements 2018-10-01 17:53:30 -03:00
Bernd Hahnebach
c19909f503 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
08400a91b3 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
1d8aaad976 FEM: typo fixes 2018-04-29 20:40:15 +02:00
wmayer
1633af4b94 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
c999ec1960 external smesh: use version info
for precompiler conditionals
2018-04-28 12:05:30 +02:00
looooo
c74af88e0b port to smesh 8.3
using #ifdef EXTERNAL_SMESH for the diff
2018-04-28 12:05:30 +02:00
Bernd Hahnebach
5337d7af9a FEM: vtk result export, better error message 2018-04-05 08:21:48 +02:00
Bernd Hahnebach
11c8a956c4 FEM: vtk mesh builder, add some logs and code improvements 2018-04-05 08:21:44 +02:00
Bernd Hahnebach
6ab1fd5e9b FEM: vtk mesh builder, fix crash if SMESH grid has node gaps 2018-04-05 08:19:59 +02:00
Bernd Hahnebach
bfeb71005a FEM: VTK, better comments in vtk result data creation 2018-03-21 12:19:59 +01:00