Commit Graph

159 Commits

Author SHA1 Message Date
Roy-043
efda96b933 FEM: Avoid dictionary.keys() where possible 2023-08-16 16:47:27 +02: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
joha2
a6d374c0c6 FEM: XML/XDMF: removed trailing whitespaces 2023-04-20 22:42:50 +02:00
joha2
a7e7c65ffc FEM: XML/XDMF: Console.Print* strings to F-strings (where necessary) and reformated them to avoid long lines 2023-04-20 22:42:50 +02:00
joha2
b59b7f3cea FEM: XML/XDMF: bumped year numbers in license comments 2023-04-20 22:42:50 +02:00
joha2
1f608f2376 Fem: feminout: XML Fenics format: fixed error in read function 2023-04-20 22:42:50 +02:00
joha2
2f0758a128 Fem: feminout: write XML/XDMF Fenics formats: fixed some errors in written meshs read by meshio library
* XDMF: capital "Version" in tag
* XDMF: capitalizing topology names
* XML: removed data tag throwing a warning in meshio
2023-04-20 22:42:50 +02:00
Uwe
31677a3e25 [FEM] use unique result mesh name
- it is a long-standing bug that the name of the result mesh object is not unique. For example for a frequency analysis you get for every result the same object "ResultMesh". When now a "ResultMesh" object is deleted because one result mode object should be deleted, all result modes loose their mesh.
To fix this, use a unique name for the mesh object.
2023-03-16 06:19:10 +01:00
Uwe
e85e327b8b [FEM] better pipeline connection for CalculiX
- make the connection also working for frequency and buckling analysis by directly creating/updating the pipeline where the CalculiX results are loaded
2023-03-16 06:12:14 +01:00
mosfet80
5e534b9e83 fix commit 2023-03-04 17:51:43 -06:00
mosfet80
bed7b76524 remove Python2 code 2023-03-04 17:51:43 -06:00
Uwe
02b994a3fb [FEM] importVTKResults: assure user gets a visible object
- on importing a .vtu/.vtk file the new created should be a visible one. Therefore set its display to surface like we do when a new pipeline is created from within FC by the user
2022-07-31 22:32:04 +02:00
Bernd Hahnebach
f773f165a7 FEM: typos, found with:
codespell -q 2 -S *.ts -S *.dyn -S *.svg  -L childs,dof,dum,freez,methode,nd,normaly,programm,som,uint,vertexes,inout  src/Mod/Fem/
2022-07-12 15:04:26 +02:00
Bernd Hahnebach
41a8ed83af FEM: python code formatting 2022-07-12 15:04:26 +02:00
Chris Hennes
c7e4463b9b FEM: Fix typo 2022-06-02 10:49:55 -05:00
Uwe
b3208f643e [FEM] fix broken Z88 part 2: fix error handling
- when the solver failed, we cannot return a non-existing res_obj
2022-03-25 18:01:12 +01:00
luz paz
eab07e3c5b Fix trivial typos 2021-10-06 07:54:05 +02:00
Bernd Hahnebach
8acdb30819 FEM: z88 mesh exporter, add comments for element assignment 2021-08-01 13:32:22 +02:00
Bernd Hahnebach
6c4d2ed29a FEM: add Nastran mesh exporter based on pyNastran 2021-07-31 16:56:35 +02:00
luz paz
4d21ffa904 Fix various typos 2021-07-31 09:46:50 +02:00
Bernd Hahnebach
c957570c0e FEM: meshtools, add generic method to return femmesh type 2021-07-29 18:19:42 +02:00
Bernd Hahnebach
ba11c64d33 FEM: ccx results name improvements 2021-06-24 18:03:35 +02:00
Tobias Vaara
b3fc3341dc 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
UR-0
0bdb038533 [FEM] typos 2021-06-17 08:02:07 +02:00
Bernd Waibel
97a9571892 [Fem] fix femtest failure with yaml.load
Solves an issue with using an outdated call to yaml.load
as described in
https://forum.freecadweb.org/viewtopic.php?f=10&t=57617

Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
2021-05-06 19:52:20 +02: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
6fda0a2faa FEM: python, get rid of bare excepts 2020-10-27 08:24:27 +01:00
Bernd Hahnebach
2f4c0bc5a8 FEM: fix unit test after coverity test 2020-07-20 23:11:18 +02:00
Bernd Hahnebach
8a6eaed01f FEM: coverity, Null pointer dereferences 2020-07-20 22:33:54 +02:00
Bernd Hahnebach
a244800e63 FEM: in out, improve title strings 2020-07-14 20:46:53 +02:00
Bernd Hahnebach
20cb8e2480 FEM: vtk pipeline, and frd reader, principal stress, revert and improve 35cf9681cc5b 2020-07-14 13:26:57 +02:00
Bernd Hahnebach
39bc111056 FEM: in out, improve imports 2020-07-14 07:36:07 +02:00
Bernd Hahnebach
6da5e33196 FEM, z88 result import, fill displacement length 2020-07-12 21:27:51 +02:00
Bernd Hahnebach
52218e75cf FEM: z88 result reader, fill stats 2020-07-12 19:55:23 +02:00
Bernd Hahnebach
82ea30f752 FEM: imports, improvements 2020-06-30 22:27:16 +02:00
Bernd Hahnebach
4d961531f3 FEM: normalise license headers 2020-05-22 18:55:05 +02:00
Bernd Hahnebach
bbdaa62890 FEM: mesh export, add export to Python module 2020-04-17 22:51:36 +02:00
Sebastian Bachmann
19d090fe77 Resolve SyntaxWarning literal comparison in py3.8
Comparison with literals should be done using != and == and not 'is
not' and 'is'.
Found the files using:
find . -name \*.py -exec pylint --disable=all --enable=R0123 --score=no {} \;

Python 3.8 prints out SyntaxWarnings when reading the files, this
would happen for example on every installation.
2020-04-13 11:40:16 +02:00
Bernd Hahnebach
c29e4dda5b FEM: z88 mesh exporter, fix file handle type 2020-03-30 11:38:02 +02:00
Bernd Hahnebach
598e46cb18 FEM: z88 some small code improvements 2020-03-27 06:00:35 +01:00
Bernd Hahnebach
e0049eb19b FEM: tetgen exporter, get rid of active document 2020-03-22 09:51:17 +01:00
Bernd Hahnebach
c6ae035d50 FEM: code formating and unifor licence header in Python modules 2020-03-04 07:50:21 +01:00
Bernd Hahnebach
ab0ace8f61 FEM: improve imports 2020-02-26 20:58:26 +01:00
UR-0
47f16467db FEM: use a more precise object name "vonMises" instead "StressValues" 2020-02-14 16:52:40 +01:00
Bernd Hahnebach
7ea6039586 FEM: fenics export, remove u from print messages 2020-01-27 18:12:56 +01:00
joha2
42c40bf038 FEM: mesh: XML fenics mesh export fixed
Co-authored-by: qingfengxia <qingfeng.xia@gmail.com>
2020-01-27 18:08:10 +01:00
Bernd Hahnebach
f33b7dc7ee FEM: make sure results are loaded into the correct document 2020-01-14 13:44:53 +01:00
Bernd Hahnebach
78c95c7929 FEM: frd result reading, improve error handling 2020-01-10 09:02:15 +01:00
Bernd Hahnebach
d583fd26cd FEM: console messages line break improvements 2020-01-09 08:10:07 +01:00