Commit Graph

23325 Commits

Author SHA1 Message Date
Wanderer Fan
cf52d87dba [TD]fix multiple dimension drag 2022-08-10 14:09:08 -04:00
Chris Hennes
765031b634 Addon Manager: Finish pylint cleanup of startup workers 2022-08-10 10:53:54 -05:00
Chris Hennes
69ed6aa1c1 Addon Manager: pylint cleanup in startup workers 2022-08-10 09:17:02 -05:00
Uwe
49d4b75716 [FEM] [skip CI] formatting fix for potential 2022-08-10 13:42:29 +02:00
Uwe
96cd900691 [FEM] electric Potential: add missing conversion
- add missing conversion of property change that was already done before FC 0.20
2022-08-10 13:32:32 +02:00
Uwe
1dc4ed454e [FEM] Elmer: fix material bug and improve material handling
- for fluid material writing the elasticity solver failed with unknown Young Modulus
- fix regression with checking for fluid material. Checking the material of the bodies is not sufficient. One can e.g. have a solid without bodies defined, then it applied to all bodies and there might be a fluid defined for only one body. Checking the body's material would then deliver there is no fluid
2022-08-10 06:16:38 +02:00
Uwe
88155e105a [FEM] update a bimetal testfile 2022-08-10 04:26:19 +02:00
Uwe
6b9e822f03 [FEM] Elmer: set constraints for relaxation factor
- the relaxation factor is crucial for nonlinear systems thus help the user by setting constraints and convenient steps.
Since the property stays a float no update is necessary, existing properties just stay a normal float
2022-08-10 04:10:47 +02:00
Uwe
4c34d5f092 [FEM] Elmer: notify users about missing fluid material
- it was often unclear when no flow equation was written to the case.sif (was a regression FC0.20)
2022-08-10 03:29:34 +02:00
Uwe
cd1991f4ea [FEM] fix bimetall example
- add missing density
- set a second temperature to make the heat solver actually working
- adapt to new defaults
2022-08-10 02:27:27 +02:00
Uwe
388dab1cf2 [Material] add materials used by our examples
- add generic copper and invar
- also extend the generic aluminum card
2022-08-10 02:08:35 +02:00
Uwe
430ddac697 [FEM] Elmer: automatic update for BiCGstablDegree
- up to last week we used the invalid BiCGstablDegree 0 thus update to the default of 2
2022-08-10 01:50:19 +02:00
Uwe
03406e7949 [FEM] fix selection issues with flow velocity constraint
- same fix as commit dc851bd8 for flow velocity 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 velocity and you cannot figure out which ones.
To fix this use another selection widget
2022-08-10 01:17:53 +02:00
wmayer
c78e792737 Part: fix build failures with OCC >= 7.6 2022-08-09 18:42:38 +02:00
wmayer
c87e1cc1c2 clang: fix warnings [-Winconsistent-missing-override] 2022-08-09 17:36:25 +02:00
Chris Hennes
1ec8775c2c Addon Manager: Unit tests for cache loading 2022-08-09 10:23:27 -05:00
Chris Hennes
4def062fe2 Addon Manager: Improve unit tests for utlility 2022-08-09 10:23:27 -05:00
Chris Hennes
b6e2fb17d0 Addon Manager: Refactor to improve testability 2022-08-09 10:23:27 -05:00
Chris Hennes
db0afb08b2 Addon Manager: Add unit test for addon fetch 2022-08-09 10:23:27 -05:00
Chris Hennes
5bc4445ede Addon Manager: Fix macro-loading bug from refactoring 2022-08-09 10:23:27 -05:00
Chris Hennes
2e51954b2b Addon Manager: Worker refactor (round 1) 2022-08-09 10:23:26 -05:00
berniev
71dc5ead2f Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
wmayer
00bdd16dff Base: extend Placement/Rotation API
* Add Placement::isSame() and expose to Python
* Add Placement::multRight/Placement::multLeft
* Fix PlacementPy::rotate
* Add Rotation::multRight/Rotation::multLeft
* Add a test feature FeatureTestPlacement for uni tests
* Add unit tests
2022-08-09 11:54:05 +02:00
Uwe
f8769643cd [FEM] Elmer: fix broken example
- (a regression to FC 0.20.0), use new settings ("direct" is already the default, iterative solving takes here about 5 times longer, DisplaceMesh must be False)
2022-08-09 05:38:02 +02:00
Uwe
8c351a3c3c [FEM] increase size of generic solver task panel
- increase it to size of CCX panel to create more room for the log output
2022-08-09 03:23:12 +02:00
sliptonic
ebb0f5934c Merge pull request #7333 from mlampert/bugfix/external-thread-issues
PATH: Bugfix/external thread issues
2022-08-08 10:11:23 -05:00
berniev
5fa05ab83d Mod: Redundant_string_initialization 2022-08-08 16:52:42 +02:00
Uwe
6f589f04b4 [FEM] Elmer: scale EigenMode results
- for an not yet known reason the result from Elmer are only for eigen analyses a factor 1000 (we send the mesh scaled to Elmer and it seems the eigen solver does not notice this)
Therefore scale these results
2022-08-08 12:33:57 +02:00
Uwe
7a0971a396 [FEM] fix warp filter factor
- since our mesh is in mm, we must multiply the set factor by 1000 to get the real factor. This applies also for pipelines from CCX results.
Now the factor fits with the factor one can set in the CCX results dialog
2022-08-08 12:20:47 +02:00
wmayer
1c71691c1c TD: [skip ci] help code analyzers with export macro 2022-08-08 12:03:25 +02:00
wmayer
882e96d7d5 Mod: [skip ci] improve whitespace 2022-08-08 10:46:04 +02:00
berniev
f4ffd15864 Mod: redundant void 2 2022-08-08 10:27:50 +02:00
Markus Lampert
d54ad5048d Fixed radii calculations and their processing for external threads 2022-08-07 18:01:07 -07:00
Markus Lampert
020f721ec2 Fixed external thread milling orientation and direction 2022-08-07 18:01:07 -07:00
Markus Lampert
b4f553f7e5 Fixed logic error in path selection drill gate. 2022-08-07 18:01:07 -07:00
Markus Lampert
89e783d708 Added check to deal with float nan as cycle time result 2022-08-07 18:01:07 -07:00
Roy-043
f505563d5d Sketcher: Fix sWhatsThis for Sketcher_CompConstrainRadDia (#7324) 2022-08-08 02:11:06 +02:00
luz paz
feb4218d06 FEM: remove trailing whitespace from various FEM files 2022-08-08 02:10:17 +02:00
Uwe
ee127273c1 [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
b397633f27 [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
e27da52b9c [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
Uwe
05816ee764 [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
306cf25894 [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
c98864ebc9 [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
b6d0eeaf66 [FEM] [skip CI] set unit for potential loads 2022-08-07 15:15:23 +02:00
Bernd Hahnebach
d9fcdb8c3f FEM: Python pep8 code formatting 2022-08-07 09:56:52 +02:00
Uwe
c86e4b7685 [FEM] update Elmer test files 2022-08-07 06:54:16 +02:00
Uwe
42e4f53366 [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
31a3a14b98 [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
Uwe
2b7d893b46 [FEM] [skip CI] fix a typo for nonlinear solving 2022-08-07 05:24:37 +02:00