I would be interested in retrieving the full strain and stress tensor. Is this possible from the python API?
If not, could someone point me to how I could read those from the result file?
Search found 27 matches
- Tue Oct 17, 2017 1:57 pm
- Forum: FEM
- Topic: Meaning of stress and strain vectors
- Replies: 15
- Views: 5489
- Thu Sep 07, 2017 3:42 pm
- Forum: FEM
- Topic: Debugging FEM mesh creation of GMSH mesher
- Replies: 6
- Views: 2274
Re: Debugging FEM mesh creation of GMSH mesher
- use Part --> check geometry to see if the shape has errors errors: many: BOPAlgo_invalidCurveOnSurface content shape: Unnamed.Part__Feature: VERTEX : 20 EDGE : 30 WIRE : 20 FACE : 12 SHELL : 1 SOLID : 1 COMPSOLID : 0 COMPOUND : 0 SHAPE : 84 No idea how to diagnose these errors, but a solid is app...
- Thu Sep 07, 2017 9:00 am
- Forum: FEM
- Topic: Debugging FEM mesh creation of GMSH mesher
- Replies: 6
- Views: 2274
- Wed Sep 06, 2017 8:59 am
- Forum: FEM
- Topic: Getting started with FreeCAD FEM module Coding
- Replies: 12
- Views: 2426
Re: Getting started with FreeCAD FEM module Coding
On https://www.freecadweb.org/wiki/Scripting_examples you can find all the information to get started.
And specifically for the FEM module https://www.freecadweb.org/wiki/FEM_Tutorial_Python.
And specifically for the FEM module https://www.freecadweb.org/wiki/FEM_Tutorial_Python.
- Wed Sep 06, 2017 8:55 am
- Forum: FEM
- Topic: Debugging FEM mesh creation of GMSH mesher
- Replies: 6
- Views: 2274
Debugging FEM mesh creation of GMSH mesher
I am trying to convert a step file I generated in Rhinoceros into a FEM mesh. FreeCAD can open the file and visualize it. But when I try to convert to a FEM mesh I get an empty mesh. I tried to convert shape->mesh->shape in FreeCAD with mesh repair and shape refine in between. This gives me a low po...
- Mon Aug 21, 2017 2:50 pm
- Forum: FEM
- Topic: Retrieving all Faces for each Node in a femmesh
- Replies: 12
- Views: 2203
Re: Retrieving all Faces for each Node in a femmesh
On a volume mesh only the faces of the shape to mesh have faces in the mesh. Thus if you return the nodes of the femmeshfaces of the faces of the shape to mesh you get the same result as if you return the nodes of the femmesh faces. As a result all numbers for your mesh seams right to me :D ok, now...
- Mon Aug 21, 2017 2:37 pm
- Forum: FEM
- Topic: Displacement rotation not applied
- Replies: 10
- Views: 2891
- Fri Aug 11, 2017 8:12 am
- Forum: FEM
- Topic: Retrieving all Faces for each Node in a femmesh
- Replies: 12
- Views: 2203
Re: Retrieving all Faces for each Node in a femmesh
BTW: for i in nodefaces.items(): if not i: print("found node without faces") returns: >>> >>> for i in nodefaces.items(): ... if not i: ... print("found node without faces") ... >>> means all nodes have at least one face ... Not really, items() returns a tuple of key/value pair ...
- Thu Aug 10, 2017 9:36 am
- Forum: FEM
- Topic: Retrieving all Faces for each Node in a femmesh
- Replies: 12
- Views: 2203
- Wed Aug 09, 2017 2:18 pm
- Forum: FEM
- Topic: Retrieving all Faces for each Node in a femmesh
- Replies: 12
- Views: 2203
Retrieving all Faces for each Node in a femmesh
Given a Femmesh I'm trying to build a python dictionary which contains a list of faces for each node in the femmesh. This list is made of faces which have the respective node in FemMesh.getElementNodes(face) below is my femmesh with 1392 nodes ========================== Dump contents of mesh =======...