Commit Graph

67 Commits

Author SHA1 Message Date
Uwe
78ab4ebf4c [FEM] fix issue that all plot windows had the same name
- they all had the name "figure 1"
- thus make the name unique and this way also enable to have several plots open displaying different result types (for the line filter)
2022-06-10 00:55:02 +02:00
0penBrain
4900d90ba9 [FEM] Implement a better dialog layout management for histogram (#6989)
* [FEM] Implement a better dialog layout management for histogram
2022-06-08 16:51:01 +02:00
Uwe
93ad75b6ff [FEM] fix subsequent histogram plot call
fixes #6975
2022-06-06 18:26:18 +02:00
Uwe
adbc58e159 [FEM] result dialog: handle max shear stress
- max shear stress is supported but could not use in the Calculate section
- also sort the UI file with our sorting script
2022-06-05 00:12:51 +02:00
Uwe
925dd404a2 [skip CI] [FEM] change strings to be consistent with the dialog 2022-06-04 19:06:14 +02:00
Uwe
3e9ac4b084 [skip CI] [FEM] fix typos 2022-06-04 01:33:34 +02:00
Uwe
90ad26188a [FEM] don't block FC by histogram plot window
fixes #6959
2022-06-04 01:28:55 +02:00
Chris Hennes
b4c21869f2 FEM: Add translation calls to task_result_mechanical.py 2022-06-03 11:42:52 -05:00
Uwe
b73b8e32d9 [FEM] use proper histogram titles
- use for the histogram titles the same as in the CCX dialog and not our internal abbreviations
- in the CCX dialog don't use the term PEEQ but the common wording that also gives the user the info what this is about
2022-06-03 13:09:32 +02:00
Uwe
bff25dfdd1 [FEM] adapt electrostatic examples to changed unit handling
- also a coding improvement
2022-03-26 04:54:36 +01:00
Uwe
a5b86128be [FEM] Elecrostatic: use App::PropertyElectricPotential 2022-03-26 02:29:19 +01:00
Uwe
ccbeedb4e4 [FEM] fix missing recompute
as reported here: https://forum.freecadweb.org/viewtopic.php?p=582525#p582525

- also fix potential issue that FemGui is used by the script but not loaded
2022-03-25 21:22:15 +01:00
Uwe
fa8d89a108 [FEM] Electrostatic: read values with its unit 2022-03-23 16:03:35 +01:00
wmayer
1a62c2024d lgtm: removes unused imports in Python scripts 2022-03-20 23:00:55 +01:00
Uwe
2f9b432fdd [FEM] electrostatic dialog revision
- use a quantity spinbox and do simple signal/slot handling in the UI file
2022-03-19 05:01:23 +01:00
Uwe
12a07760e9 [FEM] fix the Elmer solver writer
- fixes #6604
as it was, Elmer was almost unusable because most values were input with wrong units to Elmer.
Elmer uses pure SI units

ToDo: fix the still wrong Vacuum permittivity
2022-03-19 01:53:26 +01:00
Uwe
5ca892e4aa [FEM] fix logic in electric potential dialog
if capacitance is not specified the spinbox must not be enabled
2022-03-15 04:53:59 +01:00
Anders Torger
2e6c4373bf Apply multi-thread configuration for Calculix also when started via task panel 2022-03-13 13:32:30 +01:00
luz paz
2ffd911111 Fix typos in source comments [skip ci]
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,ontop,orgin,orginx,orginy,ot,pard,parms,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./build/doc/SourceDocu`
2021-11-05 02:35:17 +01:00
Bernd Hahnebach
6d10f9960f FEM: task panels, improve units value handling 2021-08-18 21:21:33 +02:00
Bernd Hahnebach
04af538d77 FEM: material task panel, improve handling of input fields without unit 2021-08-09 15:02:49 +02:00
Bernd Hahnebach
335e6a539f FEM: ccx tools task panel, do not run solver with no or wrong ccx binary 2021-08-03 07:36:04 +02:00
Bernd Hahnebach
e0c9587904 FEM: material task panel, code formating 2021-07-15 21:09:26 +02:00
Bernd Hahnebach
800b96d25b FEM: material task panel, catch wrong ThermalConductivity quantity 2021-07-15 00:09:53 +02:00
UR-0
5cf39c4912 FEM: constraint centrif, Gui tools 2021-07-09 22:04:19 +02:00
Bernd Hahnebach
be8d2c4625 FEM: code formating 2021-06-09 08:23:14 +02:00
Tobias Vaara
0060483550 FEM: solver calculix, add buckling analysis
Implementation of buckling analysis between the solver Calculix and FreeCAD
2021-06-09 08:23:14 +02:00
Yorik van Havre
511df2fa5d Merge pull request #4630 from luzpaz/typos
Fixed misc. typos [skip ci]
2021-03-26 11:29:34 +01:00
donovaly
21e511f63f [FEM] add GMSH mesh order setting to dialog
- also set default to 1st order mesh
2021-03-24 17:00:12 +01:00
UR-0
9274a0baca [FEM] refactor GeometryElementsSelection, introduce parameter to modify help text for several task panels using GeometryElementsSelection. 2021-03-24 16:57:16 +01:00
Bernd Hahnebach
034397b1d2 FEM: material task panel, fix unuseable Gui if material editor was canceled and material accepted 2021-03-21 23:18:44 +01:00
luz paz
9a3724c11b Fixed misc. typos [skip ci]
Found via
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./build/doc/SourceDocu
```
2021-03-21 07:38:41 -04:00
UR-0
0a06458cb3 [FEM] improve get_gmsh_version 2021-03-17 11:28:23 +01:00
Bernd Hahnebach
1e4d2777e6 Update task_material_common.py 2021-03-16 11:55:19 +01:00
Bernd Hahnebach
6acf00f401 FEM: material task panel, small code improvements 2021-03-16 11:22:27 +01:00
UR-0
192b1726fc [FEM] get Gmsh version 2021-03-14 17:22:09 +01:00
UR-0
7499d0b37b 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
wmayer
e4ec3d5532 Fem: [skip ci] set backend of matplotlib to Qt5Agg 2021-03-05 21:25:27 +01:00
Bernd Hahnebach
3c1d251014 FEM: code formatting, revert parts of commit 058582edb5b 2021-02-16 16:17:47 +01:00
Bernd Hahnebach
17b1dc1ae8 FEM: code formatting, pep8 2021-02-15 16:13:44 +01:00
Bernd Hahnebach
d4b35f13f4 FEM: material task panel, fix edition of Poisson Ratio 2021-02-15 16:13:38 +01:00
David Osterberg
7a9ecbdaa9 FEM: Improve Gmsh log, when Gmsh is not installed 2021-02-11 21:03:43 +01:00
luz paz
55f471b72c FEM: doxygen 2020-12-04 17:50:00 +01:00
Bernd Hahnebach
1ccdab3c5d FEM: gmsh task panel, fix regression added with 692358ea8cfa 2020-11-30 11:53:17 +01:00
Bernd Hahnebach
8744ee985a FEM: small code change to get lgtm quit 2020-11-26 09:07:47 +01:00
Bernd Hahnebach
fbb3664380 FEM: dummy usage of some vars for flake8 no longer needed 2020-11-26 09:07:39 +01:00
Bernd Hahnebach
6fda0a2faa FEM: python, get rid of bare excepts 2020-10-27 08:24:27 +01:00
UR-0
fc04645402 FEM: ccx constraint section print, add task panel 2020-06-24 07:52:16 +02:00
Bernd Hahnebach
0bfbe98b14 FEM: mechanical result task panel, small improvements 2020-06-04 00:25:42 +02:00
Bernd Hahnebach
c8b67c8d39 FEM: ccx tools task panel, add comment 2020-06-04 00:09:47 +02:00