Commit Graph

168 Commits

Author SHA1 Message Date
FEA-eng
f14498727b FEM: Update exportNastranMesh.py 2024-07-06 14:01:11 +02:00
lyphrowny
cbea6b6094 FEM: reformat codebase 2024-06-23 16:26:36 +03:00
marioalexis
a73d081a46 Fem: Load heat flux from CalculiX results - fixes #12117 2024-05-20 11:00:19 -05:00
Dov Grobgeld
ff11cd25ee Fix run time errors with python3.12 and pyside6 (#13337)
* Change pyopen=open expression to from builtins import open as pyopen

---------

Co-authored-by: Adrián Insaurralde Avalos <36372335+adrianinsaval@users.noreply.github.com>
2024-04-30 00:28:01 -04:00
FEA-eng
2616a3d792 Add uncoupled temp-disp and heat transfer CalculiX FEM analysis types (#13296)
* FEM: Update solver.py

* FEM: Update write_step_equation.py

* FEM: fix temperature only analysis

---------

Co-authored-by: lyphrowny <strukov.as@edu.spbstu.ru>
2024-04-08 18:08:16 +02:00
FEA-eng
207c325d0e FEM: Update exportNastranMesh.py 2024-04-03 18:48:45 +02:00
FEA-eng
57eeb029b7 FEM: Update importToolsFem.py 2024-04-02 15:27:13 +02:00
marioalexis
cbdef026f5 Fem: Export PostObject data to VTK - fixes #5816 2024-03-21 20:38:05 -05:00
marioalexis
a5ea8023a2 Fem: Create mesh for check type analysis in CalculiX - fixes #12503 2024-02-26 11:24:36 -06:00
Roy-043
3e2c766800 FEM: Avoid dictionary.keys() where possible 2023-08-16 16:47:27 +02: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
joha2
bfb3efbc72 FEM: XML/XDMF: removed trailing whitespaces 2023-04-20 22:42:50 +02:00
joha2
1e49852fa8 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
5d30b30c5e FEM: XML/XDMF: bumped year numbers in license comments 2023-04-20 22:42:50 +02:00
joha2
400048b22d Fem: feminout: XML Fenics format: fixed error in read function 2023-04-20 22:42:50 +02:00
joha2
d10c941d1f 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
0e108cba4f [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
4ecf74322c [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
f51b2156f3 fix commit 2023-03-04 17:51:43 -06:00
mosfet80
3137dea940 remove Python2 code 2023-03-04 17:51:43 -06:00
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