wmayer
617f213d2f
TD: [skip ci] help code analyzers with export macro
2022-08-08 12:03:25 +02:00
wmayer
0c7e521ff5
Gui: set width of list box according to text length
2022-08-08 11:36:35 +02:00
wmayer
55fa3d8a77
Mod: [skip ci] improve whitespace
2022-08-08 10:46:04 +02:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
wmayer
311abcc43e
Gui: [skip ci] include header with export macros
2022-08-08 10:22:59 +02:00
berniev
656ef8961f
Gui: redundant void 2
2022-08-08 10:21:44 +02:00
wmayer
ec72d96038
App: [skip ci] improve whitespace
2022-08-08 10:11:22 +02:00
berniev
7f699c3dad
App: redundant void 2
2022-08-08 09:45:36 +02:00
Roy-043
2e646c9147
Sketcher: Fix sWhatsThis for Sketcher_CompConstrainRadDia ( #7324 )
2022-08-08 02:11:06 +02:00
luz paz
d02f6330fc
FEM: remove trailing whitespace from various FEM files
2022-08-08 02:10:17 +02:00
Uwe
d438514d9f
[FEM] fix pipeline recompute issue
...
- after a simulation was run, the pipelines and its childs are recomputed but its shape coloring is not updated.
- also update XML documentation
- also remove comment in tasks.py for now
2022-08-08 02:04:07 +02:00
Uwe
8b06680eb8
[FEM] add framework to scale result mesh values
...
- it seems that we will need to scale result values (probably for the Elmer Eigen solver)
This PR adds the framework to do this. It is meant for Elmer but designed versatile.
2022-08-08 01:48:08 +02:00
Uwe
90afc19382
[FEM] fix pipeline recompute bug
...
- on recomputing scalar or warp filters the information about the field was lost.
This is because the validity of an array was tested before it is actually filled
- also fix MSVC warning of using a C++ keyword as variable
- also avoid an unnecessary recompute after Elmer solver was run
2022-08-08 00:06:54 +02:00
wmayer
c4547c03e1
Gui: improve integrated Python console:
...
* correctly handle the case that Py_BuildValue() can return a null pointer
* fix a latin1 <-> UTF-8 conversion problem
2022-08-07 17:50:28 +02:00
Uwe
460efa3a72
[FEM] Elmer: use defaults of ElmerGUI
...
- use also for the linear solver the defaults of ElmerGUI
2022-08-07 16:19:20 +02:00
Uwe
753a034708
[FEM] Elmer: fix for electricforce
...
- the default is to execute this solver after previous solution converged. This has to be output via the Exec Solver parameter
2022-08-07 16:17:55 +02:00
Uwe
bcc25f9bc7
[FEM] pipeline fix when there is no field
...
- for the case that pipeline with a field is active, then another pipeline that does not display any field, we cannot just return because the pipeline cannot have the color bar range of the prevision pipeline
2022-08-07 15:17:50 +02:00
Uwe
678fc54358
[FEM] [skip CI] set unit for potential loads
2022-08-07 15:15:23 +02:00
wmayer
3783e629c6
CMake: if module search mode for Coin3D failed try config search mode, restore the variable COIN3D_VERSION
2022-08-07 13:49:27 +02:00
Bernd Hahnebach
7a1c9303d3
FEM: Python pep8 code formatting
2022-08-07 09:56:52 +02:00
Uwe
b52967d52a
[FEM] update Elmer test files
2022-08-07 06:54:16 +02:00
Uwe
38aaf9bfb3
[FEM] Elmer: fix pipeline update issue
...
- the existing result pipeline can have several children. They must all be updated.
2022-08-07 06:22:42 +02:00
Uwe
f6e0d37264
Merge branch 'master' of github.com:FreeCAD/FreeCAD
2022-08-07 05:33:16 +02:00
Uwe
e4e34affac
[FEM] Elmer: resale the mesh using Elmer
...
- according to Peter from the Elmer team, we can use Elmer for both, scaling in and scaling back just for consistency
2022-08-07 05:32:54 +02:00
berniev
71c720efc8
give success message normal prominence
2022-08-06 23:27:23 -04:00
Uwe
42b3b8daed
[FEM] [skip CI] fix a typo for nonlinear solving
2022-08-07 05:24:37 +02:00
Uwe
dcdbf6dcaa
[Fem] Elmer: change default nonlinear tolerance
...
- ElmerGUI uses 1e-7 as default, so we should do too
2022-08-07 04:33:21 +02:00
Uwe
df257416a5
[FEM] make point filter aware of force density
2022-08-07 04:32:12 +02:00
Uwe
3d0def93cd
[FEM] Elmer: fix default for heat
...
- revert change from comm it commit f3933016 - "None" is the correct default. (I mixed this up with Navier-Stokes)
2022-08-07 02:45:08 +02:00
Uwe
7e071623d5
[FEM] fix selection issues with electrostatic constraint
...
- the used selection widget did not highlight the selected faces. This made it very hard to work with when one has an existing document where e.g. 5 faces have a certain voltage and you cannot figure out which ones.
To fix this use another selection widget
2022-08-07 02:33:09 +02:00
Uwe
7f27c23bfb
[FEM] [skip CI] ViewProviderAnalysis.cpp: .clang formatting fixes
...
- done automatically by MSVC
2022-08-07 02:28:40 +02:00
Bernd Hahnebach
a7c24ccd49
FEM: Python pep8 code formatting
2022-08-07 01:39:52 +02:00
Uwe
81836aae11
[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
84db9d4baa
[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
ef4366a20d
[FEM] Elmer: add missing parameters for Navier-Stokes solver
2022-08-06 23:36:40 +02:00
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