Commit Graph

123 Commits

Author SHA1 Message Date
Bernd Hahnebach
df364b9714 FEM: code formating 2021-06-23 11:34:57 +02:00
Bernd Hahnebach
582621b3bc FEM: pep8 2021-05-09 23:42:32 +02:00
UR-0
9a5eefaec8 [FEM] patch LGTM alerts 2021-05-06 19:51:27 +02: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
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
UR-0
0f12d6e9ec [FEM] improve get_gmsh_version 2021-03-17 11:28:23 +01:00
UR-0
381ce4a830 [FEM] get Gmsh version 2021-03-14 17:22:09 +01:00
Bernd Hahnebach
69aacc2fc5 FEM: pep8 2021-03-13 21:47:50 +01:00
UR-0
65b9f8b43d [FEM]implement Gmsh mesh property "MeshSizeFromCurvature" 2021-03-13 21:13:30 +01:00
UR-0
95b7c5074d [FEM] improve error message if gmsh.exe not found 2021-03-08 14:26:08 +01:00
Bernd Hahnebach
a62b5b314b FEM: code formatting, revert parts of commit f4a65dcbb6 2021-02-16 16:17:47 +01:00
David Osterberg
57fd294391 FEM: Improve Gmsh log, when Gmsh is not installed 2021-02-11 21:03:43 +01:00
Bernd Hahnebach
bf221af686 FEM: mesh tools, add a comment 2021-01-17 23:46:49 +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
a10f19f0a0 FEM: coverity, Null pointer dereferences 2020-07-20 22:33:54 +02:00
Bernd Hahnebach
1fe43280ca FEM: meshtools, better comment 2020-06-30 22:27:24 +02:00
Bernd Hahnebach
c4b0635361 FEM: mesh tools, compact mesh, use one id for Edges, Faces and Volumes as SMESH does save it 2020-06-30 19:26:04 +02:00
Bernd Hahnebach
6822ef361d FEM: analysing group meshing, set default to False 2020-05-28 00:38:06 +02:00
Bernd Hahnebach
61d767a6d2 FEM: material object, change type 2020-05-21 23:12:08 +02:00
Bernd Hahnebach
45aef7b028 FEM: meshtools, init empty node numbers in face search 2020-04-19 21:57:54 +02:00
Bernd Hahnebach
a020dc2afc FEM: meshtools, fix element names in face search 2020-04-19 21:38:09 +02:00
Bernd Hahnebach
656087fb98 FEM: mesh tools, better logs 2020-04-17 21:11:28 +02:00
Bernd Hahnebach
f0061fadeb FEM: group meshing, fix retriving group elements in rare cases 2020-04-15 10:50:02 +02:00
Bernd Hahnebach
6c399ae851 FEM: geom tools, move get element 2020-03-27 06:00:24 +01:00
Bernd Hahnebach
5d9bb6a9f0 FEM: geom tools, move find element in shape and is same geometry from meshtools 2020-03-27 06:00:18 +01:00
Bernd Hahnebach
e61699fc95 FEM: geom tools, add new module and move some geom tools from mesh tools in 2020-03-27 06:00:13 +01:00
Bernd Hahnebach
2c30b1cfdc FEM: some modules, better document handling 2020-03-14 21:45:24 +01:00
Bernd Hahnebach
af7a005ad9 FEM: fem mesh 2 mesh, fix example code 2020-03-14 21:45:18 +01:00
Bernd Hahnebach
0e04844053 FEM: improve Python type checking and Python imports 2020-03-12 10:02:33 +01:00
luz.paz
8624564469 [skip ci] Fix typos
Found via `codespell`
2020-03-09 16:23:26 +01:00
luz.paz
180805c55e Fix typos
Found via  
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,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
```
2020-03-06 14:50:35 +01:00
Bernd Hahnebach
5a5753af8d FEM: element geometry types, same name type system as Python constraints 2020-03-02 20:54:44 +01:00
Bernd Hahnebach
d52cde9b81 FEM: mesh tools, better type checking 2020-03-02 20:54:36 +01:00
Bernd Hahnebach
b1a95ff078 FEM: mesh tools, better logging 2020-03-01 23:31:11 +01:00
Bernd Hahnebach
2d6aa10b69 FEM: meshtools, fix regression introduced with 63f34531 2020-03-01 22:08:06 +01:00
Bernd Hahnebach
ab0df09a1c FEM: more Python import cleaning 2020-02-27 08:33:39 +01:00
Bernd Hahnebach
f9f5a7de32 FEM: improve imports 2020-02-26 20:58:26 +01:00
Bernd Hahnebach
f13db9f63a FEM: gmsh tools, typo 2020-02-23 17:15:13 +01:00
Bernd Hahnebach
0e37011803 FEM: constraint tie, get the faces data in writer base class 2020-02-19 17:56:47 +01:00
Bernd Hahnebach
9960b67399 FEM: gmsh tools, get rid of useless unv related warning 2020-02-13 13:12:37 +01:00
Bernd Hahnebach
7e01116206 FEM: node sets, return sorted with unique values 2020-02-04 10:40:18 +01:00
Bernd Hahnebach
da71719896 FEM: constraint contact, move retrieving the face ids in writer base class 2020-02-03 23:12:39 +01:00
Bernd Hahnebach
efe534bfca FEM: get pressure faces ids, some better comments and very small code improvement 2020-02-03 23:12:38 +01:00
Bernd Hahnebach
f8b8e4a103 FEM: meshtools, some commets for ccxelement faces binary search 2020-02-02 14:23:15 +01:00
looooo
60ca94d7c2 fem: use time.process_time instead of removed time.clock() 2020-01-16 23:13:30 +01:00
Bernd Hahnebach
c00af06846 FEM: console messages line break improvements 2020-01-09 08:10:07 +01:00
Bernd Hahnebach
1b2a9a9680 FEM: mesh tools, fix not found vertex for reference shape point search 2020-01-07 10:39:40 +01:00
Bernd Hahnebach
a8af7ad187 FEM: improve logs 2020-01-06 07:59:31 +01:00