Commit Graph

25 Commits

Author SHA1 Message Date
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
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
Sebastian Hoogen
a53a239f2f issue #1027 use unicode filepaths 2014-10-11 13:32:06 +02:00
wmayer
032c893183 + fix warnings with clang 2014-09-24 17:46:04 +02:00
Sebastian Hoogen
5e51a6cdf7 fixes #0001422: Subclass Exception
inherit Base.FreeCADError form RuntimeError
inherit Part.OCCError from Base.FreeCADError
inherit OCCDomainError from Part.OCCError
inherit OCCRangeError from Part.OCCError
inherit OCCConstructionError from OCCDomainError
inherit OCCDimensionError from OCCDomainError
Added PY_CATCH_OCC macro
replace PyExc_Exception
use FreeCADError in makeWireString
catch exception in BSplineCurve.increasedegree
2014-09-17 11:15:56 +02:00
jriegel
1341c43e5f Get node of face implementation 2014-02-09 17:55:34 +01:00
jriegel
c1a3b1434a Read Calculix Result files (*.frd) mesh 2013-12-30 22:33:05 +01:00
jriegel
132b75e5ab Volum for Tet10 FemMesh 2013-12-09 23:52:44 +01:00
wmayer
9af4f7ee73 + Fix compiler warnings 2013-10-11 12:24:49 +02:00
jriegel
866668ace0 start node index interface 2013-09-12 21:58:11 +02:00
jriegel
97b32d6eb9 change node attribute to a id:vector3d dictionary and changes the scripts 2013-08-29 22:15:14 +02:00
jriegel
58ba9d4498 Fix bug in getNodes() and some clean up in ApplyingBC 2013-08-15 19:35:52 +02:00
jriegel
b8cac92e83 switch MachDistIsostatic to python algorithem 2013-07-31 19:10:45 +02:00
jriegel
211764b5da some tuning in Alignment & copy constructor for FemMeshPy 2013-07-13 15:45:05 +02:00
jriegel
cd19d8155c remake the position handling on the C++ side 2013-07-13 11:54:21 +02:00
jriegel
4ab5bd57c9 Add Nodes interface to FemMesh (for usage e.g. calculating eigen transformation) 2013-07-10 23:16:21 +02:00
jriegel
c66b7d7ff2 implement Hex8 and change temporarily the line show 2013-02-17 21:32:53 +01:00
jriegel
82905f7be2 Implementing Visual for FEM mesh higher degrees
- Tet10
- Add interface to insert higher degree nodes
2013-02-17 15:38:27 +01:00
Joachim Zettler
ec1b0d8720 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