Commit Graph

30088 Commits

Author SHA1 Message Date
Uwe
dd370b9643 [FEM] Elmer: fix initial flow velocity
- we must allow must be several velocities because there can be several fluid bodies
- don't output flow velocity for solid bodies
2022-08-14 04:39:43 +02:00
Uwe
d7d49aa1a0 [FEM] [skip CI] Elmer: add copyright
-  heavily edited these files so I am to blame now too ;-)
2022-08-14 03:46:49 +02:00
Uwe
5779040107 [FEM] [skip CI] fix non-Unicode character
- made problems with text editors -> change file to UTF-8
2022-08-14 03:44:28 +02:00
Uwe
08f02885a4 [FEM] Elmer: sort solver methods for better overview 2022-08-14 03:18:35 +02:00
Uwe
f0590d1b2f Merge branch 'master' of github.com:FreeCAD/FreeCAD 2022-08-14 01:48:34 +02:00
Uwe
d8784b7ac9 [FEM] Elmer: fix for the Idrs method
- while adding support for the IDRS method I forgot to implement its mandatory parameter
2022-08-14 01:48:20 +02:00
Wanderer Fan
4407dde179 [TD]hatch file default handling 2022-08-13 19:45:56 -04:00
Uwe
a2e473c5b7 [FEM] Elmer: set constraints for solver systems
- set constraints according to the Elmer docs (no conversion necessary, existing properties just stay integers)
2022-08-14 01:45:34 +02:00
Uwe
d985525893 [FEM] Elmer: just sorting to keep the overview 2022-08-14 01:07:11 +02:00
luz paz
0beefe7c5d [FEM] Substitute underscore for whitespace in CalculiX solver output
Fixes #7360  
Forum thread: forum.freecadweb.org/viewtopic.php?p=617376#p617376
2022-08-13 16:41:59 +02:00
Uwe
b6cb5ffe4a [FEM] Elmer: fixes for multi-threading
- load the results depending on the used cores, not always the multi-thread results
- avoid unnecessary console output - this info is already output in tasks.py
- handle number of cores as int to save in total 2 conversions
2022-08-13 16:27:56 +02:00
Uwe
d1ffbc0ae9 [Gui] [skip CI] NaviCube: fix indentation mistake from previous commit 2022-08-13 15:11:32 +02:00
Uwe
d78d1bbe58 [Gui] fix NaviCube step handling
- as reported in https://forum.freecadweb.org/viewtopic.php?f=3&t=71050
2022-08-13 15:02:26 +02:00
Uwe
128877a7b7 [FEM] Elmer: only output a property if necessary 2022-08-13 14:39:06 +02:00
Uwe
08af39c1a8 [FEM] Elmer: fix heat flux handling
- the heat flux in the temperature constraint is not the heat flux from the heatflux constraint. The latter is in W/m² while the first one is W/mesh node
2022-08-13 05:54:34 +02:00
Uwe
2edf6abb2f [FEM] Elmer: add support to turn off solvers
- with this property the linear solver is turned off. As consequence one can this way also disable the execution of an equation without the need to delete the equation object

- also add missing preconditioners
2022-08-13 05:51:26 +02:00
Uwe
278598083d [FEM] Elmer: add tooltips 2022-08-13 03:45:42 +02:00
Uwe
5a72f2d1fa [FEM] Flow constraints: fix wrong tooltips 2022-08-13 03:35:22 +02:00
Wanderer Fan
4962c3da15 [TD]fix merge conflicts 2022-08-12 18:13:52 -04:00
Benjamin Bræstrup Sayoc
9905e17ba1 [TechDraw] Remove uneeded redefinitions of inherited functions 2022-08-12 18:13:52 -04:00
Wanderer Fan
2f49a93292 [TD]fix LineFormat ctor line color 2022-08-12 13:00:21 -04:00
wmayer
11849808a1 Gui: remove redundant void 2022-08-12 17:59:59 +02:00
grubertechnic
2a434e3b2e [TechDraw] fix up button in TaskProjGroup 2022-08-12 10:40:33 -04:00
wmayer
ff876bf72c Gui: clear combo boxes before re-filling them, fix handling of icon size in preferences pack 2022-08-12 14:08:04 +02:00
Uwe
b716644e27 [FEM] Elmer: fix handling if fluids + solid materials
- as already reported in the forum, it was not possible to make a flow simulation when there is also solid material.
2022-08-12 05:29:42 +02:00
Uwe
bd796c9197 [FEM] Selection: fix error for 2D shapes
- 2D shapes have no "Shape" attribute. This attribute was accessed before checked it it exists
2022-08-12 05:26:56 +02:00
Uwe
ed3625a0e0 [FEM] Elmer: allow lower relaxation factor
- despite the Elmer docs say 0.01 is the lover limit, for fluids like water, one might need down to 1e-4
2022-08-12 05:24:55 +02:00
wmayer
746a56f5d3 Gui: don't show non-existing and unusual directories in file dialog 2022-08-11 17:46:13 +02:00
Tobias Frost
9311e2913e Replace edit-cut.svg
Replace 2 instances of edit-cut.svg with the version from the tango icon
library to reslove license issue. Closes #7347.

Tango Icon Library used: http://tango.freedesktop.org/releases/tango-icon-theme-0.8.90.tar.gz
Location within the tarball:
./tango-icon-theme-0.8.90/scalable/actions/edit-cut.svg
2022-08-11 10:23:02 -04:00
wmayer
2b5b7cd607 Draft: fix snapper icons
* Add convenience function to get 3D views from MDI area
* Use 'inherits' instead of 'QMetaObject.className()' to check more reliably for sub-classes
2022-08-11 11:50:53 +02:00
Wanderer Fan
cb96332a64 [TD]fix multiple dimension drag 2022-08-10 14:09:08 -04:00
Chris Hennes
730b14353c Addon Manager: Finish pylint cleanup of startup workers 2022-08-10 10:53:54 -05:00
Chris Hennes
9250850c9c Addon Manager: pylint cleanup in startup workers 2022-08-10 09:17:02 -05:00
Uwe
20047c94cd [FEM] [skip CI] formatting fix for potential 2022-08-10 13:42:29 +02:00
Uwe
ad2042e3cb [FEM] electric Potential: add missing conversion
- add missing conversion of property change that was already done before FC 0.20
2022-08-10 13:32:32 +02:00
Uwe
c219134a1e [FEM] Elmer: fix material bug and improve material handling
- for fluid material writing the elasticity solver failed with unknown Young Modulus
- fix regression with checking for fluid material. Checking the material of the bodies is not sufficient. One can e.g. have a solid without bodies defined, then it applied to all bodies and there might be a fluid defined for only one body. Checking the body's material would then deliver there is no fluid
2022-08-10 06:16:38 +02:00
Uwe
7910bd14e6 [FEM] update a bimetal testfile 2022-08-10 04:26:19 +02:00
Uwe
baaa5f8dd1 [FEM] Elmer: set constraints for relaxation factor
- the relaxation factor is crucial for nonlinear systems thus help the user by setting constraints and convenient steps.
Since the property stays a float no update is necessary, existing properties just stay a normal float
2022-08-10 04:10:47 +02:00
Uwe
48a206e3e4 [FEM] Elmer: notify users about missing fluid material
- it was often unclear when no flow equation was written to the case.sif (was a regression FC0.20)
2022-08-10 03:29:34 +02:00
Uwe
5cd06b6148 [FEM] fix bimetall example
- add missing density
- set a second temperature to make the heat solver actually working
- adapt to new defaults
2022-08-10 02:27:27 +02:00
Uwe
9c50b541a5 [Material] add materials used by our examples
- add generic copper and invar
- also extend the generic aluminum card
2022-08-10 02:08:35 +02:00
Uwe
69efa37e49 [FEM] Elmer: automatic update for BiCGstablDegree
- up to last week we used the invalid BiCGstablDegree 0 thus update to the default of 2
2022-08-10 01:50:19 +02:00
Uwe
4b2a486d51 [FEM] fix selection issues with flow velocity constraint
- same fix as commit 7e071623 for flow velocity constraint
- the used selection widget did not highlight the selected faces. This made it very hard to work with when one has an existing document where e.g. 5 faces have a certain velocity and you cannot figure out which ones.
To fix this use another selection widget
2022-08-10 01:17:53 +02:00
wmayer
8acce95ebb Gui: revert changes of 0c70d45c83 for GestureNavigationStyle 2022-08-09 23:50:05 +02:00
wmayer
735eecc42b Part: fix build failures with OCC >= 7.6 2022-08-09 18:42:38 +02:00
wmayer
2062f9ce87 clang: fix warnings [-Winconsistent-missing-override] 2022-08-09 17:36:25 +02:00
Chris Hennes
4638bbf8ed Addon Manager: Unit tests for cache loading 2022-08-09 10:23:27 -05:00
Chris Hennes
54e06a759b Addon Manager: Improve unit tests for utlility 2022-08-09 10:23:27 -05:00
Chris Hennes
44cbd88830 Addon Manager: Refactor to improve testability 2022-08-09 10:23:27 -05:00
Chris Hennes
99084f1a62 Addon Manager: Add unit test for addon fetch 2022-08-09 10:23:27 -05:00