Commit Graph

29982 Commits

Author SHA1 Message Date
Bernd Hahnebach
3369aa4eca FEM: Python pep8 code formatting 2022-08-06 22:29:12 +02:00
Uwe
f39330163d [FEM] Elmer: code improvements
- don't redefine lists twice
- also fix mistake for heat - the default is computed convection
2022-08-06 22:20:44 +02:00
Uwe
b5faecea99 [FEM] Elmer: output the equation-specific settings for Navier-Stokes 2022-08-06 22:01:25 +02:00
Uwe
7600855f26 [Fem] Elmer: output the equation-specific settings
- equation-specific things were not set at all. This is the first step for the heat and Stress equation
2022-08-06 21:26:23 +02:00
wmayer
f2cbd9ebb4 Mod: [skip ci] minor improvements 2022-08-06 20:32:37 +02:00
Bernd Hahnebach
09c1b5a274 FEM: Python pep8 code formatting 2022-08-06 20:16:10 +02:00
Uwe
2b375f2dc6 [Fem] Elmer: writer: remove unused variable 2022-08-06 20:05:23 +02:00
Uwe
b621e6c253 [Fem] Elmer: update tolerances
- update tolerances also for existing analyses to fix the bug that users see e.g. "0.001" and not the actual used tolerance
- also a fix for new stress analyses
- also a formatting fix
2022-08-06 20:01:24 +02:00
Uwe
6f9a4ebc7f [App] [Spreadsheet] fix compilation errors
- introduced by #7318 and #7319
2022-08-06 19:59:06 +02:00
berniev
b796a0d376 Mod: use empty 2022-08-06 19:30:13 +02:00
berniev
1cc6329eab App: use empty 2022-08-06 19:29:59 +02:00
Uwe
29197f503d [FEM] Elmer: next step to fix eigenfrequency analysis
- add missing parameters to perform modal analyses
- set mandatory complex statement
2022-08-06 18:27:51 +02:00
berniev
d88729d2c4 Gui: use empty 2022-08-06 16:35:45 +02:00
wmayer
a00faca147 Mesh: implement smoothing based on median filter 2022-08-06 16:08:20 +02:00
Uwe
b5a34817db [FEM] Elmer: fix mistake with transient solving
- there is proper info, just in another Elmer manual. This unveiled my mistake - the timestepping parameters are a list
2022-08-06 16:01:55 +02:00
Bernd Hahnebach
43dcbe4a31 FEM: Python pep8 code formatting 2022-08-06 13:33:01 +02:00
Uwe
3818534cd6 [FEM] Elmer: fixes for the simulation parameters
- output equation-specific values only if this equation is used
- use Elmer's default for BDF order as default for FC too and allow to change it
- don't hardcode to Steady State. Transient must be possible too, this way add parameters to run a transient analysis
2022-08-06 04:32:18 +02:00
Uwe
550ef7ca80 [FEM] Elmer: update test files 2022-08-06 04:22:08 +02:00
Uwe
cd03ef3d78 [Fem] Elmer: don't output unused parameters
- many of the new parameters don't have to be output if they are not used

- also some sorting
2022-08-06 04:06:10 +02:00
berniev
2d4c5a4cfb Mod: use emplace_back 2022-08-05 10:36:16 +02:00
berniev
6ac4d8392e Gui: use emplace_back 2022-08-05 10:33:41 +02:00
berniev
e7357c1a99 App: use emplace_back 2022-08-05 10:31:51 +02:00
Uwe
b20060bcd0 [FEM] Elmer: add missing parameters for flux equation
- also add tooltips
2022-08-05 05:09:54 +02:00
Uwe
96ba47e80f [Fem] Elmer: add missing settings for the stress solver
- the usually mandatory setting DisplaceMesh was missing leading to imprecise results. Now the calculated faceload is almost the exact same as with CCX
- also add most of the other settings Elmer 9 provides
- also add tooltips
2022-08-05 04:17:39 +02:00
Uwe
bd42524548 [Fem] Elmer: update test files 2022-08-05 02:39:55 +02:00
Uwe
18d1941a79 [FEM] Elmer: push mesh scaled to Elmer
- reverts commit d296732d - the scaling it correct
- there is a bug in Elmer that the heat source is not aware of the scaling
- write the scaling directly to the solver, not to the mesh itself. (make in principal no difference but we are closer to the solver)
2022-08-05 02:13:04 +02:00
wmayer
869ab8d26c Mesh: consider placement in MeshPy::foraminate 2022-08-05 00:46:48 +02:00
wmayer
828c64a4c9 Mesh: consider placement in MeshPy::nearestFacetOnRay 2022-08-04 20:47:33 +02:00
wmayer
14451f7ec4 Mesh: consider placement in MeshPy::cut/trim/trimByPlane 2022-08-04 18:49:10 +02:00
sliptonic
f7a0586625 Merge pull request #7278 from mlampert/bugfix/vcarve-c++-exception
PATH: Bugfix/vcarve c++ exception
2022-08-04 11:37:47 -05:00
Yorik van Havre
5a9201d2c5 Draft: Enabled shortcut for undo segment - fixes #6181
That shortcut had apparently been left out last time the system was recoded..
I used the default shortcut '/' because Ctrl doesn't really work with the
current system, and Z is already taken
2022-08-04 17:40:05 +02:00
Benjamin Bræstrup Sayoc
953625d74b [TechDraw] Use inherited isShow
Remove uneeded redefinitions of inherited functions
2022-08-04 10:02:47 -04:00
Benjamin Bræstrup Sayoc
fda3fd731f [TechDraw] Use inherited unsetEdit
Remove uneeded redefinitions of inherited functions
2022-08-04 10:02:47 -04:00
Benjamin Bræstrup Sayoc
23966513c7 [TechDraw] Remove uneeded redefinitions of inherited functions 2022-08-04 10:02:47 -04:00
Yorik van Havre
42fbc0f58d Merge pull request #7309 from donovaly/Arch-code-cleanup
[Arch] further code cleanup after Py2 check removal
2022-08-04 12:41:18 +02:00
wmayer
b4305c7b46 Base: add Transform/Transformed to Line3<> and Polygon3<> 2022-08-04 11:46:38 +02:00
wmayer
4d00faeceb Base: add methods to transform a Vector3f with a Rotation or Placement 2022-08-04 11:45:39 +02:00
wmayer
d542185ba2 Mesh: consider placement in MeshPy::getCurvaturePerVertex 2022-08-04 11:09:47 +02:00
wmayer
9b8cf02aaf Mesh: refactor MeshPy::getSelfIntersections 2022-08-04 10:34:49 +02:00
Uwe
3db79c907c [FEM] Elmer: update test files 2022-08-04 04:50:00 +02:00
Uwe
70b8f13c7c [Arch] further code cleanup after Py2 check removal 2022-08-04 04:37:22 +02:00
Uwe
357989c552 [FEM] fix enable editing for all solvers
- currently for Z88 nothing happens when clicking the Edit button in the solver task dialog. The reason is that opening *.txt files was never implemented
- also do this for Elmer
- for Z88 we need to open several file for a proper editing because the solver info is distributed over these files
2022-08-04 04:19:55 +02:00
Uwe
0549a47b09 [FEM] Elmer: more work on Stabilize
- it turned out that despite not mentioned in the manual, ElmerGUI adds the Stabilize setting for all setups
-> bring "Stabilize" back for all equations
(for "Bubbles" it is correct that this is an equation-specific setting)
2022-08-04 03:57:46 +02:00
Uwe
82f41ce220 [FEM] Elmer: setup new pipelines like we do for CCX
and manually new created ones
2022-08-04 03:25:26 +02:00
Uwe
d455ba378e [FEM] Elmer: use different default linear solver
- BiCGStabl is as robust as BiCGStab but in all tested cases it converges faster
2022-08-04 03:24:03 +02:00
Uwe
ba858175fe [FEM] Elmer: use direct solving as default for stresses
- direct solving is sometimes even 10 times faster (as fast as CCX) and as accurate as CCX
2022-08-04 03:22:07 +02:00
Uwe
6af8a84a3c [FEM] pipeline: minor highlighting fix
- if a pipeline is invisible the highlighting must not be triggered
2022-08-04 03:11:02 +02:00
Uwe
846d39ba54 [Arch] minor code cleanup after Py2 check removal 2022-08-04 02:26:50 +02:00
wmayer
c49854b47b Base: implement Line3 Polygon3 class 2022-08-04 02:17:22 +02:00
Uwe
20dc9d0a61 [Arch] remove unneeded checks for Python 3
since we only support Python >=3, these checks can go
2022-08-04 01:32:06 +02:00