Commit Graph

24574 Commits

Author SHA1 Message Date
Uwe
f6abb77758 [FEM] add new constraint for magnetization 2023-02-09 14:41:25 +01:00
Uwe
2ffd650f20 [FEM] add support to show absolute value result fields
- for harmonically driven forces, the results of course also have an imaginary part. Elmer outputs the real and the imaginary parts as separate result field. However, for several applications one needs the absolute (sqrt(Re^2+Im^2)
- therefore offer also absolute field if there are real/imaginary results
2023-02-09 14:36:26 +01:00
Uwe
bdfe5e764c [FEM] Elmer: magneto 2D use magnetization
- take magnetization into account for the magnetodynamic2D equation
2023-02-09 07:27:44 +01:00
Uwe
7c4a3c160c [Material] allow to use vectorial properties
- for electromagnetics we have vector fields and thus need to specify components
- as first step use the new material "Magnetization"

- also get rid of annoying debug messages output on normal use in the material dialog
2023-02-09 07:26:22 +01:00
Uwe
f942353ef3 [Material] new card for Iron 2023-02-09 06:25:43 +01:00
Chris Hennes
97b3a0cdaf Addon Manager: Fix GUI tests on macOS 2023-02-08 19:28:50 -07:00
Uwe
89b37f7f7a [FEM] [skic ci] fix arrows in CurrentDensity icon
- Qt 5.x is not SVG-2 ready
2023-02-08 21:19:42 +01:00
Uwe
e96c796477 [FEM] [skip ci] Elmer write: move a check function 2023-02-08 17:04:37 +01:00
luzpaz
a40a5dcad2 Fix trailing newlines 2023-02-08 15:08:42 +01:00
Uwe
7f7fb62239 [FEM] Elmer: extent potential constraint
- it is now possible to specify a an electric potential vector field
2023-02-08 07:02:35 +01:00
Uwe
ae2a1050ef [FEM] [skip ci] constraint_currentdensity.py: fix a typo 2023-02-08 06:27:27 +01:00
Roy-043
8a47d5ffbe [Draft] fix Draft_Clone DiffuseColor delay issue during unit test (#8386) 2023-02-07 22:40:29 +01:00
Adrian Popescu
080d340345 Disabled Accessibility on SheetTableView 2023-02-07 16:42:54 +01:00
Yorik van Havre
d8b0e64e14 Merged crowdin translations 2023-02-07 15:55:31 +01:00
Yorik van Havre
94cd431eb2 updated ts files 2023-02-07 15:55:31 +01:00
Uwe
a841eee7bb [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
3e7334b7a8 [FEM] Elmer writer: correct copyrights 2023-02-07 11:52:18 +01:00
Uwe
ca05213e2e [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
a5e0ac5949 [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
bd0f39e7c9 [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
a26ac3249d [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
5d12dcf1ed [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
240e2aa816 [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
177fdcd02b [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
4ac2f8fe1a [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
e0fa255920 [FEM] Elmer: add permeability of vacuum 2023-02-07 00:16:52 +01: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
Roy-043
99ad01cda9 [Draft] fix ang dim arrows alignment issue related to asin (#8368) 2023-02-06 14:01:08 +01:00
edi271
ee798b0b36 [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
e883e9b89e Draft: add delay in the Draft_Clone unit test (#8363) 2023-02-05 21:59:39 +01:00
Uwe
65eb154eac [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
1f7ab06160 Fix whitespace issues 2023-02-05 16:39:58 +01:00
Yorik van Havre
ac9fde2a3d Fixes startpage css - fixes #8330 2023-02-05 15:09:23 +01:00
Uwe
2620bcca35 [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
5417abaa04 [FEM] [skip ci] Elmer write: some cleanup
- fix also a typo
2023-02-05 03:20:56 +01:00
Uwe
e5cd6ceffc [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
2056cd94f9 Start: Added option to hide start page scrollbars 2023-02-04 22:50:23 +01:00
Uwe
b8ce56b5e6 [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
1b43baa418 Fix various trailing newlines, typos and grammar 2023-02-04 18:29:07 +01:00
Uwe
3310a80164 [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
06e0f477a6 [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
c767880908 Increase mesh generation output quality 2023-02-03 12:08:10 -06:00
Pascal de Bruijn
3ecff9588e 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
1ab36e21e8 [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
9e9c7c3428 [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
9923b13b16 [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
3eaff64025 Draft: fix normal calculation for angular dims 2023-02-03 15:44:27 +01:00
Uwe
a7e02a48fa [Material] add new card for carbon dioxide 2023-02-03 02:37:27 +01:00
wmayer
d25e171ef3 Sketcher: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
wmayer
8d6ef6ba12 TD: replace slots with member function pointers 2023-02-03 00:21:38 +01:00