Commit Graph

31791 Commits

Author SHA1 Message Date
Uwe
06100d97dd [FEM] Elmer: better sorting of equations
- the elctricforce equation is actually a postprocessor and thus should not be first in the list, but after the electrostatics equation (where it belongs to technically)
- also change menu name to be consistent with the other FEM menus
2023-02-07 14:19:56 +01:00
Uwe
23e240e017 [FEM] Elmer writer: correct copyrights 2023-02-07 11:52:18 +01:00
Uwe
d5ac0758cf [FEM] Elmer: add support for 2D magnetodynamics
- adds the corresponding Elmer equation (it is now possible to do Elmer's tutorial example no. 16)
2023-02-07 11:06:22 +01:00
Uwe
c8e25bf4d4 [FEM] Elmer writer: sort out elasticity equation
- sort out elasticity equation - last step to refactor writer.py
2023-02-07 04:33:20 +01:00
Uwe
bc275eb772 [FEM] Elmer writer: sort out electricforce equation
- sort out electricforce equation - next step to refactor writer.py
2023-02-07 03:59:59 +01:00
Uwe
8d0d38911f [FEM] Elmer writer: sort out flow equation
- sort out flow equation - next step to refactor writer.py
2023-02-07 03:21:25 +01:00
Uwe
53452cfec3 [FEM] Elmer writer: sort out flux equation
- sort out flux equation - next step to refactor writer.py
2023-02-07 02:40:59 +01:00
Uwe
5b2f99c5ea [FEM] Elmer writer: sort out heat equation
- sort out heat equation - next step to refactor writer.py
2023-02-07 02:03:53 +01:00
Uwe
e90102ba4f [FEM] Elmer electrostatic improvements
- output only a reasonable number of digits for vacuum permittivity
- output the FC label of potential constraints as comment (helps a lot when having several constraints)
2023-02-07 00:38:50 +01:00
Uwe
3d3313546a [FEM] Elmer: refactor writer for electrostatics
- the writer.py is to large to keep the overview, thus sort out the handling of the different equations (also since more equations will be added)
- This PR sorts out the electrostatic equation handling as first step (more equations will follow once this is merged)
2023-02-07 00:38:50 +01:00
Uwe
41bafb2bc0 [FEM] Elmer: add permeability of vacuum 2023-02-07 00:16:52 +01: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
Roy-043
e7d757de3d [Draft] fix ang dim arrows alignment issue related to asin (#8368) 2023-02-06 14:01:08 +01:00
luzpaz
69e5359bfa Gui: [skip ci] fix typo 2023-02-06 06:23:27 +01:00
edi271
2c931a88b0 [TD] Add Command Axo Length Dimension
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2023-02-05 14:50:44 -08:00
Roy-043
f09d038ff5 Draft: add delay in the Draft_Clone unit test (#8363) 2023-02-05 21:59:39 +01:00
Uwe
82b6e03625 [FEM] add current density constraint
- also add corresponding App::PropertyCurrentDensity

- also fix a typo in test_object.py
2023-02-05 21:10:15 +01:00
luzpaz
b4780be1d1 Fix whitespace issues 2023-02-05 16:39:58 +01:00
Yorik van Havre
2a4e87b64d Fixes startpage css - fixes #8330 2023-02-05 15:09:23 +01:00
Uwe
87c5b89135 [Material] fix conductivity of Copper
- the conductivity was by a factor 10 too low, use a common value as fix
2023-02-05 05:21:14 +01:00
Uwe
68d478aa6e [FEM] [skip ci] Elmer write: some cleanup
- fix also a typo
2023-02-05 03:20:56 +01:00
Uwe
3be4744647 [Start] set sensible size for DlgStartPreferences.ui
- as mentioned in #8330, new size set by QtDesigner
2023-02-05 00:21:26 +01:00
Yorik van Havre
6a6442b0a3 Start: Added option to hide start page scrollbars 2023-02-04 22:50:23 +01:00
Uwe
d2ec8a85cc [FEM] Elmer output material name
- when looking at the Elmer input file 'case.sif' it is extremely helpful to thee also the name of the material
  Since the name is only form info, this does not change the actual simulation
2023-02-04 22:11:30 +01:00
luzpaz
a38b2ffbf7 Fix various trailing newlines, typos and grammar 2023-02-04 18:29:07 +01:00
Uwe
2880a5ca2a [Core] add current density
- necessary to implement electromagnetic features to the FEM WB
2023-02-04 03:22:24 -06:00
Uwe
d33005d14e [Material] add support for magnetic permeability
- also rename property group to "electromagnetic" (this change has no influence on any existing simulation, is only the name in the material editor)
2023-02-03 14:17:17 -06:00
Uwe
49a7a60311 [Part] [skip ci] update a tooltip
- since FC 0.20 we require OCC 7.4
2023-02-03 12:15:28 -06:00
Pascal de Bruijn
181c7991e2 Increase mesh generation output quality 2023-02-03 12:08:10 -06:00
Pascal de Bruijn
20933f9c07 Tools: tweak mesh generation
Mesh generation parameters are taken from PrusaSlicer's STEP importer,
which does a just-in-time STEP->STL conversion in memory.

Resulting meshes have better geometry, but are a little larger as a result.
2023-02-03 12:08:10 -06:00
Uwe
1a51e03b2f [FEM] Elmer: revert wrong change from #8336
- I mixed the normal stress solver with the elastic stress solver. For the normal stress solver plane stress is possible in all coordinate systems
2023-02-03 18:41:06 +01:00
Uwe
28c8addf5a [FEM] Elmer: don't hardcode the coordinate system
- Elmer allows for all currently supported equations several coordinate systems
- also remove an unused variable
2023-02-03 17:49:58 +01:00
Uwe
51185e1c06 [FEM] Elmer: fix error on wrong material settings
- if user set no material for a body, we must raise an error
- also fix annoying output of permittivity in case.sif file
2023-02-03 15:45:25 +01:00
Roy-043
a891d5c766 Draft: fix normal calculation for angular dims 2023-02-03 15:44:27 +01:00
Uwe
0e17989707 [Material] add new card for carbon dioxide 2023-02-03 02:37:27 +01:00
wmayer
7f8b136dae Sketcher: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
wmayer
4b3fb1c079 TD: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
wmayer
0363ebdf8f Surface: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
wmayer
9aede79ef8 Mesh: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
wmayer
9a5d9880d5 PD: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
wmayer
84aa8155ce Part: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
wmayer
9b29c3a683 Gui: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
Roy-043
ec0182b915 Draft: housekeeping: remove obsolete code (uiMode and DraftGui.py) (#8327) 2023-02-02 23:24:27 +01:00
Uwe
932abebca9 [Gui] register NaviCube parameters to view
- there is a bug: when deleting any NaviCube parameter in the parameters dialog, the background color suddenly changes
the fix is to register the NaviCube parameters to the view

- the PR also fixes the issue that the default font size was not properly calculated but hardcoded
2023-02-02 19:02:51 +01:00
Uwe
f14dea3226 [FEM] solver_taskpanel: fix bug with Edit button
- when an error occurred during the Write process, the Edit button must not be enabled
  In this case the machine state is still at femsolver.run.PREPARE. If no error occurred it went one step up.
2023-02-02 18:58:07 +01:00
0penBrain
62a2c33a05 CI: re-enable 20.04 build and test 2023-02-02 16:57:12 +01:00
wmayer
681b8091ad CMake: make sure to add RPATH to area-native library 2023-02-02 16:56:15 +01:00
wandererfan
951520a5c1 [TD]use correct shape for section of section 2023-02-02 05:55:32 -08:00
wandererfan
bd25c86973 [TD]fix handling of perforated section faces 2023-02-02 05:55:32 -08:00
wandererfan
d9afb06676 [TD]allow section line when base is section 2023-02-02 05:55:32 -08:00