Commit Graph

23336 Commits

Author SHA1 Message Date
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
grubertechnic
2a434e3b2e [TechDraw] fix up button in TaskProjGroup 2022-08-12 10:40:33 -04: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
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
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
Chris Hennes
616a343973 Addon Manager: Fix macro-loading bug from refactoring 2022-08-09 10:23:27 -05:00
Chris Hennes
4c63094331 Addon Manager: Worker refactor (round 1) 2022-08-09 10:23:26 -05:00
berniev
ddafb98813 Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
wmayer
91ea39a5c0 Base: extend Placement/Rotation API
* Add Placement::isSame() and expose to Python
* Add Placement::multRight/Placement::multLeft
* Fix PlacementPy::rotate
* Add Rotation::multRight/Rotation::multLeft
* Add a test feature FeatureTestPlacement for uni tests
* Add unit tests
2022-08-09 11:54:05 +02:00
Uwe
4571206be5 [FEM] Elmer: fix broken example
- (a regression to FC 0.20.0), use new settings ("direct" is already the default, iterative solving takes here about 5 times longer, DisplaceMesh must be False)
2022-08-09 05:38:02 +02:00
Uwe
7f23e793eb [FEM] increase size of generic solver task panel
- increase it to size of CCX panel to create more room for the log output
2022-08-09 03:23:12 +02:00
sliptonic
4b861b1083 Merge pull request #7333 from mlampert/bugfix/external-thread-issues
PATH: Bugfix/external thread issues
2022-08-08 10:11:23 -05:00
berniev
915369d8a2 Mod: Redundant_string_initialization 2022-08-08 16:52:42 +02:00
Uwe
a32e927227 [FEM] Elmer: scale EigenMode results
- for an not yet known reason the result from Elmer are only for eigen analyses a factor 1000 (we send the mesh scaled to Elmer and it seems the eigen solver does not notice this)
Therefore scale these results
2022-08-08 12:33:57 +02:00
Uwe
515584c81b [FEM] fix warp filter factor
- since our mesh is in mm, we must multiply the set factor by 1000 to get the real factor. This applies also for pipelines from CCX results.
Now the factor fits with the factor one can set in the CCX results dialog
2022-08-08 12:20:47 +02:00
wmayer
617f213d2f TD: [skip ci] help code analyzers with export macro 2022-08-08 12:03:25 +02:00
wmayer
55fa3d8a77 Mod: [skip ci] improve whitespace 2022-08-08 10:46:04 +02:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
Markus Lampert
0200c8d70a Fixed radii calculations and their processing for external threads 2022-08-07 18:01:07 -07:00
Markus Lampert
1e8d1c621c Fixed external thread milling orientation and direction 2022-08-07 18:01:07 -07:00
Markus Lampert
38e34758c7 Fixed logic error in path selection drill gate. 2022-08-07 18:01:07 -07:00
Markus Lampert
ffe0961853 Added check to deal with float nan as cycle time result 2022-08-07 18:01:07 -07:00
Roy-043
2e646c9147 Sketcher: Fix sWhatsThis for Sketcher_CompConstrainRadDia (#7324) 2022-08-08 02:11:06 +02:00
luz paz
d02f6330fc FEM: remove trailing whitespace from various FEM files 2022-08-08 02:10:17 +02:00
Uwe
d438514d9f [FEM] fix pipeline recompute issue
- after a simulation was run, the pipelines and its childs are recomputed but its shape coloring is not updated.

- also update XML documentation
- also remove comment in tasks.py for now
2022-08-08 02:04:07 +02:00