Implemented Gmsh Mesh Property "MeshSizeFromCurvature"
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Re: Implemented Gmsh Mesh Property "MeshSizeFromCurvature"
many thanks for this new feature!
However, as a FEM newbie I struggle permanently because there is no documentation. Can you therefore please always do these 2 things:
1. document the new feature in the Wiki, in this case in https://wiki.freecadweb.org/FEM_MeshGmshFromShape
2. add an entry to the FEM section in the release notes: https://wiki.freecadweb.org/Release_not ... _Workbench (just steal the formatting from the 0.19 release noes https://wiki.freecadweb.org/Release_not ... _Workbench)
However, as a FEM newbie I struggle permanently because there is no documentation. Can you therefore please always do these 2 things:
1. document the new feature in the Wiki, in this case in https://wiki.freecadweb.org/FEM_MeshGmshFromShape
2. add an entry to the FEM section in the release notes: https://wiki.freecadweb.org/Release_not ... _Workbench (just steal the formatting from the 0.19 release noes https://wiki.freecadweb.org/Release_not ... _Workbench)
Re: Implemented Gmsh Mesh Property "MeshSizeFromCurvature"
I documented the feature now at least in the Wiki: https://wiki.freecadweb.org/FEM_MeshGms ... Properties
@UR_ and @Bernd, I wanted to play with the Gmsh settings and would like if we could maybe improve the situation:
- after closing the Gmsh dialog, the mesh is always made invisible. This is annoying because one often has to check out a different option and therefore has to re-enable it all the time. Can we change it so that the mesh is not made invisible?
- It would be very helpful if one can directly change/set in the mesh dialog if second order mesh or first order. Could this setting be added to the dialog?
@UR_ and @Bernd, I wanted to play with the Gmsh settings and would like if we could maybe improve the situation:
- after closing the Gmsh dialog, the mesh is always made invisible. This is annoying because one often has to check out a different option and therefore has to re-enable it all the time. Can we change it so that the mesh is not made invisible?
- It would be very helpful if one can directly change/set in the mesh dialog if second order mesh or first order. Could this setting be added to the dialog?
Re: Implemented Gmsh Mesh Property "MeshSizeFromCurvature"
I suggest one document there only after he/she got a commit num.uwestoehr wrote: ↑Sun Mar 21, 2021 1:41 pm 2. add an entry to the FEM section in the release notes: https://wiki.freecadweb.org/Release_not ... _Workbench (just steal the formatting
0.19 FEM has a lot which you can't use in 0.19.
Re: Implemented Gmsh Mesh Property "MeshSizeFromCurvature"
But there is one: https://github.com/FreeCAD/FreeCAD/pull/4596
I added it now to the release notes: https://wiki.freecadweb.org/Release_not ... _Workbench
What do you mean? Do you have an example?0.19 FEM has a lot which you can't use in 0.19.
Re: Implemented Gmsh Mesh Property "MeshSizeFromCurvature"
many thanks! This was a very valuable hint. I documented it now: https://wiki.freecadweb.org/FEM_MeshGms ... esh_growth
Re: Implemented Gmsh Mesh Property "MeshSizeFromCurvature"
It's just a pull number. Who knows if it will be committed.uwestoehr wrote: ↑Mon Mar 22, 2021 9:31 am But there is one: https://github.com/FreeCAD/FreeCAD/pull/4596
Better use commit number.
Most things stated for 0.19, even don't have a pull number. So not inside 0.19 and you can't use them with 0.19.
Re: Implemented Gmsh Mesh Property "MeshSizeFromCurvature"
But you know. Just click on the link: https://github.com/FreeCAD/FreeCAD/pull/4596 and you see that it was merged.
I still don't understand what you mean. What exactly is in the release notes of FC 0.19: https://wiki.freecadweb.org/Release_notes_0.19Most things stated for 0.19, even don't have a pull number. So not inside 0.19 and you can't use them with 0.19.
that cannot be used with FreeCAD 0.19?
Re: Implemented Gmsh Mesh Property "MeshSizeFromCurvature"
Fixed when this PR goes in: https://github.com/FreeCAD/FreeCAD/pull/4666
Already in since today: https://github.com/FreeCAD/FreeCAD/pull/4660
Re: Implemented Gmsh Mesh Property "MeshSizeFromCurvature"
https://github.com/FreeCAD/FreeCAD/pull/4666uwestoehr wrote: ↑Mon Mar 22, 2021 3:16 am I documented the feature now at least in the Wiki: https://wiki.freecadweb.org/FEM_MeshGms ... Properties
@UR_ and @Bernd, I wanted to play with the Gmsh settings and would like if we could maybe improve the situation:
- after closing the Gmsh dialog, the mesh is always made invisible. This is annoying because one often has to check out a different option and therefore has to re-enable it all the time. Can we change it so that the mesh is not made invisible?
- It would be very helpful if one can directly change/set in the mesh dialog if second order mesh or first order. Could this setting be added to the dialog?
Re: Implemented Gmsh Mesh Property "MeshSizeFromCurvature"
I keep getting the following error from GMSH:
This may have to do with the input widget, because I also get the following error
when I open the widget and the input values for max and min element size get reset to zero every time GMSH completes.
Code: Select all
Unknown number option 'Mesh.MeshSizeFromCurvature
Code: Select all
TypeError: Can't call meta function because I have no idea how to handle Base::Quantity
Code: Select all
OS: Ubuntu 20.04.4 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.29178 (Git)
Build type: Unknown
Branch: master
Hash: ea7efbf96bb812ae31d36b4305cfa7fbce24bfce
Python 3.8.10, Qt 5.12.8, Coin 4.0.0, Vtk 7.1.1, OCC 7.3.0
Locale: English/United States (en_US)
Installed mods:
* main.py