Commit Graph

148 Commits

Author SHA1 Message Date
Uwe
ab11797f22 [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
bbbd4d07bf 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
e49abfb350 FEM: python code formatting 2022-07-12 15:04:26 +02:00
Chris Hennes
be8a4037db FEM: Fix typo 2022-06-02 10:49:55 -05:00
Uwe
c4bd8ee72c [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
3867e41f42 Fix trivial typos 2021-10-06 07:54:05 +02:00
Bernd Hahnebach
d3cd395b94 FEM: z88 mesh exporter, add comments for element assignment 2021-08-01 13:32:22 +02:00
Bernd Hahnebach
e100971fa0 FEM: add Nastran mesh exporter based on pyNastran 2021-07-31 16:56:35 +02:00
luz paz
eab17ddff5 Fix various typos 2021-07-31 09:46:50 +02:00
Bernd Hahnebach
ff5509f855 FEM: meshtools, add generic method to return femmesh type 2021-07-29 18:19:42 +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
UR-0
07a2ed94f4 [FEM] typos 2021-06-17 08:02:07 +02:00
Bernd Waibel
20e756306d [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
a62b5b314b FEM: code formatting, revert parts of commit f4a65dcbb6 2021-02-16 16:17:47 +01:00
luz paz
f4a65dcbb6 FEM: doxygen 2020-12-04 17:50:00 +01:00
Bernd Hahnebach
d0eb71517c FEM: python, get rid of bare excepts 2020-10-27 08:24:27 +01:00
Bernd Hahnebach
6291471e0a FEM: fix unit test after coverity test 2020-07-20 23:11:18 +02:00
Bernd Hahnebach
a10f19f0a0 FEM: coverity, Null pointer dereferences 2020-07-20 22:33:54 +02:00
Bernd Hahnebach
8ed3060812 FEM: in out, improve title strings 2020-07-14 20:46:53 +02:00
Bernd Hahnebach
9b18c2dc19 FEM: vtk pipeline, and frd reader, principal stress, revert and improve 09e3ddb387 2020-07-14 13:26:57 +02:00
Bernd Hahnebach
3ad5ff77a6 FEM: in out, improve imports 2020-07-14 07:36:07 +02:00
Bernd Hahnebach
f27becb6c3 FEM, z88 result import, fill displacement length 2020-07-12 21:27:51 +02:00
Bernd Hahnebach
adcb721ced FEM: z88 result reader, fill stats 2020-07-12 19:55:23 +02:00
Bernd Hahnebach
ec4535aeac FEM: imports, improvements 2020-06-30 22:27:16 +02:00
Bernd Hahnebach
a3a61c3348 FEM: normalise license headers 2020-05-22 18:55:05 +02:00
Bernd Hahnebach
ba34cc6a96 FEM: mesh export, add export to Python module 2020-04-17 22:51:36 +02:00
Sebastian Bachmann
c2a2effac2 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
f516c4af05 FEM: z88 mesh exporter, fix file handle type 2020-03-30 11:38:02 +02:00
Bernd Hahnebach
97d90d53ed FEM: z88 some small code improvements 2020-03-27 06:00:35 +01:00
Bernd Hahnebach
ac8b5db1c3 FEM: tetgen exporter, get rid of active document 2020-03-22 09:51:17 +01:00
Bernd Hahnebach
5620122ae7 FEM: code formating and unifor licence header in Python modules 2020-03-04 07:50:21 +01:00
Bernd Hahnebach
f9f5a7de32 FEM: improve imports 2020-02-26 20:58:26 +01:00
UR-0
8b68ab74b6 FEM: use a more precise object name "vonMises" instead "StressValues" 2020-02-14 16:52:40 +01:00
Bernd Hahnebach
985417d7f8 FEM: fenics export, remove u from print messages 2020-01-27 18:12:56 +01:00
joha2
90af18eb80 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
1f05c8fa65 FEM: make sure results are loaded into the correct document 2020-01-14 13:44:53 +01:00
Bernd Hahnebach
683fbffe4a FEM: frd result reading, improve error handling 2020-01-10 09:02:15 +01:00
Bernd Hahnebach
c00af06846 FEM: console messages line break improvements 2020-01-09 08:10:07 +01:00
luz.paz
1baf5da3cf FEM: [skip ci] fix header uniformity
This PR fixes header uniformity across all FEM WB files
2019-12-21 20:00:14 +01:00
Bernd Hahnebach
9763b52a2a FEM: frd reader, delete not needed import 2019-10-08 21:56:17 +02:00
Bernd Hahnebach
40a4850f97 FEM: frd reader, fix analysis identifier 2019-09-26 18:30:35 +02:00
Markus Hovorka
a5843cc7fd FEM: in out modules, Replace print with Console.Print* calls 2019-09-23 21:16:51 +02:00
Bernd Hahnebach
91a11452b0 FEM: code formating 2019-09-18 21:27:20 +02:00
Bernd Hahnebach
751d30f587 FEM: ccx result reader, translate German comment 2019-09-13 09:33:07 +02:00
Bernd Hahnebach
c51d65bb93 FEM: in out modules, use double quotes instead of single ones 2019-09-13 09:33:01 +02:00
Bernd Hahnebach
98c98ff833 FEM: replace prints with console prints 2019-09-13 08:26:49 +02:00
Bernd Hahnebach
4c5bcf3dc1 FEM: objects, use same name system no matter if C++ or Python object 2019-07-03 12:43:27 +02:00
Bernd Hahnebach
431b0b0174 FEM: in out, z88 mesh, fix string replacements 2019-07-03 07:37:40 +02:00
Bernd Hahnebach
4dff5bb403 FEM: frd result reader, fix principal stress calculation if pure frd file was opened 2019-07-02 13:17:24 +02:00