Commit Graph

36 Commits

Author SHA1 Message Date
marioalexis
352eeff000 Fem: Add set of mesh elements from a list 2024-09-15 20:47:09 -03:00
marioalexis
99aebd8a33 Fem: Force z=0 for plane stress, plane strain and axisymmetric elements in writeABAQUS - fixes #12875 2024-06-17 10:57:31 -05:00
marioalexis
be65d1a252 Fem: Add element types to ABAQUS writer 2024-04-16 11:28:52 -03:00
Jonas Bähr
34b176c1db Remove C++ escaping from *Py.xml templates
Now all escaping required for the C++ code generation is done when the
.cpp/.h files are generated. Previously, only newlines were escaped
automatically. This was a) inconsistent and b) leaked c++ details into
the xml data.
In addition, the escaping is now done in one central place, harmonizing
the three previous implementations.

Pre-existing c++ escape sequences in the XML files have been replaced by
their literal equivalent so that the resulting python doc sting remains
unchanged.
2023-08-16 13:17:25 +02:00
marioalexis
be3718deea Fem: Implement getNodeElements function 2023-02-21 03:13:13 +01:00
joha2
bdfd0b10a7 FEM: add methods to to edit mesh groups:
- add addGroup, addGroupElements, removeGroup to C++ mesh class
- expose the methods to Python
- add a unit test class
- update test commands file
- add test to fem test app module
2020-05-23 14:56:15 +02:00
wmayer
4156a32ad7 add convenience functions to get element type to id and vice versa 2019-01-20 17:58:30 +01:00
Bernd Hahnebach
4e99896be5 FEM: mesh api, import of Abaqus inp mesh file with Fem API 2018-12-14 22:51:39 +01:00
Bernd Hahnebach
ea727a9765 FEM: mesh api, import of z88 mesh file with Fem API 2018-12-14 22:51:39 +01:00
Bernd Hahnebach
92e9b7cebd FEM: mesh api, export of z88 mesh file with Fem API 2018-12-12 08:47:33 -03:00
looooo
5a915d5db6 add function to retrive femmesh edges by a TopoDS_Edge 2018-11-09 11:11:59 +01:00
Unknown
cb87fb505d FEM: typos 2017-12-16 16:36:17 +01:00
Bernd Hahnebach
b142ce5bc7 FEM: Abaqus writer, add method parameter for elem and group options 2017-11-25 16:54:02 -02:00
Bernd Hahnebach
5d0a4e1ad9 FEM: mesh api, add EdgesOnly and FacesOnly 2017-11-25 16:54:02 -02:00
looooo
1464152b56 py3: FEM, PyMods, preprocessor conditions, Py::Long vs Py::Int 2017-02-19 14:21:34 +01:00
Bernd Hahnebach
00b26c5921 FEM: python mesh API, add methods to retrieve group data 2016-10-01 13:20:38 +02:00
Bernd Hahnebach
a9120b32ec FEM: add GroupID to python mesh API 2016-09-27 13:04:47 -03:00
qingfengxia
d243fea366 correct spelling StanardHypotheses to StandardHypotheses 2016-08-07 18:20:17 +01:00
Stefan Tröger
6efba7028d FEM: Add faces by face workaround for force constraint 2016-06-15 22:34:10 +02:00
Bernd Hahnebach
267aec014a FEM: replace tabs at line start by spaces 2016-04-24 19:10:33 +02:00
Bernd Hahnebach
3091fd5973 FEM: remove trailing whitespaces 2016-04-24 19:10:33 +02:00
Bernd Hahnebach
11a1de07d1 FEM: convert all windows code files to unix line ending 2016-04-24 19:10:33 +02:00
Bernd Hahnebach
accb05c502 FEM: add getNodesBySolid()
Conflicts:
	src/Mod/Fem/App/FemMesh.cpp
2015-11-07 13:24:45 -02:00
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
wmayer
5f04c6e882 + FEM: get nodes by vertex 2015-03-30 11:45:35 +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
84d878fa81 + set Const attribute to some methods of FemMesh 2015-03-12 10:42:23 +01:00
jriegel
131e4c2568 Finish get nodes by surface 2014-02-09 17:55:35 +01:00
jriegel
3fb1dee566 Volum for Tet10 FemMesh 2013-12-09 23:52:44 +01:00
jriegel
cc55ce4008 start node index interface 2013-09-12 21:58:11 +02:00
jriegel
6d04316fa1 change node attribute to a id:vector3d dictionary and changes the scripts 2013-08-29 22:15:14 +02:00
jriegel
d71fd39987 Add Nodes interface to FemMesh (for usage e.g. calculating eigen transformation) 2013-07-10 23:16:21 +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