Commit Graph

138 Commits

Author SHA1 Message Date
Philipp Knechtges
2336ea1b59 [FEM] speed up get_femelement_sets in meshtools.py
The previous implementation was quite slow in filling up the remaining_femelements list.
The new implementation fixes this by using numpy for the heavy work.
2022-01-07 01:23:01 +01:00
luz paz
0042f58e4c Make source code comments use gender neutral pronouns
The changes also include some grammatical fixes as well.
2021-12-02 16:18:04 -05:00
Bernd Hahnebach
4dbd2c36da FEM: do not use the red error print if it is not a error 2021-08-06 21:35:01 +02:00
Bernd Hahnebach
e197c3ab9f FEM: calculix writer, beam cross section angle, improvements and fixes 2021-08-04 15:52:00 +02:00
Bernd Hahnebach
ce6df4494c FEM: improvements for meshes without geometry link 2021-08-01 11:42:33 +02:00
Bernd Hahnebach
3962c347ac FEM: meshtools, fix node count in newly add mesh type method, regressin wass added in ff5509f855 2021-07-30 16:10:16 +02:00
Bernd Hahnebach
ff5509f855 FEM: meshtools, add generic method to return femmesh type 2021-07-29 18:19:42 +02:00
Bernd Hahnebach
c756881ffa FEM: solver run, improve output 2021-07-27 21:57:23 +02:00
Bernd Hahnebach
f4275adfed FEM: mesh set getter, use ccx independent method names 2021-07-20 09:54:42 +02:00
Bernd Hahnebach
a98ebfde6e FEM: mesh set getter, use ccx independent variable names 2021-07-20 09:54:35 +02:00
Bernd Hahnebach
a7caa50d38 FEM: mesh set getter, output print 2021-07-18 14:47:36 +02:00
Bernd Hahnebach
afeb9b2305 FEM: calculix writer, use mat geo sets instead of ccx elsets 2021-07-17 20:46:29 +02:00
Bernd Hahnebach
043aa945bc FEM: mesh data getter, add time and some comments 2021-07-16 08:11:05 +02:00
Bernd Hahnebach
fd3f17ea45 FEM: separate getting the mesh sets from writer class 2021-07-15 21:57:02 +02:00
UR-0
974f41e0cc FEM: constraint centrif, App objects and methods:
- CalculiX centrifugal body loads
- CalculiX label CENTRIF from *DLOAD card
- implement FreeCAD NonGui code
- the object, ccx writer, etc
2021-07-09 22:03:58 +02:00
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