Commit Graph

92 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
4839988bb3 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-05-02 07:29:09 +00:00
Stefan Tröger
9430bdde01 Fem: Implement basic python filter functionality and glyph example 2025-05-02 09:25:56 +02:00
marioalexis
424e193ae7 Fem: SolverCalculiX object refactor 2025-04-13 15:03:55 -03:00
marioalexis
b10c02407f Fem: Add electric charge density object 2025-03-27 21:13:21 +01:00
marioalexis
d4dca9fd93 Fem: Improve current density boundary condition 2025-03-03 00:02:02 -03:00
mac-the-bike
6fcbafb121 FEM: Animation of Results (#18496) 2025-02-17 10:24:09 -06:00
marioalexis
f24d24c9ac Fem: return from Python setEdit methods 2025-01-22 08:13:08 -06:00
marioalexis
71f115fa31 Fem: Add suppressible extension to mesh element objects 2025-01-06 17:56:30 +01:00
marioalexis
4d5424e422 Fem: Add suppressible extension to objects - fixes #12115 2025-01-06 17:56:30 +01:00
marioalexis
18daf1b5f7 Fem: Add electrostatic constraint symbol 2024-12-17 14:46:19 +01:00
marioalexis
e99a65a50d Fem: Netgen local refinement 2024-11-07 23:05:27 -03:00
marioalexis
9ec44feb53 Fem: New implementation of FemMesh Netgen object 2024-09-15 20:49:38 -03:00
marioalexis
d50506fb4d Fem: Use own base class for Python objects - fixes #15408 2024-07-20 21:10:15 -05:00
lyphrowny
359c1ae2bb FEM: reformat codebase 2024-06-23 16:26:36 +03:00
marioalexis
3a08324f92 Fem: Create own base class for Python Material objects 2024-06-21 19:26:18 -05:00
marioalexis
449f9b9be8 Fem: Create own base class for Python Mesh objects 2024-06-21 19:26:18 -05:00
marioalexis
2bb2160fa2 Fem: Create own base class for Python Element objects 2024-06-21 19:26:18 -05:00
marioalexis
b485c3fcd6 Fem: Avoid unnecessary method overriding 2024-06-21 19:26:18 -05:00
marioalexis84
ecabfa1080 Fem: Improve constraint section print (#14046)
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-05-20 11:00:48 -05:00
marioalexis
983ac9b238 Fem: Remove unused view properties 2024-04-29 10:52:52 -05:00
marioalexis84
0be9e68fcd Fem: Constraint symbol scaling (#13274)
* Fem: Constraint symbols rescaling

* Fem: Add constraint symbol .iv files

* Fem: Fix contact constraint symbol rescaling

* Fem: Fix displacement constraint symbol rescaling

* Fem: Fix fixed constraint symbol rescaling

* Fem: Fix force constraint symbol rescaling

* Fem: Fix heat flux constraint symbol rescaling

* Fem: Fix plane rotation constraint symbol rescaling

* Fem: Fix pressure constraint symbol rescaling

* Fem: Fix spring constraint symbol rescaling

* Fem: Fix temperature constraint symbol rescaling

* Fem: Add tie constraint symbol
2024-04-22 11:49:13 -04:00
wmayer
ef9936a940 App: fixes #10460: App::PropertyPythonObject is not saving data
Since Py3.11 the methods names __setstate__ and __getstate__ conflict with the method names added to the object class.
Thus rename them to 'loads' and 'dumps'
2023-09-24 10:56:35 -05:00
luzpaz
38a01939e0 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
Pesc0
1c093e8729 remove remaining six dependencies 2023-03-26 23:39:00 +02:00
Uwe
eea83ae37e [FEM] improve messages in mesh generation
- no longer output an error on mesh from a BooleanFragments. There are cases when this fails, but other cases where one must use a BoopleanFragments compound and this works well, see https://forum.freecad.org/viewtopic.php?t=71070. Therefore a warning is sufficient.
- disable log messages not important for the average users.
- avoid code duplication
2023-02-13 16:55:00 +01:00
Uwe
3c94e3d87e [FEM] add new filter to display iso contours
- very valuable to display for example electromagnetic field lines
2023-02-13 16:53:21 +01:00
Uwe
5a39a9b4b1 [FEM] change hiding logic on calling task panels
- the typical workflow is to change e.g. a constraint setting or material property and to check how and if this change changes the simulation result. it is therefore very annoying that on every call of a task panel the results are hidden.
This PR changes this to hide only meshes and the filter functions but to keep the results. If a user don't like to see results for example to select faces, he hides results anyway.
2023-02-10 16:47:52 +01:00
Uwe
f6abb77758 [FEM] add new constraint for magnetization 2023-02-09 14:41:25 +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
Uwe
d0ee6a46a0 [FEM] fix body heat source constraint
- as the name implies, it must be possible to set the heat to different bodies
- for this a selection dialog is necessary
- check that heat is not zero
2022-08-15 02:47:01 +02:00
Uwe
25a829bd0c [FEM] add initial pressure constraint (#7364)
* [FEM] add initial pressure constraint

- this is needed for fluids
2022-08-14 20:00:36 +02:00
Uwe
2e9788d488 [FEM] BodyHeat constraint: use unique icon
- it was not possible to distinguish the constraint from the heatFlux constraint
2022-07-27 03:09:15 +02:00
Bernd Hahnebach
41a8ed83af FEM: python code formatting 2022-07-12 15:04:26 +02:00
wmayer
e22447b7da Fem: [skip ci] fix deleting Result object if its children has been deleted beforehand 2022-05-28 12:08:44 +02:00
Uwe
0e98485112 [FEM] fix Gmsh deletion handling
- fixes the issue that one could accidentally delete a mesh despite it has submeshes

- also a coding style improvement
2022-03-25 05:50:31 +01:00
Uwe
58c020b47f [FEM] mechanical result: add proper deletion handling
- use a warning with possibility to cancel like for the C++ FEM objects
2022-03-25 05:38:49 +01:00
UR-0
5cf39c4912 FEM: constraint centrif, Gui tools 2021-07-09 22:04:19 +02:00
UR-0
cc97865141 FEM: constraint centrif, App objects and methods:
- CalculiX centrifugal body loads
- CalculiX label CENTRIF from *DLOAD card
- implement FreeCAD NonGui code
- the object, ccx writer, etc
2021-07-09 22:03:58 +02:00
donovaly
b0051d1d5f [skip ci] [FEM] don't hide Gmsh mesh by default
it is very annoying that the mesh is hided when closing the task dialog because one often has to play with the Gmsh properties and need to see the mesh.
See also https://forum.freecadweb.org/viewtopic.php?f=18&t=56401&start=10#p489734
2021-03-25 09:01:51 +01: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
ed20cd44f5 FEM: remove superfluous 'pass' 2020-11-26 09:07:25 +01:00
luz paz
27fc4d6c7e Fix various typos [skip-ci] 2020-10-24 12:25:46 +02:00
Bernd Hahnebach
84aba55ea8 FEM: constant vacuum permittivity, add object to overwrite constant 2020-06-29 17:46:43 +02:00
UR-0
fc04645402 FEM: ccx constraint section print, add task panel 2020-06-24 07:52:16 +02:00
UR-0
337c935f20 FEM: ccx constraint section print, add object 2020-06-24 07:52:16 +02:00
Bernd Hahnebach
0bfecf7af5 FEM: gmsh view provider, small improvements 2020-06-04 00:15:15 +02:00
Bernd Hahnebach
ef6d394ce9 FEM: move task panel in separate module, constraint initial flow velocity 2020-06-03 23:49:07 +02:00
Bernd Hahnebach
8bbc1c3be2 FEM: move task panel in separate module, mesh region 2020-06-03 23:49:05 +02:00
Bernd Hahnebach
bc4212b065 FEM: move task panel in separate module, mesh group 2020-06-03 23:49:03 +02:00