Commit Graph

258 Commits

Author SHA1 Message Date
Benjamin Nauck
2107e60304 Mod: Use new GroupExtension::addObject<T>(...) 2025-02-10 18:35:38 +01:00
tritao
551c2e48fb Gui: Reorganize the selection files into a top Selection folder. 2025-02-03 17:56:57 +01:00
Benjamin Nauck
6f535f19fb Prefer to use BaseClass's isDerivedFrom<T> over non template or Base::Type's
Regex based changes, manually verified
2025-01-27 16:08:18 +01:00
Benjamin Nauck
74f3aee9a7 Add template based SelectionSingleton::countObjectsOfType
Also convert code to use this new method
2025-01-13 18:55:15 +01:00
marioalexis
3fad0cff60 Fem: Fix FemPostPipeline base class 2024-12-03 11:45:41 -03:00
Roy-043
dae79106f6 FEM: FEM_CreateElementsSet menu text in sentence case 2024-11-15 11:56:32 -05:00
wmayer
301b239767 Fem: Refactor DefineNodesCallback and DefineElementsCallback
Refactor the two methods to reduce code duplication.
2024-06-18 18:48:14 +02:00
wmayer
a2939767ce FEM: Fix linking errors
The static members of FemSetElementNodesObject are not defined in Fem but FemGui which the MSVC compiler doesn't like.
Furthermore it's a code smell to make them public and static and they are not even used by the class itself.
2024-06-18 18:14:10 +02:00
wmayer
b8905ff87e Fem: Fix copyright notices
Do not clutter copyright notices with changes made to a file. That's the task of the VCS
2024-06-18 18:01:22 +02:00
Chris Hennes
3181c4f2a8 Merge branch 'main' into erase-version-4 2024-06-17 11:10:12 -05:00
marioalexis
d228d50755 Fem: Update constraint transform 2024-06-05 13:12:25 -03:00
FEA-eng
f854eb2ee6 Update Command.cpp 2024-05-27 11:03:19 -05:00
marioalexis
69731b9d1b Fem: Don't hide input filter with DataAtPoint and DataAlongLine - fixes #14135 2024-05-27 10:31:28 -05:00
Ajinkya Dahale
845c0e7bcd FEM: Add unit test for new ConstraintRigidBody object 2024-05-16 12:51:37 -05:00
Ajinkya Dahale
a9bff5b7b3 [FEM] Add rigid body constraint 2024-05-16 12:51:37 -05:00
marioalexis84
dbc541f0a0 Fem: Reset field color bar - fixes #13695 (#13820)
* Fem: Reset field color bar - fixes #13695

* Fem: Hide input filter if new filer is created
2024-05-06 11:23:08 -05:00
marioalexis84
7962136169 Fem: Add radiation heat transfer (#13466)
* FEM: Add radiation heat transfer
* FEM: Add radiation heat transfer to CalculiX writer
* FEM: Update .inp files
* Fem: Rename heat flux ui members

---------

Co-authored-by: FEA-eng <59876896+FEA-eng@users.noreply.github.com>
2024-04-29 10:53:59 -05:00
marioalexis
7e5bb7361a Fem: Improve constraint contact - partial fixes #11653 2024-01-26 13:44:16 -03:00
FEA-eng
1455382651 Support for stress tensor components in FEM stress linearization (#11724)
* Stress components in linearization

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-18 10:42:04 -06:00
pre-commit-ci[bot]
c1f71489e0 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-11-22 12:02:43 +00:00
mac-the-bike
408eed1657 Version 4 of the Erasing Elements Code 2023-11-22 11:56:21 +00:00
Florian Foinant-Willig
027ac1b456 Fem: modernize type checking 2023-10-23 18:09:04 +02:00
wmayer
d305f306df Core: Revert superfluous changes made with PR #9521 2023-10-09 15:06:45 +02:00
sliptonic
747c2b86f8 Merge pull request #9521 from AgCaliva/User/Document/Feature_level_units_selection_#7746
Adding "ProjectUnitSystem" support to project files.
2023-10-06 07:56:59 -05:00
marioalexis
6f0986757f Fem: Set default force to 1 N in FEM_ConstraintForce command 2023-10-04 17:09:53 -03:00
AgCaliva
3ac69993c0 merge master via cli 2023-10-04 13:28:48 -03:00
Roy-043
5dc9c484b9 FEM: Add sWhatsThis for FEM_CompEmConstraints 2023-09-30 18:43:48 +02:00
AgCaliva
a4e90b2609 Merge branch 'master' into User/Document/Feature_level_units_selection_#7746 2023-09-25 22:58:23 -03:00
wmayer
3863cff6c0 Fem: Apply clang-format 2023-09-25 14:50:43 +02:00
FEA-eng
960c9f2d57 FEM naming fix part 2 2023-09-25 12:17:43 +02:00
AgCaliva
64f60721a9 merge master via cli 2023-09-16 02:12:58 -03:00
AgCaliva
375df38e78 fixing DOMDocument redefinition error 2 2023-09-14 03:50:53 -03:00
kaktus Jacek
1adfa88aee Fem: Removing "constraint" from the names
Removing "constraint" from the names of most FEM workbench features.

https://github.com/FreeCAD/FreeCAD/discussions/10217
2023-09-03 22:29:35 -05:00
wmayer
89b9a7ae0f FEM: modernize C++: use range-based for loop 2023-08-15 01:09:53 +02:00
luzpaz
57b9442df7 Fix various typos 2023-08-04 19:46:12 +02:00
marioalexis
fc8cc7e728 Fem: Remove unnecessary type check for active analysis 2023-03-25 08:54:01 +01:00
Uwe
a377a5e490 [FEM] remove unused code
- remove commented-out code that is in Python since years
2023-03-24 02:42:19 +01:00
Uwe
7edea318ea [FEM] Elmer: group mechanical equations
- also simplify code to check for existing analysis
2023-03-24 01:59:46 +01:00
Uwe
4c9afb4546 [FEM] activate spring constraint
- the spring constraint is currently unused but it can be used for Elmer mechanical analyses
This PR does so and also overhaul the dialog UI.
- use the spring constraint also in an example file
2023-03-23 15:14:50 +01:00
Uwe
ed467de39c [FEM] adjust initial position of new box filter
- as discussed in #8825
2023-03-11 13:55:14 +01:00
marioalexis
b51eec232f Fem: Add box filter function 2023-03-11 03:13:57 +01:00
Uwe
3289a9cccc [FEM] improve cylinder function
- set better initial position and size
- add misting triggering of ViewProvider
- some code style improvements (fix too long lines, consistency etc.)
2023-03-09 17:25:46 +01:00
marioalexis
3e61ca0fbb FEM: Add cylinder filter function 2023-03-08 17:16:41 +01:00
Uwe
9323c23b3c [FEM] [skip ci] Command.cpp: fix loo long line 2023-02-20 03:13:19 +01:00
Uwe
971b2cb83f [FEM] fix typo in command
- to be uniform as all other commands begin with "CmdFem..."
2023-02-20 02:45:14 +01:00
Uwe
26f1861bf8 [FEM] fix reported typos and inconsistencies 2023-02-20 02:07:33 +01:00
luzpaz
61e96bd763 FEM: fix trailing newlines 2023-02-15 13:41:38 +00: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
3b653b78f9 [FEM] Elmer: add support for 3D magnetodynamics
- adds the corresponding Elmer equation (it is now possible to do Elmer's tutorial example no. 14)
2023-02-10 19:48:31 +01:00
Uwe
f6abb77758 [FEM] add new constraint for magnetization 2023-02-09 14:41:25 +01:00