FreeCAD: master 48efcc44

Author Committer Branch Timestamp Parent
Przemo Firszt wmayer master 2015-05-05 21:27:20 master be43c7f5
Changeset 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>
mod - src/Mod/Fem/App/FemMesh.cpp Diff File
mod - src/Mod/Fem/App/FemMesh.h Diff File
mod - src/Mod/Fem/App/FemMeshPy.xml Diff File
mod - src/Mod/Fem/App/FemMeshPyImp.cpp Diff File
mod - src/Mod/Fem/ccxInpWriter.py Diff File