wmayer
30cb46cc5f
Fem: [skip ci] fix possible crash in PropertyPostDataObject::getMemSize
2022-08-03 10:55:31 +02: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
Benjamin Bræstrup Sayoc
86dfd0a862
[TechDraw] Simplify code getting default line weights
2022-08-02 16:13:01 -04:00
Benjamin Bræstrup Sayoc
750fa24b2e
[TechDraw] Remove deprecated replaceGeomFormat
2022-08-02 16:09:54 -04:00
Benjamin Bræstrup Sayoc
8719b71e39
[TechDraw] Remove deprecated replaceCenterLine
2022-08-02 16:09:54 -04:00
Benjamin Bræstrup Sayoc
0bb56ad93f
[TechDraw] Remove deprecated replaceCosmeticEdge
2022-08-02 16:09:54 -04:00
Benjamin Bræstrup Sayoc
127af5bea4
[TechDraw] Remove deprecated replaceCosmeticVertex
2022-08-02 16:09:54 -04:00
wmayer
ede18d20b9
Fem: [skip ci] replace the SoAnnotation with an SoSeparator to fix rendering artifacts for non-convex objects
2022-08-02 19:09:05 +02:00
Yorik van Havre
0c427dc57b
Merge pull request #7295 from carlopav/DraftFixEditBSpline
...
[Draft] Fix Draft Edit AddPoint with BSpline
2022-08-02 10:56:57 +02:00
Uwe
adfffb688c
[FEM] remove some unused includes
2022-08-02 05:15:31 +02:00
carlopav
d37a1a2440
[Draft] Fix Draft Edit AddPoint with BSpline
...
ref. https://forum.freecadweb.org/viewtopic.php?p=613622#p613622
Fix Bug when adding point to a BSpline.
2022-08-01 22:15:51 +02:00
Yorik van Havre
cfc8fb9fb4
Merge pull request #7259 from Roy-043/Draft-Fix-handling-of-groups-on-move-copy-and-rotate-copy
...
Draft: Fix handling of groups on move-copy and rotate-copy
2022-08-01 17:06:09 +02:00
wmayer
2f197d65ec
Spreadsheet: fixes #7285 : [Bug] FreeCAD crashes if cell value ' is set in Spreadsheet
2022-08-01 08:09:34 +02:00
Uwe
89f34f562a
[FEM] Elmer: fixes for the point filter
...
- use correct names and support all possible outputs
2022-08-01 04:33:06 +02:00
Uwe
59b4726698
[FEM] Elmer: update .sif files
...
- because of solver default settings change
2022-08-01 04:27:38 +02:00
Uwe
d296732de6
[FEM] Elmer: don't push mesh scaled to Elmer
...
- the mesh scaling was a hack to work around the fact that FC's mesh is in mm while all input units are in SI. It turned out that this made more problems than it solved because Elmer checks the length unit and makes internal recalculations. So the mesh must not be scaled when send to Elmer (despite the ElmerGrid docs doesn't state this).
forum thread: https://forum.freecadweb.org/viewtopic.php?p=614162#p614162
2022-08-01 03:58:09 +02:00
Uwe
e07c696b1e
[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
ffd51eda61
FEM: python code formatting
2022-07-31 23:47:45 +02:00
Chris Hennes
19f07586c9
Addon Manager: pylint cleanup of list diplay
2022-07-31 15:38:42 -05:00
Uwe
ab11797f22
[FEM] importVTKResults: assure user gets a visible object
...
- on importing a .vtu/.vtk file the new created should be a visible one. Therefore set its display to surface like we do when a new pipeline is created from within FC by the user
2022-07-31 22:32:04 +02:00
Uwe
a285c3cd16
[FEM] [skip CI] PropertyPostDataObject: some .clang changes
2022-07-31 22:08:43 +02:00
Uwe
aa7408f4c6
[FEM] Constraint: BodeHeat: fix regression from commit 22c64ef8
...
- a simple indentation mistake
2022-07-31 21:17:52 +02:00
Chris Hennes
0865b97459
Addon Manager: fix thread termination bug
2022-07-31 13:02:14 -05:00
wmayer
8bb85d2b7c
Fem: use SoAnnotation to highlight result pipeline objects
2022-07-31 17:51:31 +02:00
Uwe
529c48cca4
[FEM] remove unneeded checks for Python 3
...
since we only support Python >=3, these checks can go
2022-07-31 15:36:54 +02:00
Uwe
eabffee3a5
[Part] ViewProvider: 2 to M: remove unused includes
2022-07-31 15:36:20 +02:00
Uwe
4b5062c0d3
[Part] ViewProvider: P to T: remove unused includes
2022-07-31 14:55:19 +02:00
luz paz
786741c0c0
Fix various 'testing inequality to None' syntax issues
...
Substitute `is not None` for `!= None`
2022-07-31 14:11:48 +02:00
wmayer
e2805adb1b
Fem: implement a selection observer to notify a ViewProviderFemPostObject when its selection status has changed
2022-07-31 14:01:23 +02:00
Uwe
fb5c731847
[Test] remove unnecessary Python check
...
we only support Python 3
2022-07-31 05:28:47 +02:00
Uwe
f4636e826e
[Spreadsheet] remove unnecessary Python check
...
we only support Python 3
2022-07-31 05:28:19 +02:00
Uwe
0788b2c0a2
[PD] remove unnecessary Python check
...
we only support Python 3
2022-07-31 05:27:45 +02:00
Uwe
e61874be5a
[Path] remove unnecessary Python check
...
we only support Python 3
2022-07-31 05:27:03 +02:00
Uwe
ae2b73567d
[SCAD] remove unnecessary Python 3 check
...
we only support Python 3
2022-07-31 05:26:03 +02:00
Uwe
00f1360773
[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
luz paz
c457f3bfbd
Fix various 'testing inequality to None' syntax issues
...
Substitute `is not None` for `!= None`
2022-07-30 22:41:31 -04:00
Chris Hennes
119a402c66
Addon Manager: Add other_files download for wiki macros
2022-07-30 21:31:26 -05:00
Uwe
7c382f7c09
[FEM] Elmer: fix eigenmode results for point filter
...
Elmers' eigenmode results have a different result name
2022-07-31 04:30:31 +02:00
Uwe
a6fbd74cae
[FEM] add missing eigenfrequcy calculation for Elmer
...
- while for CCX we output the eigenfrequency, for Elmer the user had to perform the calculation of a sqrt of the complex result.
This is inconvenient and error-prone and also requires the knowledge where the result is output by Elmer and in what format. (cast me more than an hour to find this out)
Therefore perform the calculation for the user and output the result.
2022-07-31 02:31:26 +02:00
Uwe
6a3a308fe7
[FEM] utils: remove unused import
2022-07-31 02:08:16 +02:00
wmayer
bd5ef26536
Base: add Precision class
...
and move the Python binding from Part to Base module
2022-07-30 17:10:56 +02:00
Uwe
548cab1fd8
[FEM] Elmer: add missing direct variant MUMPS
...
- also use capitalized wording to Umfpack as Elmer does
2022-07-30 14:40:10 +02:00
luz paz
69a4a49f3d
PD: Remove unnecessary semicolons in FeatureHole.py
...
Discovered through github action check.
[skip ci]
2022-07-30 13:17:18 +02:00
luzpaz
82cdbebe97
PD: Fix 'testing inequality to None' syntax ( #7279 )
...
* PD: Fix 'testing inequality to None' syntax
- Substitute `is not None` for `!= None`
- Fix trailing whitespace
2022-07-30 04:01:40 +02:00
luzpaz
d35400aae3
Arch: Fix 'testing inequality to None' syntax ( #7274 )
...
* Arch: Fix 'testing inequality to None' syntax
- Substitute `is not None` for `!= None`
-Trim trailing whitespace on touched files
2022-07-30 00:28:20 +02:00
luzpaz
1ef31f40f5
Draft: Fix 'testing inequality to None' syntax ( #7275 )
...
* Draft: Fix 'testing inequality to None' syntax
- Substitute `is not None` for `!= None`
- Trim trailing whitespace on touched files
2022-07-30 00:26:56 +02:00
Uwe
6ea36b25ae
[Part] [skip CI] SectionCutting: silence MSVC compiler warning
...
- also fix a typo
2022-07-30 00:20:30 +02:00