Commit Graph

31828 Commits

Author SHA1 Message Date
Uwe
f26481ca20 [FEM] change hiding logic on calling task panels
- the typical workflow is to change e.g. a constraint setting or material property and to check how and if this change changes the simulation result. it is therefore very annoying that on every call of a task panel the results are hidden.
This PR changes this to hide only meshes and the filter functions but to keep the results. If a user don't like to see results for example to select faces, he hides results anyway.
2023-02-10 16:47:52 +01:00
Uwe
67d73f31a8 [FEM] ViewProviderFemPostObject: fix a typo 2023-02-10 16:08:03 +01:00
wmayer
c0bbff3f28 Spreadsheet: fix some warnings and issues reported by GH actions 2023-02-10 16:06:46 +01:00
wmayer
108e30d8ba smesh: std::iterator<> is deprecated in C++17 2023-02-10 14:18:01 +01:00
Uwe
3f29b469a4 [FEM] Elmer: fixes for Magneto2D writer
- assure a 2D coordinate system is used
- get rid of annoying numerical artifacts
2023-02-10 02:21:21 +01:00
Chris Hennes
30e464d82a cMake: Clean up old Mac Python search 2023-02-09 17:57:47 -07:00
Uwe
b3e8add2e4 [FEM] use extended current density constraint for 2D
-also a fix bug that for 2D there is no z-component of magnetization
2023-02-10 01:30:14 +01:00
Uwe
aca9e15f66 [FEM] extend current density to 3D
- to be used for magnetodynamic 3D equation
2023-02-10 01:30:14 +01:00
sliptonic
16cacfb3fb Merge pull request #8307 from LarryWoestman/staging
Path:  Refactored the add_parameters function into individual functions.
2023-02-10 00:37:09 +01:00
Uwe
04f0b66ef7 [FEM] use magnetization constraint for 2D
- uses the constraint for 2D magnetodynamics to perform e.g. Elmer's tutorial non. 15

- modify the Material manager to get rid of magnetization but keep the vectorial functionality because in future there will be support for e.g. birefringence materials etc.
2023-02-09 15:43:42 +01:00
Uwe
04915b694b [FEM] add new constraint for magnetization 2023-02-09 14:41:25 +01:00
Uwe
c59a10be77 [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
aa4700f12b [FEM] Elmer: magneto 2D use magnetization
- take magnetization into account for the magnetodynamic2D equation
2023-02-09 07:27:44 +01:00
Uwe
cbe634719d [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
436703e8ce [Material] new card for Iron 2023-02-09 06:25:43 +01:00
Uwe
c074fe1c95 [App] fixes for Magnetization property 2023-02-09 05:32:20 +01:00
Chris Hennes
e5587cd935 Addon Manager: Fix GUI tests on macOS 2023-02-08 19:28:50 -07:00
Uwe
fe1c09f841 [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
201b95a5b2 [Core] add quantity Magnetization
- needed for FEM and Material
2023-02-08 20:33:58 +01:00
Uwe
b41776d077 [Core] disable the the unit Oersted
- is not feasible for practical usage and (was up to now not used, thus no consequence)
  moreover, Oersted is a cgs unit while we use SI units, thus also not suitable for FEM, only makes problems for magnetization
2023-02-08 19:59:36 +01:00
Uwe
ac694dea1e [FEM] [skip ci] Elmer write: move a check function 2023-02-08 17:04:37 +01:00
luzpaz
30e3abde15 Fix trailing newlines 2023-02-08 15:08:42 +01:00
Uwe
ddfdce612e [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
0a4b860d66 [App] [skip ci] add info for expression lexer generation 2023-02-08 06:34:59 +01:00
Uwe
78a988ba27 [FEM] [skip ci] constraint_currentdensity.py: fix a typo 2023-02-08 06:27:27 +01:00
Roy-043
7352512f6c [Draft] fix Draft_Clone DiffuseColor delay issue during unit test (#8386) 2023-02-07 22:40:29 +01:00
wmayer
961bef36c0 Gui: fix regression that NaviCube cannot be switched off any more 2023-02-07 22:16:09 +01:00
wmayer
39502e8c57 Gui: recreate NaviCubes of all 3D views 2023-02-07 22:16:09 +01:00
wmayer
e50dd7d2d2 Gui: remove Q_SLOTS decorator and use connect() to bind the signal 2023-02-07 22:16:09 +01:00
wmayer
0ba20f3f1d Gui: fix and harmonize tool tips 2023-02-07 22:16:09 +01:00
wmayer
2ffa1d546f Gui: use QString::fromStdString for std::string 2023-02-07 22:16:09 +01:00
wmayer
d24bb7195a Gui: move calls of OnChange to separate method
and explicitly call the class' method to fix warning about bypassing virtual dispatch during construction
2023-02-07 22:16:09 +01:00
wmayer
9906c63b32 Gui: move calls of OnChange to separate method
and explicitly call the class' method to fix warning about bypassing virtual dispatch during construction
2023-02-07 22:16:09 +01:00
Adrian Popescu
3f3a548b22 Disabled Accessibility on SheetTableView 2023-02-07 16:42:54 +01:00
Yorik van Havre
c71e551556 Merged crowdin translations 2023-02-07 15:55:31 +01:00
Yorik van Havre
f51a6f2cf9 updated ts files 2023-02-07 15:55:31 +01:00
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