Commit Graph

247 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
c8b72c144e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-03 22:51:14 +00:00
marioalexis
3d830b5b2e Fem: Add suppressible extension to objects - fixes #12115 2025-01-06 17:56:30 +01:00
FEA-eng
0d128517de FEM: Update checksanalysis.py 2024-12-23 18:50:10 +01:00
FEA-eng
870e260bc9 FEM: Update checksanalysis.py 2024-12-05 21:21:17 +01:00
Chris Hennes
f2cc3f40da Merge branch 'main' into fix_deprecated_import_style 2024-11-15 12:09:07 -05:00
Eric Price
c9874294af FEM: Allow assigning materials to compounds to avoid having to assign the same material by hand to all subsolids (#17562)
* fix #17561

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

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

* added missing code to have it also work without MeshRegions

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-05 10:15:21 -06:00
marioalexis
7558282580 Fem: Remove unnecessary system name check 2024-10-28 17:11:05 +01:00
marioalexis
3a56a8a004 Fem: Set startupinfo for gmsh subprocess - fixes #17298 2024-10-21 20:59:42 -05:00
marioalexis
a22f1241cb Fem: Do not use main window widget from another thread - fixes #17255 2024-10-16 08:31:50 -05:00
marioalexis84
1f2cdbc046 Fem: Remove highlighted nodes if ccx finish without error - fixes #14855 (#17203) 2024-10-14 08:50:46 -05:00
marioalexis
0e6d1cf5f9 Fem: Move MeshGmsh proxy from Fem::FemMeshObject to Fem::FemMeshShapeBaseObject - fixes #14897 2024-07-28 16:27:20 -03:00
james
244ba81c13 black format 2024-06-24 10:51:14 -05:00
james
037a15a371 Fix deprecated import style 2024-06-24 10:51:14 -05:00
lyphrowny
cbea6b6094 FEM: reformat codebase 2024-06-23 16:26:36 +03:00
Chris Hennes
472493f876 Merge pull request #14353 from marioalexis84/fem-constraint_transform
Fem: Cleanup ViewProviderFemConstraint and update constraint transform
2024-06-10 11:18:57 -05:00
marioalexis
f17ad4f143 Fem: Update constraint transform 2024-06-05 13:12:25 -03:00
marioalexis
8ec0916efb Fem: Add body heat source to CalculiX writer - fixes #11650 2024-06-02 18:38:15 -03:00
FEA-eng
6786fed067 Update checksanalysis.py 2024-05-20 11:28:50 -05:00
FEA-eng
3739d06528 Fem: Update writer of the constraint rigid body 2024-05-16 12:51:37 -05:00
Ajinkya Dahale
cc6e59eacc FEM: Add rigid body constraint to ccx writer 2024-05-16 12:51:37 -05:00
Syres916
d1946bfebe [FEM] CCX Solver and Gmsh Mesh Task Panel Colour output improvements (#13684)
* [FEM] CCX Solver and Gmsh Mesh Task Panel Colour output improvements

* [FEM] CCX Solver TP make time code more prominent

* [FEM] Gmsh mesh TP make time code more prominent
2024-04-29 11:29:00 -05:00
Florian Foinant-Willig
17af20aa20 FEM: allow to Suppress the constraints (#12359)
* FEM: Introduce suppressible constraints

* fix public inheritance
2024-04-08 10:43:54 -05:00
FEA-eng
e424befb09 FEM: Update ccxtools.py 2024-04-03 18:48:45 +02:00
FEA-eng
fe885e7bd3 Remove the need to include geometrical nonlinearity when nonlinear material is used in CalculiX FEM (#12703)
* Update commands.py

* Update checksanalysis.py
2024-03-04 11:16:54 -06:00
luzpaz
129d5882a7 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
Bernd Hahnebach
6464482ba3 FEM: code formatting, pep8, 302 2023-04-06 08:13:42 +02:00
luzpaz
c39dbc93f6 Fem: fix trailing whitespace 2023-04-01 08:39:05 +02:00
Uwe
249829913b [FEM] implement further object addition mode
- for e.g. the solver objects it is important that the added equations are visible in the TreeView
- also improve activation of analyses for documents with multiple analyses: one activates one and can then subsequently add an object to it because the activation will also select
2023-03-24 07:22:27 +01:00
Uwe
41bafb2bc0 [FEM] Elmer: add permeability of vacuum 2023-02-07 00:16:52 +01:00
luz paz
7c5557b3cb Fix typos in TD and FEM source comments/documentation [skip ci] 2022-11-07 08:03:39 -05:00
Uwe
9db5dff744 [FEM] fix handling of vacuum permittivity
- fix message that permittivity object was not handled
- set an expression, otherwise the user gets only "0.000" for the default of 8.8e-12
- use as unit the common "F/m" (this is also more user-friendly than "s^4*A^2 / (m^3*kg)")
- fix a ToDo
2022-08-14 17:59:42 +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
6a3a308fe7 [FEM] utils: remove unused import 2022-07-31 02:08:16 +02:00
Uwe
a035d650b6 [FEM] remove checks for Python 2 2022-07-27 14:09:23 +02:00
Uwe
d48fe836ca [FEM] femutils.py: style changes
- as requested
2022-07-14 01:21:54 +02:00
Uwe
c8064ed059 [FEM] fix solver console bugs
- for Elmer and Z88 on Windows several windows pop up (console windows). This is maybe annoying and the user is wondering what is going on, but the main problem is that when you close them, you break the solving process.
Therefore, on Windows only, hide the empty popup windows.
2022-07-13 02:51:31 +02:00
Uwe
332cb9ec2f [FEM] fix wrong error message about comments
- fixes an annoying warning (that is output as error) about unused COMMENT
2022-06-05 13:42:41 +02:00
Uwe
34300c600f [FEM] add missing parser handling of '^' character (#6966)
* [FEM] add missing parser handling of '^' character

- it is common to use equations like "x^2" but one currently get only an error
- this PR fixes this by adding parsing support for the '^' character as power function

This way is it now also possible to calculate a root by e.g. "x^(0.5).
2022-06-05 13:13:49 +02:00
Stefan Brüns
65187652dc [FEM] Avoid writing parse cache file to non-writable location
Creating the parsetab.py cache file in the same location as the tokrules
file will fail when FreeCAD is installed system wide.

Caching provides hardly any benefit here, as it only takes milliseconds,
and may even be negated by the additional required filesystem operations.

The debug output (parser.out) does not provide any useful information
for a regular FreeCAD user.

Fixes (part of) #6315.
2022-03-31 10:39:49 -05:00
Uwe
8041f0c032 [FEM] fix missing recompute
after the ccx_dat_file object has been changed, the analysis must be recomputed
2022-03-25 21:05:43 +01:00
luz paz
0042f58e4c Make source code comments use gender neutral pronouns
The changes also include some grammatical fixes as well.
2021-12-02 16:18:04 -05:00
Bernd Hahnebach
9813e10d8c FEM: ccx tools, do not rais exceptions if there is no binary, give feedback to the user instead 2021-08-03 07:24:01 +02:00
Bernd Hahnebach
abcd05b591 FEM: calculix prechecks, beamsections and mesh without geometry link is not allowed 2021-08-01 11:42:29 +02:00
Bernd Hahnebach
d0e4467761 FEM: migrate modules, add old z88 solver module 2021-08-01 11:42:25 +02:00
Bernd Hahnebach
c0c6212f0c FEM: solver, improve analysis member tests 2021-07-27 23:42:09 +02:00
Bernd Hahnebach
c756881ffa FEM: solver run, improve output 2021-07-27 21:57:23 +02:00
Bernd Hahnebach
241a6a4eac FEM: tasks and writer, use generic solver input writing method name 2021-07-18 14:47:50 +02:00
Bernd Hahnebach
d0dbdf8bf3 FEM: make use of mesh data getter class for calculix solver and ccxtools 2021-07-17 20:46:36 +02:00
UR-0
974f41e0cc 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
Bernd Hahnebach
79b41f7393 FEM: ccx results name improvements 2021-06-24 18:03:35 +02:00