Commit Graph

25156 Commits

Author SHA1 Message Date
Uwe
bd0f39e7c9 [FEM] Elmer writer: sort out electricforce equation
- sort out electricforce equation - next step to refactor writer.py
2023-02-07 03:59:59 +01:00
Uwe
a26ac3249d [FEM] Elmer writer: sort out flow equation
- sort out flow equation - next step to refactor writer.py
2023-02-07 03:21:25 +01:00
Uwe
5d12dcf1ed [FEM] Elmer writer: sort out flux equation
- sort out flux equation - next step to refactor writer.py
2023-02-07 02:40:59 +01:00
Uwe
240e2aa816 [FEM] Elmer writer: sort out heat equation
- sort out heat equation - next step to refactor writer.py
2023-02-07 02:03:53 +01:00
Uwe
177fdcd02b [FEM] Elmer electrostatic improvements
- output only a reasonable number of digits for vacuum permittivity
- output the FC label of potential constraints as comment (helps a lot when having several constraints)
2023-02-07 00:38:50 +01:00
Uwe
4ac2f8fe1a [FEM] Elmer: refactor writer for electrostatics
- the writer.py is to large to keep the overview, thus sort out the handling of the different equations (also since more equations will be added)
- This PR sorts out the electrostatic equation handling as first step (more equations will follow once this is merged)
2023-02-07 00:38:50 +01:00
Uwe
e0fa255920 [FEM] Elmer: add permeability of vacuum 2023-02-07 00:16:52 +01:00
Uwe
0bbf9fa4b0 [FEM] shorten too long lines
- reformatting was done by the MSVC formatter according to our current clang file
2023-02-06 23:12:53 +01:00
Roy-043
99ad01cda9 [Draft] fix ang dim arrows alignment issue related to asin (#8368) 2023-02-06 14:01:08 +01:00
edi271
ee798b0b36 [TD] Add Command Axo Length Dimension
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2023-02-05 14:50:44 -08:00
Roy-043
e883e9b89e Draft: add delay in the Draft_Clone unit test (#8363) 2023-02-05 21:59:39 +01:00
Uwe
65eb154eac [FEM] add current density constraint
- also add corresponding App::PropertyCurrentDensity

- also fix a typo in test_object.py
2023-02-05 21:10:15 +01:00
luzpaz
1f7ab06160 Fix whitespace issues 2023-02-05 16:39:58 +01:00
Yorik van Havre
ac9fde2a3d Fixes startpage css - fixes #8330 2023-02-05 15:09:23 +01:00
Uwe
2620bcca35 [Material] fix conductivity of Copper
- the conductivity was by a factor 10 too low, use a common value as fix
2023-02-05 05:21:14 +01:00
Uwe
5417abaa04 [FEM] [skip ci] Elmer write: some cleanup
- fix also a typo
2023-02-05 03:20:56 +01:00
Uwe
e5cd6ceffc [Start] set sensible size for DlgStartPreferences.ui
- as mentioned in #8330, new size set by QtDesigner
2023-02-05 00:21:26 +01:00
Yorik van Havre
2056cd94f9 Start: Added option to hide start page scrollbars 2023-02-04 22:50:23 +01:00
Uwe
b8ce56b5e6 [FEM] Elmer output material name
- when looking at the Elmer input file 'case.sif' it is extremely helpful to thee also the name of the material
  Since the name is only form info, this does not change the actual simulation
2023-02-04 22:11:30 +01:00
luzpaz
1b43baa418 Fix various trailing newlines, typos and grammar 2023-02-04 18:29:07 +01:00
Uwe
3310a80164 [Material] add support for magnetic permeability
- also rename property group to "electromagnetic" (this change has no influence on any existing simulation, is only the name in the material editor)
2023-02-03 14:17:17 -06:00
Uwe
06e0f477a6 [Part] [skip ci] update a tooltip
- since FC 0.20 we require OCC 7.4
2023-02-03 12:15:28 -06:00
Pascal de Bruijn
c767880908 Increase mesh generation output quality 2023-02-03 12:08:10 -06:00
Pascal de Bruijn
3ecff9588e Tools: tweak mesh generation
Mesh generation parameters are taken from PrusaSlicer's STEP importer,
which does a just-in-time STEP->STL conversion in memory.

Resulting meshes have better geometry, but are a little larger as a result.
2023-02-03 12:08:10 -06:00
Uwe
1ab36e21e8 [FEM] Elmer: revert wrong change from #8336
- I mixed the normal stress solver with the elastic stress solver. For the normal stress solver plane stress is possible in all coordinate systems
2023-02-03 18:41:06 +01:00
Uwe
9e9c7c3428 [FEM] Elmer: don't hardcode the coordinate system
- Elmer allows for all currently supported equations several coordinate systems
- also remove an unused variable
2023-02-03 17:49:58 +01:00
Uwe
9923b13b16 [FEM] Elmer: fix error on wrong material settings
- if user set no material for a body, we must raise an error
- also fix annoying output of permittivity in case.sif file
2023-02-03 15:45:25 +01:00
Roy-043
3eaff64025 Draft: fix normal calculation for angular dims 2023-02-03 15:44:27 +01:00
Uwe
a7e02a48fa [Material] add new card for carbon dioxide 2023-02-03 02:37:27 +01:00
wmayer
d25e171ef3 Sketcher: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
wmayer
8d6ef6ba12 TD: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
wmayer
c5dedb412d Surface: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
wmayer
ab71c4b8a4 Mesh: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
wmayer
a0548860d2 PD: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
wmayer
083da6cf03 Part: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
Roy-043
1e03fddb67 Draft: housekeeping: remove obsolete code (uiMode and DraftGui.py) (#8327) 2023-02-02 23:24:27 +01:00
Uwe
5d1bc93147 [FEM] solver_taskpanel: fix bug with Edit button
- when an error occurred during the Write process, the Edit button must not be enabled
  In this case the machine state is still at femsolver.run.PREPARE. If no error occurred it went one step up.
2023-02-02 18:58:07 +01:00
wandererfan
b6754947f1 [TD]use correct shape for section of section 2023-02-02 05:55:32 -08:00
wandererfan
86d0975b2c [TD]fix handling of perforated section faces 2023-02-02 05:55:32 -08:00
wandererfan
95d1ed54b6 [TD]allow section line when base is section 2023-02-02 05:55:32 -08:00
Roy-043
6da0eec51a Draft: subelement mode ignored nesting (#8319) 2023-02-02 11:49:55 +01:00
Uwe
faa50f59f3 [FEM] equationbase: sort equations alphabetically
- to ease readability a bit
2023-02-02 06:30:22 +01:00
Uwe
b46c1c5ff9 [FEM] sort equations alphabetically
- to ease readability a bit
2023-02-02 05:35:15 +01:00
LarryWoestman
55ff3aae18 Path: Refactored add_parameters into individual functions.
Replace the "add_parameters" routine by an array of individual
functions (one for each parameter letter) and a simple piece of
code that calls the appropriate parameter passing functions in
the specified parameter order.  Some of the parameter letters
can share the same parameter passing function in the default
configuration.
This not only simplifies the code but opens up the possibility
of replacing the code processing a given parameter letter
("Q", for example) with new code in the postprocessor file
without having to modify the shared postprocessor functionality
(in the three Util*.py files).
2023-02-01 11:55:18 -08:00
wmayer
25beef481c TD: move to new style connect() 2023-02-01 01:33:34 +01:00
Roy-043
f9cdaaf3d9 Draft: fix issue with undo (#8267) 2023-01-31 21:38:19 +01:00
wmayer
28df3265cc Part: put instantiation of BRepAdaptor_Surface into try/catch block as for some broken faces it may fail 2023-01-31 11:04:38 -06:00
Yorik van Havre
ca7c1ccd94 Merge pull request #8282 from Roy-043/Arch-update-Arch.pruneIncluded-to-include-cloned-PD-Bodies
Arch: update Arch.pruneIncluded to include cloned PD Bodies
2023-01-31 13:16:23 +01:00
Yorik van Havre
412cd185a4 Merge pull request #8287 from Roy-043/Arch-Fix-ArchPrecast.py-issues
Arch: Fix ArchPrecast.py issues
2023-01-31 13:15:46 +01:00
wandererfan
de723238fa [Sketcher]fix cursor display of angles 2023-01-30 11:04:42 -08:00