Test Request: GMSH Tool with group meshing in FreeCAD FEM
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Re: Test Request: GMSH Tool with group meshing in FreeCAD FEM
I finally got to testing this, compiles and works fine on ubuntu 16.04.
One comment when creating a new analysis one should be able to choose which mesher to use automatically ?
This goes a long way to mesh multiple bodies and better use of beams and shells
Sure I can think of additional options but can be added step by step later.
Good piece of work, when are we releasing 0.17 0.16 is so far outdated now !
One comment when creating a new analysis one should be able to choose which mesher to use automatically ?
This goes a long way to mesh multiple bodies and better use of beams and shells
Sure I can think of additional options but can be added step by step later.
Good piece of work, when are we releasing 0.17 0.16 is so far outdated now !
Re: Test Request: GMSH Tool with group meshing in FreeCAD FEM
I can confirm the problem. I have the same problem at setting the language of FreeCAD to "English".bernd wrote:My be Ulrich can help here.
I used the same type of input-field in one of my macros. There I used only text inside of the input-field.
I got the value with the following call:
Code: Select all
self.theInputValue = FreeCAD.Units.parseQuantity(theInputString).Value
It worked in my macro.
Ulrich
Re: Test Request: GMSH Tool with group meshing in FreeCAD FEM
My suggestion would be to totally deactivate meshing at analyse creation. I only see two use cases for a FEM mesher.makkemal wrote:One comment when creating a new analysis one should be able to choose which mesher to use automatically ?
- FEM mesh without constraints --> no analyse is needed
- FEM mesh with constraints --> group meshing for blind fast input file writing should be used --> mesh need to be created after constraints
opinions needed!!!
BTW: makkemal, and ulrich thanks for testing. I try to have a look at ulrichs hint.
Re: Test Request: GMSH Tool with group meshing in FreeCAD FEM
Updates: https://github.com/sgrogan/FreeCAD/rele ... g/0.17-dev
I think frequency analysis does not require constraints?bernd wrote:- FEM mesh without constraints --> no analyse is needed
"fight the good fight"
Re: Test Request: GMSH Tool with group meshing in FreeCAD FEM
greatsgrogan wrote:Updates: https://github.com/sgrogan/FreeCAD/rele ... g/0.17-dev
yes but what I wrote includes material objects too. Means if a frequency analysis has multiple material bodies group meshing would speed up file writing enormous but only if the mesh is done last !sgrogan wrote:I think frequency analysis does not require constraints?bernd wrote:- FEM mesh without constraints --> no analyse is needed
Re: Test Request: GMSH Tool with group meshing in FreeCAD FEM
Ahh, I had misunderstood this part. So I see no reason not to do the mesh last.bernd wrote:yes but what I wrote includes material objects too
"fight the good fight"
Re: Test Request: GMSH Tool with group meshing in FreeCAD FEM
I would also vote for deactivating the mesher at analysis creation.
For complex models the mesh creation can take some time. Usually I do not like to happen time consuming processes automatically.
For complex models the mesh creation can take some time. Usually I do not like to happen time consuming processes automatically.
Re: Test Request: GMSH Tool with group meshing in FreeCAD FEM
For me it is clear, that making the mesh first is not a good idea. This was the reason why I started this thread: viewtopic.php?f=18&t=17318bernd wrote:opinions needed!!!
I saw somewhere in the python documentation of smesh, that smesh also support groups from physical/geometric entities. So if someone finds out how to use this in c++, we will get also a faster inp-writing with the internal method.
Ulrich
Re: Test Request: GMSH Tool with group meshing in FreeCAD FEM
We use smesh groups already. The mesh data inside FreeCAD FEM is saved by smesh. Means any access to a group generated by GMSH is a access to smesh group too. But yeah we need someone who extends the netgen mesher to write group data like the gmsh mesher does.ulrich1a wrote:bernd wrote:I saw somewhere in the python documentation of smesh, that smesh also support groups from physical/geometric entities. So if someone finds out how to use this in c++, we will get also a faster inp-writing with the internal method.