Search found 27 matches

by hdbondt
Tue Oct 17, 2017 1:57 pm
Forum: FEM
Topic: Meaning of stress and strain vectors
Replies: 15
Views: 5489

Re: Meaning of stress and strain vectors

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?
by hdbondt
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...
by hdbondt
Thu Sep 07, 2017 9:00 am
Forum: FEM
Topic: Debugging FEM mesh creation of GMSH mesher
Replies: 6
Views: 2274

Re: Debugging FEM mesh creation of GMSH mesher

bernd wrote: Wed Sep 06, 2017 6:30 pm What I would do is:
...
Thanks, I'll try it out.
bernd wrote: Wed Sep 06, 2017 6:30 pm best is to provide the shape and we could give it a try too.
I changed hosting website and added 2 stp files, the urls are in the first post.
by hdbondt
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.
by hdbondt
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...
by hdbondt
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...
by hdbondt
Mon Aug 21, 2017 2:37 pm
Forum: FEM
Topic: Displacement rotation not applied
Replies: 10
Views: 2891

Re: Displacement rotation not applied

HoWil wrote: Tue Aug 08, 2017 2:42 pm When I open your model and run it I get the following... is this what you want/expect?:
I don't want to double post, but have you had a chance to look at it :)?
by hdbondt
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 ...
by hdbondt
Thu Aug 10, 2017 9:36 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

bernd wrote: Wed Aug 09, 2017 4:33 pm Would you post your FEMMesh?
by hdbondt
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 =======...