Commit Graph

23263 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Günter Neiß
109721fb0d OpenSCAD: remove SCAD-Import error in importCSG.py
Signed-off-by: Günter Neiß <gneiss@web.de>
2022-08-03 12:42:43 -04:00
wmayer
322080d4f1 Mesh: refactor MeshPy::writeInventor 2022-08-03 17:56:24 +02:00
wmayer
88e32eba9b App: changes in ComplexGeoData:
* rename some methods
* distinguish between Point and Vector
* support of arrays of Point or Vector
2022-08-03 16:18:14 +02:00
wmayer
30cb46cc5f Fem: [skip ci] fix possible crash in PropertyPostDataObject::getMemSize 2022-08-03 10:55:31 +02:00
mlampert
79a9b29304 Merge branch 'master' into bugfix/vcarve-c++-exception 2022-08-02 20:57:37 -07:00
Uwe
db3e28418d [FEM] Elmer: update .sif files
- because of solver default settings change
2022-08-03 04:29:27 +02:00
Uwe
1f89f6eca7 [FEM] Elmer: fix solver stabilize settings
- according to https://www.nic.funet.fi/index/elmer/doc/ElmerModelsManual.pdf
the stabilization methods are equation-specific and only available for some solvers
This commits changes these settings according to the manual
2022-08-03 02:32:01 +02:00
Uwe
30d9efe691 [FEM] Elmer: Flux: add missing settings
- enable the disabled options. They work and are according to the Elmer manual. The user is free to use them or not and since they are all False by default, existing analyses won't be affected.
- add two missing settings
- for new equations, enable at least one calculation, otherwise nothing will happen when an inexperienced user uses the default
2022-08-03 01:50:12 +02:00
luz paz
8ee6e78f7d AddonManager: Fix source comment typos
[skip ci]
2022-08-02 16:35:03 -04:00
Markus Lampert
3408d7c2ca Enabled exception handling again 2022-08-02 13:32:25 -07:00