Commit Graph

38 Commits

Author SHA1 Message Date
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
wmayer
97aba58bb2 + fix crash in export to abaqus 2015-03-15 02:08:55 +01:00
wmayer
5f1effd108 + fix assert failure in FemMesh 2015-03-10 12:44:22 +01:00
wmayer
ddb267fdf6 + fix warnings with clang 2014-09-24 18:00:46 +02:00
jriegel
bd2af70902 fix load of BDF with element number bigger 1000000 2014-03-24 21:12:21 +01:00
jriegel
131e4c2568 Finish get nodes by surface 2014-02-09 17:55:35 +01:00
jriegel
b87ea22edf Get node of face implementation 2014-02-09 17:55:34 +01:00
jriegel
3fb1dee566 Volum for Tet10 FemMesh 2013-12-09 23:52:44 +01:00
jriegel
ec0a5ccb0c 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
abf1623f07 Add SchemaVersion to RestoreDocFile to distinquish double from float binary 2013-09-24 11:01:09 +02:00
jriegel
6d5c190630 Joachims changes and fixes for Abaqus write 2013-08-18 19:24:52 +02:00
jriegel
4dfa640be1 more info on meshing and recalculation only if needed 2013-07-23 21:45:12 +02:00
jriegel
e01d574998 fix in write ABAQUS 2013-07-13 13:15:38 +02:00
jriegel
3e5e14257a remake the position handling on the C++ side 2013-07-13 11:54:21 +02:00
jriegel
f24ef5a274 Fix Boundbox problem in FemMesh and make singular Coordinate3 node 2013-07-10 01:09:59 +02:00
jriegel
5c8d3ea614 Fix in Grid calculation and remove some trace messages from SMESH 2013-05-29 00:34:08 +02:00
jriegel
7592abe14d small fixes and tests in Fem 2013-05-28 18:13:01 +02:00
wmayer
bb63f7a4d5 Remove FileVersion from RestoreDocFile, convert point data back to floats 2013-03-29 15:23:51 +01:00
jrheinlaender
ad6444053b Added FileVersion attribute to XML format to distinguish legacy float binary files from new double binary files 2013-03-27 11:47:18 +04:30
jriegel
a61b24da2e Methode stub for retriving surface nodes (todo) 2013-03-22 12:34:27 +01:00
jriegel
8cd425e5ef Implement Edge Visual for Tet4 and Tet10 2013-02-24 14:31:23 +01:00
jriegel
0c8cfa92e5 Log in FemMesh view provider and some warnings fixed 2013-02-18 22:29:02 +01:00
jriegel
e9812a0445 fix in readNastran 2013-02-17 23:36:08 +01:00
Joachim Zettler
e8f569fe6a Merge branch 'dvdjimmy/MachDist' 2012-08-20 21:56:42 +02:00
wmayer
8a94ba885c Fix critical warnings 2012-06-13 18:49:10 +02:00
Joachim Zettler
cef271f0e2 Changes on Machining Distortion to account for Centos 5.6 compilation 2012-03-26 10:06:16 +02:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00