Commit Graph

56 Commits

Author SHA1 Message Date
Uwe
c4097ede8f [FEM] Elmer: fix default for heat
- revert change from comm it commit 117d789e - "None" is the correct default. (I mixed this up with Navier-Stokes)
2022-08-07 02:45:08 +02:00
Bernd Hahnebach
e93f61081a FEM: Python pep8 code formatting 2022-08-07 01:39:52 +02:00
Uwe
0b969fbc0a [FEM] Elmer: polishing for nonlinear system
- add tooltips
- relaxation factor is usually not below 0.1 thus no expression is necessary
- sorting
2022-08-07 01:21:42 +02:00
Uwe
f7099cd43c [FEM] Elmer: fixes for electrostatics
- one needs to specify a file when calculating the capacitance matrix
- add electric flux to point filter results
- add missing parameters
- also some sorting
2022-08-07 01:11:07 +02:00
Uwe
f782c46f72 [FEM] Elmer: add missing parameters for Navier-Stokes solver 2022-08-06 23:36:40 +02:00
Bernd Hahnebach
dc05f8e9b9 FEM: Python pep8 code formatting 2022-08-06 22:29:12 +02:00
Uwe
25c33ade64 [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
4a8e4a8429 [FEM] Elmer: output the equation-specific settings for Navier-Stokes 2022-08-06 22:01:25 +02:00
Uwe
057a19af82 [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
Bernd Hahnebach
0ed91f1b6a FEM: Python pep8 code formatting 2022-08-06 20:16:10 +02:00
Uwe
40629bb2bf [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
125d2962c7 [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
Bernd Hahnebach
83172137e7 FEM: Python pep8 code formatting 2022-08-06 13:33:01 +02:00
Uwe
0567a7c026 [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
fce9a2fcfb [FEM] Elmer: add missing parameters for flux equation
- also add tooltips
2022-08-05 05:09:54 +02:00
Uwe
a046c1aaa6 [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
34e45fbcac [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
e4d1cb66e9 [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
5d1b25f130 [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
bbc21b336a [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
a6288fdabe [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
Uwe
927cecc742 [FEM] Elmer: set sensible defaults for elasticity equation
- for BiCGstabl the minimal degree is 2, but 3 is recommended
- when adding the equation, it should do something, therefore enable the calculation of the principal stresses (as it was, nothing was calculated except of the displacement)
2022-08-01 03:42:57 +02:00
Bernd Hahnebach
5d4b753940 FEM: python code formatting 2022-07-31 23:47:45 +02:00
Uwe
bb667b516f [FEM] Elmer: fix small number property handling
- use an expression as discussed: https://forum.freecadweb.org/viewtopic.php?p=613897#p613897
2022-07-31 05:19:45 +02:00
Uwe
52b2bc6e38 [FEM] Elmer: add missing direct variant MUMPS
- also use capitalized wording to Umfpack as Elmer does
2022-07-30 14:40:10 +02:00
Bernd Hahnebach
3c1d251014 FEM: code formatting, revert parts of commit 058582edb5b 2021-02-16 16:17:47 +01:00
luz paz
55f471b72c FEM: doxygen 2020-12-04 17:50:00 +01:00
Bernd Hahnebach
46164a2b2b FEM: elmer equations, delete wrong tool tips 2020-07-16 00:09:19 +02:00
Bernd Hahnebach
d1701285f6 FEM: elmer equations, code formatting 2020-07-14 22:55:33 +02:00
Bernd Hahnebach
3a97d68e70 FEM: elmer equation flux, better name without word solver 2020-06-29 22:28:26 +02:00
Bernd Hahnebach
c6b485ecc7 FEM: elmer electric force object, change type 2020-05-25 17:59:59 +02:00
HoWil
137ade8c66 FEM: add elmer electric force equation object 2020-05-25 15:46:00 +02:00
Bernd Hahnebach
beaa889797 FEM: selection widgets, rename and move module 2020-05-21 15:04:26 +02:00
Bernd Hahnebach
1c822dcf6e FEM: solver frame work, get rid of Active Document code 2020-03-14 21:45:11 +01:00
Bernd Hahnebach
c6ae035d50 FEM: code formating and unifor licence header in Python modules 2020-03-04 07:50:21 +01:00
Bernd Hahnebach
d04bee5ed9 FEM: elmer equation objects, better type checking 2020-03-02 20:54:52 +01:00
Bernd Hahnebach
ab0ace8f61 FEM: improve imports 2020-02-26 20:58:26 +01:00
HoWil
ce30e9217f FEM: Add ElectricInfinity- and CapacitanceMatrix- boundary condition for Elmer 2020-02-20 18:08:01 +01:00
Bernd Hahnebach
3c85725155 FEM: new member tools, move some analysis member methods from utils 2020-02-19 07:23:50 +01:00
Bernd Hahnebach
f9494a920b FEM: replace fem utils method with FreeCADs obj method 2020-02-17 12:31:57 +01:00
Bernd Hahnebach
6a736272f8 FEM: equations, fix reset edit mode 2019-12-16 05:40:51 +01:00
Bernd Hahnebach
872b5bcdd2 FEM: solver elmer, use single quotes instead of double ones 2019-09-05 18:24:55 +02:00
Bernd Hahnebach
8647272841 FEM: imports, use small character for fem utils imports 2019-03-31 11:18:11 +02:00
Bernd Hahnebach
ddb4c77b5b FEM: utils, rename get single member 2018-12-07 08:53:48 -03:00
luz.paz
a1b811f171 FEM: solver, make uniform copyright and developer info
.
2018-11-26 09:10:17 -03:00
luz.paz
15e203881b FEM: solver, make file header title use the same schema in all solver modules
Made uniform all __title__ doxy \addtogroup blocks
2018-11-26 09:10:17 -03:00
Bernd Hahnebach
4db7eaa7a8 FEM: equation objects, add some comments for linear and nonlinear equation 2018-08-29 11:02:43 -03:00
Bernd Hahnebach
7eef8f3e68 FEM: code formating, flake8 2018-01-31 19:04:29 +01:00
Bernd Hahnebach
ef6c36ba64 FEM: objects, use fem name sheme for object package names 2018-01-25 18:46:30 -02:00
Bernd Hahnebach
ff1601be5f FEM: fem tools package, move fem utils in it 2018-01-11 06:22:28 +01:00