Commit Graph

94 Commits

Author SHA1 Message Date
Florian Foinant-Willig
41080dec5b Fem: modernize type checking 2023-10-23 18:09:04 +02:00
wmayer
91a40b2007 Fem: Apply clang-format 2023-09-25 14:50:43 +02:00
wmayer
009f9f2222 FEM: modernize C++: use range-based for loop 2023-08-15 01:09:53 +02:00
luzpaz
19d0a11c40 Fix various typos 2023-07-01 10:08:21 +00:00
luzpaz
129d5882a7 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
Uwe
c8630fec0a [FEM] shorten too long lines
- reformatting was done by the MSVC formatter according to our current clang file
2023-02-06 23:12:53 +01:00
luzpaz
edfc993b7f Fix various typos 2023-01-22 20:27:47 -06:00
wmayer
3e58513c24 Mod: fix some compiler warnings:
* QString::indexOf() is now marked as [[nodiscard]]
* QApplication::fontMetrics() is deprecated, use the constructor of QFontMetricsF
* fix -Wunused-result
* fix -Wunused-but-set-variable
2022-12-31 21:54:45 +01:00
wmayer
5225a5f904 Fem: [skip ci] include Python.h before vtk headers to fix a warning with clang/MSYS2 2022-11-08 10:45:23 +01:00
Uwe
1705e8b9d0 [FEM] FemResult* to end: remove unused includes
- also sort includes
2022-10-03 03:42:22 +02:00
HarryvL
9dc9d6735a [FEM] added critical strain ratio functionality (#7467)
* added critical strain ratio functionality
2022-09-14 01:30:17 +02:00
Uwe
0e24ed6342 [FEM] pipelines: distinguish stresses (#7246)
- it seems using the same Field name for a vector and a scalar result causes problems with ParaView, see https://forum.freecadweb.org/viewtopic.php?p=601775#p601775
 therefore rename the vectors
2022-08-23 02:22:52 +05:00
Uwe
c1946884d8 [FEM] fix regression of missing stress results
- fixes the regression that went in short as "last minute fix": commit 3af54a7dda -> fixes #7242

- also remove a doubled entry in an IF
2022-07-24 05:41:33 +02:00
Uwe
6625281986 [FEM] enable to run Elmer multi-threaded
- this needs proper testing, especially on a non-Windows system

- note that for some tasks multi-threading requires non-standard additional solvers like MUMPS. Ideally the user should be informed about this, depending on the equations he uses. But this should not block this PR, meaning to use multi-threading in general.
2022-07-16 14:59:25 +02:00
wmayer
1aa897d450 Fem: remove some superfluous const_cast 2022-06-24 19:43:33 +02:00
FEA-eng
3af54a7dda Fixing principal stress plots part 1
https://forum.freecadweb.org/viewtopic.php?f=18&t=69385
2022-06-13 19:51:53 +02:00
Uwe
51c7a8c2d3 [FEM] fix crash in pipeline creation
fixes #6670
2022-03-28 02:41:38 +02:00
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