Commit Graph

3378 Commits

Author SHA1 Message Date
Bernd Hahnebach
5f4581098c FEM: examples, add simple calculix frequency example 2021-06-09 08:23:14 +02:00
Yorik van Havre
fb8b21ec43 Updated ts files 2021-06-04 18:30:30 +02:00
luz paz
91852ecc58 Fix previous commit 2021-06-03 14:42:58 -04:00
luz paz
f3540ee41b Crowdin: uniformity and grammar in FEM translation
ref: https://crowdin.com/translate/freecad/559/en-ca?filter=basic&value=2#6589150
2021-06-03 14:36:21 -04:00
Yorik van Havre
d0d637b2c6 merged crowdin translations 2021-06-03 15:43:34 +02:00
Yorik van Havre
4361893f24 updated ts files 2021-06-03 15:37:33 +02:00
Yorik van Havre
b1d9a5607f Merged crowdin translations 2021-05-27 14:51:33 +02:00
Yorik van Havre
c6771853ae Updated translation files 2021-05-27 14:44:40 +02:00
Yorik van Havre
7b0a6358b1 Merged crwodin translations 2021-05-12 16:36:31 +02:00
Yorik van Havre
81a44fcccb Updated ts files 2021-05-11 13:05:20 +02:00
Bernd Hahnebach
582621b3bc FEM: pep8 2021-05-09 23:42:32 +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
UR-0
9a5eefaec8 [FEM] patch LGTM alerts 2021-05-06 19:51:27 +02:00
Yorik van Havre
131cdd1e4e Merge pull request #4557 from luzpaz/crowdin/whitespaces-substituted-into-code
Crowdin: represent whitespace in code instead of in string
2021-05-05 17:18:35 +02:00
luz paz
1e795e869c [FEM] remove Py2 code 2021-04-25 11:25:29 +02:00
Mateusz Skowroński
92683e1f63 Fix CMake warning: qt5_make_output_file is not part of the official API, and might be removed in Qt 6. 2021-04-19 15:10:53 +02:00
luz paz
1388db3c0a Crowdin: represent whitespace in code instead of string 2021-04-19 06:23:07 -04:00
Uwe
1e5c0fcef7 [FEM] add support for 3D recombinations (#4706)
* [FEM] add support for 3D recombinations

currently we only support surface recombinations but for some applications 3D recombinations are useful as well

* add support for the recombination algorithms

using a sensible algorithm is important to get useful results, see https://wiki.freecadweb.org/FEM_MeshGmshFromShape#Properties
where I described examples
2021-04-13 07:32:44 +02:00
donovaly
cc0af9b4dd [FEM] proper support for Gmsh HighOrder optimization
There are 4 optimizers available while we only supported 1. This PR adds support for all.
2021-04-08 13:29:50 +02:00
wmayer
5169a7e852 smesh: [skip ci] build FEM & MeshPart with C++14 when using external smesh because it doesn't support C++17 yet 2021-03-31 15:35:28 +02:00
Yorik van Havre
d25eeae87d Merge pull request #4630 from luzpaz/typos
Fixed misc. typos [skip ci]
2021-03-26 11:29:34 +01:00
wmayer
1c93fc25f1 FEM: [skip ci] re-add removed comma 2021-03-25 17:50:31 +01:00
donovaly
148c528b09 [skip ci] [FEM] don't hide Gmsh mesh by default
it is very annoying that the mesh is hided when closing the task dialog because one often has to play with the Gmsh properties and need to see the mesh.
See also https://forum.freecadweb.org/viewtopic.php?f=18&t=56401&start=10#p489734
2021-03-25 09:01:51 +01:00
donovaly
80189e3d2a [FEM] fix typo
- the property has the name "Element order" thus the dialog should use the same name to avoid confusions

-also uniform naming for the element dimension and remove the redundant "Mesh" (is already in the UI groupBox heading
2021-03-25 08:59:42 +01:00
Bernd Hahnebach
f3f2a49301 FEM: fix gui test problems introduces with af3643853c 2021-03-25 08:55:36 +01:00
Bernd Hahnebach
cf7e072ca9 FEM: gmsh mesh, set back standard element order to 2nd, changed in 7fb5a2d72a, 2021-03-24 17:05:06 +01:00
donovaly
75371bb238 [FEM] add mesh algorithms
- Gmsh has since a while 2 new mesh algorithms
- on the other hand the two algorithms ""Frontal Delaunay" and "Frontal Hex" are deprecated and not listed anymore in the docs: https://gmsh.info/doc/texinfo/gmsh.html#index-Mesh_002eAlgorithm3D
and indeed all attempts with these 2 algorithms fail
2021-03-24 17:01:47 +01:00
donovaly
7fb5a2d72a [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
af3643853c [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
011cef1e7b 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
a25a2200cb 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
Bernd Hahnebach
cf241d0c93 FEM: examples, elmer eigenvalues, add calculix solver for frequencies 2021-03-17 12:25:09 +01:00
UR-0
0f12d6e9ec [FEM] improve get_gmsh_version 2021-03-17 11:28:23 +01:00
Bernd Hahnebach
5bf22ad4ac FEM: examples, elmer tut1, eigenvalues, fix some problems 2021-03-17 10:45:37 +01:00
Bernd Hahnebach
71141d0964 FEM: fix unit test because of denisty writing. See 3e1b16b198. This reverts 8ec3766b00 2021-03-17 09:33:21 +01:00
Bernd Hahnebach
3e1b16b198 FEM: elmer writer, only write denisty if really needed, partitially revert 2d73444a66, unit test fix in separate commit 2021-03-17 09:26:48 +01:00
Bernd Hahnebach
bfdeaf6af3 Update task_material_common.py 2021-03-16 11:55:19 +01:00
Bernd Hahnebach
b9f4576dba FEM: material task panel, small code improvements 2021-03-16 11:22:27 +01:00
UR-0
381ce4a830 [FEM] get Gmsh version 2021-03-14 17:22:09 +01:00
Bernd Hahnebach
8ec3766b00 FEM: unit tests, fix denisty writing in existing unit tests 2021-03-13 22:38:56 +01:00
Bernd Hahnebach
69aacc2fc5 FEM: pep8 2021-03-13 21:47:50 +01:00
Bernd Hahnebach
a8c1624b94 FEM: elmer writer, add comment 2021-03-13 21:47:40 +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
65b9f8b43d [FEM]implement Gmsh mesh property "MeshSizeFromCurvature" 2021-03-13 21:13:30 +01:00
Bernd Hahnebach
9f2d1d76c8 FEM: examples, add elmer nongui tutorial 1, eigenvalue of a beam 2021-03-13 20:59:09 +01:00
Bernd Hahnebach
2d73444a66 FEM: elmer writer, do write density in any case 2021-03-13 20:58:56 +01:00
wmayer
b6634e041b Fem: refactor FemMesh::readNastran95 2021-03-11 01:26:19 +01:00
wmayer
38b54de578 Fem: refactor FemMesh::readNastran 2021-03-10 22:56:08 +01:00
wmayer
d4a37421ff Fem: [skip ci] support NASTRAN CTRIA3 elements 2021-03-10 19:38:11 +01:00