Commit Graph

60 Commits

Author SHA1 Message Date
qingfengxia
be86b992c2 correct spelling StanardHypotheses to StandardHypotheses 2016-08-07 18:20:17 +01:00
Bernd Hahnebach
55d2884658 FEM: code formating: remove trailing white spaces 2016-08-04 17:45:04 +02:00
vejmarie
da70ba1642 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
e5c5336397 Fix MED Export 2016-07-14 14:53:46 +02:00
wmayer
60242ad1cf + fix various warnings 2016-06-15 23:55:44 +02:00
Stefan Tröger
aae79ee558 FEM: Add faces by face workaround for force constraint 2016-06-15 22:34:10 +02:00
Stefan Tröger
55534e98d4 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
cda99210d5 FEM: Protect iteration from null ptr 2016-06-15 22:34:10 +02:00
Jean-Marie Verdun
47f21309dd FEM: Make FEM compatible with SMESH7 2016-06-15 22:34:10 +02:00
Bernd Hahnebach
4bef49bb51 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
bdbefdc52a FEM: replace tabs at line start by spaces 2016-04-24 19:10:33 +02:00
Bernd Hahnebach
b58e37b950 FEM: remove trailing whitespaces 2016-04-24 19:10:33 +02:00
Bernd Hahnebach
14eb6869a9 FEM: convert all windows code files to unix line ending 2016-04-24 19:10:33 +02:00
Bernd Hahnebach
d8af8693b4 FEM: fix node order of seg3 (B32) in writeAbaqus 2015-11-30 11:21:51 -02:00
Bernd Hahnebach
0c55f927f5 FEM: add getNodesBySolid()
Conflicts:
	src/Mod/Fem/App/FemMesh.cpp
2015-11-07 13:24:45 -02:00
wmayer
337a36ceb8 + write out nodes sorted by id to abaqus file 2015-10-18 12:32:09 +02:00
Mateusz Skowroński
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
2991bbf033 + fixes #0001238: Preferences: set temp files directory 2015-09-19 16:07:33 +02:00
wmayer
c05baee29a + fix warnings in Fem 2015-09-11 15:11:55 +02:00
Eivind Kvedalen
6d84d419c2 Mod/Fem: Removed -Wunused-variable warnings. 2015-09-11 14:52:32 +02:00
wmayer
96e77ab5bf + FEM: replace set with list to preserve order 2015-05-15 13:48:29 +02:00
wmayer
45604b3874 + use list of pairs instead of map for getVolumesByFace 2015-05-09 12:02:25 +02:00
wmayer
814c144ecb + FEM: add a couple of methods to Python interface 2015-05-09 00:15:05 +02:00
wmayer
9e89f2ff9a + implement FemMesh::getVolumesByFace, replace inner list by tuple 2015-05-08 21:45:13 +02:00
Przemo Firszt
48efcc449b 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
be43c7f5c0 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
3395d4ea02 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
0e670396fa 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
f6638d49ce + improve abaqus export 2015-04-14 13:33:20 +02:00
wmayer
9ea9980b2c + fix bad choose of limit 2015-04-11 01:06:03 +02:00
wmayer
ff774748cd + FEM: get nodes by vertex 2015-03-30 11:45:35 +02:00
wmayer
f84a150bfd + choose consistent C++ and Python method names
+ fix typos
+fix whitespaces
2015-03-30 10:42:14 +02:00
Bernd Hahnebach
a15ea4ca18 Fem: add Support for loads and supports on edges to CalculiX file 2015-03-30 10:24:38 +02:00
wmayer
b007bd19e4 + improve abaqus exporter 2015-03-15 14:53:22 +01:00
wmayer
5d159f5cf3 + fix crash in export to abaqus 2015-03-15 02:08:55 +01:00
wmayer
cc7c1d1f44 + fix assert failure in FemMesh 2015-03-10 12:44:22 +01:00
wmayer
23a58fedf7 + fix warnings with clang 2014-09-24 18:00:46 +02:00
jriegel
dc6eeb10a6 fix load of BDF with element number bigger 1000000 2014-03-24 21:12:21 +01:00
jriegel
cd69467ede Finish get nodes by surface 2014-02-09 17:55:35 +01:00
jriegel
1341c43e5f Get node of face implementation 2014-02-09 17:55:34 +01:00
jriegel
132b75e5ab Volum for Tet10 FemMesh 2013-12-09 23:52:44 +01:00
jriegel
30b189c1da Merge branch 'refs/heads/double-precision-werner'
Conflicts:
	src/App/Document.cpp
	src/App/PropertyGeo.cpp
	src/App/PropertyStandard.cpp
	src/Base/Reader.cpp
	src/Base/Reader.h
	src/Gui/propertyeditor/PropertyItem.cpp
	src/Mod/Fem/Gui/ViewProviderFemMesh.cpp
	src/Mod/Inspection/Gui/ViewProviderInspection.cpp
	src/Mod/Mesh/App/MeshProperties.cpp
	src/Mod/Part/App/TopoShapeFacePyImp.cpp
	src/Mod/PartDesign/App/FeatureRevolution.cpp
2013-09-26 00:05:05 +02:00
jriegel
68078487c7 Add SchemaVersion to RestoreDocFile to distinquish double from float binary 2013-09-24 11:01:09 +02:00
jriegel
af56b324b9 Joachims changes and fixes for Abaqus write 2013-08-18 19:24:52 +02:00
jriegel
08e2cf1e40 more info on meshing and recalculation only if needed 2013-07-23 21:45:12 +02:00
jriegel
f3aebef651 fix in write ABAQUS 2013-07-13 13:15:38 +02:00
jriegel
cd19d8155c remake the position handling on the C++ side 2013-07-13 11:54:21 +02:00
jriegel
4c6e988aad Fix Boundbox problem in FemMesh and make singular Coordinate3 node 2013-07-10 01:09:59 +02:00
jriegel
e6c649cc1d Fix in Grid calculation and remove some trace messages from SMESH 2013-05-29 00:34:08 +02:00
jriegel
c10d87d366 small fixes and tests in Fem 2013-05-28 18:13:01 +02:00