Commit Graph

76 Commits

Author SHA1 Message Date
Bernd Hahnebach
5d0a4e1ad9 FEM: mesh api, add EdgesOnly and FacesOnly 2017-11-25 16:54:02 -02:00
Bernd Hahnebach
90c948d95f FEM: abaqus writer, fix precision 2017-06-07 23:32:36 -03:00
Bernd Hahnebach
634987bc0f FEM: abaqus writer, use better names for elementsets 2017-06-07 23:32:36 -03:00
Bernd Hahnebach
564c30a471 FEM: abaqus writer, some comments 2017-06-07 23:32:36 -03:00
wmayer
c526c18b94 fix scan coverity issues: uncaught exception 2017-04-11 14:03:08 +02:00
Ulrich Brammer
1ad022bd44 More precise real values for Calculix input files. 2017-04-04 13:46:15 +02:00
Kunda
f4b84e8963 FEM: source code typos, issue 0002914 2017-02-28 17:35:26 +01:00
Bernd Hahnebach
905fc3f4df FEM: better module names for CalculiX result reader modules 2017-02-16 14:00:39 +01:00
wmayer
e20a054328 fix -Wunused-but-set-variable 2016-12-12 16:32:54 +01:00
wmayer
a035045f4d fix FemMesh::copyMeshData 2016-12-12 12:43:05 +01:00
wmayer
12137b0f59 re-implement FemMesh::copyMeshData based on export&import of unv file 2016-12-09 21:08:44 +01:00
wmayer
41d244a299 copy fem mesh groups 2016-11-07 22:16:53 +01:00
qingfengxia
582350fcf7 Fem: add feature off vtk unstructured mesh import and export 2016-10-29 15:12:18 +02:00
wmayer
ac511e4d2f fix build failure on Windows due to removal of deprecated C++ header 2016-09-24 02:44:32 +02:00
wmayer
2845e319a3 fix -Wextra in Fem 2016-09-24 02:17:15 +02:00
Bernd Hahnebach
bf03c91781 FEM: code formating, replace tabulator with spaces 2016-08-15 21:39:01 +02:00
qingfengxia
d243fea366 correct spelling StanardHypotheses to StandardHypotheses 2016-08-07 18:20:17 +01:00
Bernd Hahnebach
e1c5c8fe38 FEM: code formating: remove trailing white spaces 2016-08-04 17:45:04 +02:00
vejmarie
fdc44af644 Fix MED Reader
Assign same Mesh name into MED archive based on shortfilename during write and read operation
2016-07-16 17:43:20 +02:00
vejmarie
fc76bf8bbb Fix MED Export 2016-07-14 14:53:46 +02:00
wmayer
ee3870fa54 + fix various warnings 2016-06-15 23:55:44 +02:00
Stefan Tröger
6efba7028d FEM: Add faces by face workaround for force constraint 2016-06-15 22:34:10 +02:00
Stefan Tröger
2f57406007 FEM: Use single smesh mesh generator throughout FreeCAD
Creating a mesh generator resets a critical data structure and makes all existing meshes invalid. Hence the SMESH_gen is made a singleton and all FreeCAD code is changed accordingly.
2016-06-15 22:34:10 +02:00
Stefan Tröger
0845791752 FEM: Protect iteration from null ptr 2016-06-15 22:34:10 +02:00
Jean-Marie Verdun
f7c77a446a FEM: Make FEM compatible with SMESH7 2016-06-15 22:34:10 +02:00
Bernd Hahnebach
3bec7077ee FEM: improvements in Abaqus (CalculiX) FEM mesh im- and export:
- add hexa8, hex20, penta6, penta15, quad4, quad8 to writeAbaqus in FemMesh
- make node order in ccxFrdReader and writeAbaqus fitting each other
2016-05-16 13:22:54 +02:00
Bernd Hahnebach
267aec014a FEM: replace tabs at line start by spaces 2016-04-24 19:10:33 +02:00
Bernd Hahnebach
3091fd5973 FEM: remove trailing whitespaces 2016-04-24 19:10:33 +02:00
Bernd Hahnebach
11a1de07d1 FEM: convert all windows code files to unix line ending 2016-04-24 19:10:33 +02:00
Bernd Hahnebach
f6803a9f8e FEM: fix node order of seg3 (B32) in writeAbaqus 2015-11-30 11:21:51 -02:00
Bernd Hahnebach
accb05c502 FEM: add getNodesBySolid()
Conflicts:
	src/Mod/Fem/App/FemMesh.cpp
2015-11-07 13:24:45 -02:00
wmayer
e6c2edb8af + write out nodes sorted by id to abaqus file 2015-10-18 12:32:09 +02:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
ef203bc260 + fixes #0001238: Preferences: set temp files directory 2015-09-19 16:07:33 +02:00
wmayer
582b5fb321 + fix warnings in Fem 2015-09-11 15:11:55 +02:00
Eivind Kvedalen
dfcf659afa Mod/Fem: Removed -Wunused-variable warnings. 2015-09-11 14:52:32 +02:00
wmayer
7eb2ab64cb + FEM: replace set with list to preserve order 2015-05-15 13:48:29 +02:00
wmayer
02a23ba86f + use list of pairs instead of map for getVolumesByFace 2015-05-09 12:02:25 +02:00
wmayer
a538d3c29d + FEM: add a couple of methods to Python interface 2015-05-09 00:15:05 +02:00
wmayer
d3029657f0 + implement FemMesh::getVolumesByFace, replace inner list by tuple 2015-05-08 21:45:13 +02:00
Przemo Firszt
92124ac084 FEM: Add getccxVolumesByFace and write_face_load functions
getccxVolumesByFace returns std::map<int, int> with ID of volume
and a number of face as per CalculiX definition. The same function is
accessible for python and returns list with the same information, like
this: [[229, 3], [230, 3], [233, 2], [238, 2]]

write_face_load produces something like this in the .inp file:

***********************************************************
** element + CalculiX face + load in [MPa]
** written by write_face_load function
*DLOAD
** Load on face Face2
229,P3,10.0
230,P3,10.0
233,P2,10.0
238,P2,10.0

Optimised by wmayer

Signed-off-by: wmayer
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-08 20:58:59 +02:00
Przemo Firszt
6879373168 FEM: getNodesByVertex should return int not long
Suggested by wmayer

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-08 20:58:43 +02:00
Przemo Firszt
36567695d3 FEM: getNodesByEdge should return int not long
Suggested by wmayer

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-08 20:58:26 +02:00
Przemo Firszt
982976bdc5 FEM: getNodesByFace should return int not long
Suggested by wmayer

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-08 20:58:07 +02:00
wmayer
800a0a7b67 + improve abaqus export 2015-04-14 13:33:20 +02:00
wmayer
80680c986c + fix bad choose of limit 2015-04-11 01:06:03 +02:00
wmayer
5f04c6e882 + FEM: get nodes by vertex 2015-03-30 11:45:35 +02:00
wmayer
0ad627b06d + choose consistent C++ and Python method names
+ fix typos
+fix whitespaces
2015-03-30 10:42:14 +02:00
Bernd Hahnebach
d2888e6c28 Fem: add Support for loads and supports on edges to CalculiX file 2015-03-30 10:24:38 +02:00
wmayer
1f641abb51 + improve abaqus exporter 2015-03-15 14:53:22 +01:00