Commit Graph

36 Commits

Author SHA1 Message Date
marioalexis
5a7bc6101b Fem: Add set of mesh elements from a list 2024-09-15 20:47:09 -03:00
marioalexis
f8027a16d0 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
087788cb36 Fem: Add element types to ABAQUS writer 2024-04-16 11:28:52 -03:00
Jonas Bähr
3e68d6fd50 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
976b0b8d3f Fem: Implement getNodeElements function 2023-02-21 03:13:13 +01:00
joha2
f90a88ce3c 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
e385ed7809 add convenience functions to get element type to id and vice versa 2019-01-20 17:58:30 +01:00
Bernd Hahnebach
150bcfcd77 FEM: mesh api, import of Abaqus inp mesh file with Fem API 2018-12-14 22:51:39 +01:00
Bernd Hahnebach
b441c0d3e8 FEM: mesh api, import of z88 mesh file with Fem API 2018-12-14 22:51:39 +01:00
Bernd Hahnebach
e01546b0a9 FEM: mesh api, export of z88 mesh file with Fem API 2018-12-12 08:47:33 -03:00
looooo
d4461f351c add function to retrive femmesh edges by a TopoDS_Edge 2018-11-09 11:11:59 +01:00
Unknown
988a406395 FEM: typos 2017-12-16 16:36:17 +01:00
Bernd Hahnebach
f271e52b3d FEM: Abaqus writer, add method parameter for elem and group options 2017-11-25 16:54:02 -02:00
Bernd Hahnebach
1f11a3cc8e FEM: mesh api, add EdgesOnly and FacesOnly 2017-11-25 16:54:02 -02:00
looooo
5c0bcf611f py3: FEM, PyMods, preprocessor conditions, Py::Long vs Py::Int 2017-02-19 14:21:34 +01:00
Bernd Hahnebach
efb87dc1c0 FEM: python mesh API, add methods to retrieve group data 2016-10-01 13:20:38 +02:00
Bernd Hahnebach
084e163137 FEM: add GroupID to python mesh API 2016-09-27 13:04:47 -03:00
qingfengxia
be86b992c2 correct spelling StanardHypotheses to StandardHypotheses 2016-08-07 18:20:17 +01:00
Stefan Tröger
aae79ee558 FEM: Add faces by face workaround for force constraint 2016-06-15 22:34:10 +02:00
Bernd Hahnebach
bdbefdc52a FEM: replace tabs at line start by spaces 2016-04-24 19:10:33 +02:00
Bernd Hahnebach
b58e37b950 FEM: remove trailing whitespaces 2016-04-24 19:10:33 +02:00
Bernd Hahnebach
14eb6869a9 FEM: convert all windows code files to unix line ending 2016-04-24 19:10:33 +02:00
Bernd Hahnebach
0c55f927f5 FEM: add getNodesBySolid()
Conflicts:
	src/Mod/Fem/App/FemMesh.cpp
2015-11-07 13:24:45 -02:00
wmayer
814c144ecb + FEM: add a couple of methods to Python interface 2015-05-09 00:15:05 +02:00
wmayer
9e89f2ff9a + implement FemMesh::getVolumesByFace, replace inner list by tuple 2015-05-08 21:45:13 +02:00
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
wmayer
ff774748cd + FEM: get nodes by vertex 2015-03-30 11:45:35 +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
wmayer
bafe8d4b14 + set Const attribute to some methods of FemMesh 2015-03-12 10:42:23 +01:00
jriegel
cd69467ede Finish get nodes by surface 2014-02-09 17:55:35 +01:00
jriegel
132b75e5ab Volum for Tet10 FemMesh 2013-12-09 23:52:44 +01: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
4ab5bd57c9 Add Nodes interface to FemMesh (for usage e.g. calculating eigen transformation) 2013-07-10 23:16:21 +02: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