forked from FreeCAD/FreeCAD
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FEM: Add getVolumesByFace and write_face_load functions
getVolumesByFace 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>
- Loading branch information
Showing
5 changed files
with
137 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
That -1 is probably wrong or there is something funny happening in FreeCAD with direction when no direction is selected, but "Reverse direction" option is checked