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
Tobias Vaara
4ef2769402
FEM: CCX naming of buckling resultfile
...
Fixes the naming of the resultfile. Instead of displaying 'Time', it displays "BucklingFactor".
2021-06-24 18:03:20 +02:00
Bernd Hahnebach
5f8b7d2f85
FEM: calculix dat result text object, move into analysis
2021-06-16 15:34:24 +02:00
UR-0
a7e3f7a77b
FEM: member tools, add missing comments
2021-06-15 20:35:46 +02:00
UR-0
9a5eefaec8
[FEM] patch LGTM alerts
2021-05-06 19:51:27 +02:00
Bernd Hahnebach
69aacc2fc5
FEM: pep8
2021-03-13 21:47:50 +01:00
UR-0
f11945d1c7
getPropertyOfGeometry() used to get BoundBox
2021-03-13 21:23:23 +01:00
UR-0
abf4fee6a4
upgrade getBoundBoxOfAllDocumentShapes to handle more objects
2021-03-13 21:23:23 +01:00
UR-0
a48c7e27a9
satisfy Travis
2021-03-07 11:24:20 +01:00
UR-0
eceea653ae
[FEM] make ccx_dat_file object (from ccx_Result) ReadOnly
2021-03-07 11:24:20 +01:00
UR-0
0274b039a2
fixes not handled exception in "task_mesh_gmsh.py"
...
error = sys.exc_info()[0].strip()
<class 'AttributeError'>: type object 'RuntimeError' has no attribute 'strip'
Furthermore reporting "value" instead of "type" gives more useful error messages
2021-03-06 21:00:23 +01:00
Bernd Hahnebach
a62b5b314b
FEM: code formatting, revert parts of commit f4a65dcbb6
2021-02-16 16:17:47 +01:00
UR-0
9f871a444b
[FEM] Clipping plane: Fix handling of shapeless document objects
2021-02-09 20:20:49 +01:00
Bernd Hahnebach
e43ee28e38
FEM: utils, fix clipping FemMesh without Shape
2021-01-17 23:46:41 +01:00