Commit Graph

91 Commits

Author SHA1 Message Date
luzpaz
055447a702 Fix various typos 2023-07-01 10:08:21 +00:00
luzpaz
38a01939e0 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
0bbf9fa4b0 [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
feb18d8a15 Fix various typos 2023-01-22 20:27:47 -06:00
wmayer
91613cc24c 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
c1bfec1d1a 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
ae14c761e6 [FEM] FemResult* to end: remove unused includes
- also sort includes
2022-10-03 03:42:22 +02:00
HarryvL
3c3e2f63e6 [FEM] added critical strain ratio functionality (#7467)
* added critical strain ratio functionality
2022-09-14 01:30:17 +02:00
Uwe
4f8ceb287e [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
c3074efb29 [FEM] fix regression of missing stress results
- fixes the regression that went in short as "last minute fix": commit c5daa88b82 -> fixes #7242

- also remove a doubled entry in an IF
2022-07-24 05:41:33 +02:00
Uwe
eec258ab37 [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
6e80ffaec3 Fem: remove some superfluous const_cast 2022-06-24 19:43:33 +02:00
FEA-eng
1751520ffb 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
e4cec83945 [FEM] fix crash in pipeline creation
fixes #6670
2022-03-28 02:41:38 +02:00
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