Meshing .... Error : Unknown string option 'Solver.Extension0'

About the development of the FEM module/workbench.
HoWil
Posts: 370
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Meshing .... Error : Unknown string option 'Solver.Extension0'

Postby HoWil » Thu Mar 16, 2017 8:30 pm

Hello,
Just to report it.....
When meshing for instance a simple box on the daily-ppa I get the following Error message in the GMSH-dialog:
Error : Unknown string option 'Solver.Extension0' Error : Unknown string option 'Solver.Extension1' Error : Unknown string option 'Solver.Extension2' Error : Unknown string option 'Solver.Extension3' Error : Unknown string option 'Solver.Extension4' Error : Unknown string option 'Solver.Extension5' Error : Unknown string option 'Solver.Extension6' Error : Unknown string option 'Solver.Extension7' Error : Unknown string option 'Solver.Extension8' Error : Unknown string option 'Solver.Extension9'
Screenshot from 2017-03-16 21-29-00.png
Screenshot from 2017-03-16 21-29-00.png (174.3 KiB) Viewed 119 times

OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10490 (Git)
Build type: None
Branch: master
Hash: 378f99f1b318202db3bc89b45d691a0376d07512
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
User avatar
bernd
Posts: 3856
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Meshing .... Error : Unknown string option 'Solver.Extension0'

Postby bernd » Fri Mar 17, 2017 7:35 am

Which version of gmsh? Does it happen if you run gmsh with the geo and brep too?
User avatar
bernd
Posts: 3856
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Meshing .... Error : Unknown string option 'Solver.Extension0'

Postby bernd » Fri Mar 17, 2017 7:37 am

We had it here too. I never had this problem. viewtopic.php?f=18&t=21147
joha2
Posts: 61
Joined: Tue Oct 11, 2016 9:48 pm

Re: Meshing .... Error : Unknown string option 'Solver.Extension0'

Postby joha2 » Sat Mar 18, 2017 12:11 pm

I just built the latest FreeCAD source on my thinkpad with

OS: Linux Mint 17.1 Rebecca
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10492 (Git)
Build type: Unknown
Branch: master
Hash: 58ed7c3688beb98ef89994919eddd9a4d0dd55e2
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17

which uses also a very old version of gmsh (2.8.3) coming from some outdated Ubuntu repo and I got nearly the same error.
I also tested bernds suggestion and loaded the geometry as a brep file directly into this old gmsh and I also got those messages.

Code: Select all

~ $ gmsh blub.brep
Error   : Unknown string option 'General.ExecutableFileName'
Error   : Unknown string option 'General.RecentFile5'
Error   : Unknown string option 'General.RecentFile6'
Error   : Unknown string option 'General.RecentFile7'
Error   : Unknown string option 'General.RecentFile8'
Error   : Unknown string option 'General.RecentFile9'
Error   : Unknown number option 'General.FltkColorScheme'
Error   : Unknown string option 'Solver.Extension0'
Error   : Unknown string option 'Solver.Extension1'
Error   : Unknown string option 'Solver.Extension2'
Error   : Unknown string option 'Solver.Extension3'
Error   : Unknown string option 'Solver.Extension4'
Error   : Unknown string option 'Solver.Extension5'
Error   : Unknown string option 'Solver.Extension6'
Error   : Unknown string option 'Solver.Extension7'
Error   : Unknown string option 'Solver.Extension8'
Error   : Unknown string option 'Solver.Extension9'
Error   : Unknown string option 'Solver.OctaveInterpreter'
Error   : Unknown string option 'Solver.PythonInterpreter'


This error vanishes if you download the latest gmsh 2.16.0 version from gmsh.info and use this as the binary for meshing in FreeCAD.
(See Preferences -> FEM -> GMSH -> binary path.)

I hope this helps.

Best wishes
Johannes

Edit: I checked also the ability to use recombination elements (making quads from tets) and it seems that shown quad mesh meshed with gmsh 2.8.3 is not perturbed, in contrast to the same geometry meshed with 2.16.0 (like in https://forum.freecadweb.org/viewtopic.php?f=18&t=21349)

gmsh_2.16.0_quads.png
gmsh_2.16.0_quads.png (48.28 KiB) Viewed 64 times

gmsh_2.8.3_quads.png
gmsh_2.8.3_quads.png (22.39 KiB) Viewed 64 times
HoWil
Posts: 370
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: Meshing .... Error : Unknown string option 'Solver.Extension0'

Postby HoWil » Sat Mar 18, 2017 6:43 pm

bernd wrote:Which version of gmsh? Does it happen if you run gmsh with the geo and brep too?


I used the standard version 2.10.1 from Ubuntu 16.04 respository.
I have downloaded 2.16.0 from gmsh.info, changed settings form gmsh-path and the error vanishes. Changed settings back to sytem-standard-gmsh and cant reproduce the problem. :o Strange!

Cound run standard-gmsh with the geo files in tmp without problems

Code: Select all

/tmp$ gmsh shape2mesh.geo -format unv
Delaunizing vertices...
Delaunay seconds:  0.003757
Creating surface mesh ...
Surface mesh seconds:  0.000922
Recovering boundaries...
Boundary recovery seconds:  0.001003
Removing exterior tetrahedra ...
Exterior tets removal seconds:  0.000121
Recovering Delaunayness...
Delaunay recovery seconds:  0.001274
Optimizing mesh...
Optimization seconds:  0.000444

Writing nodes.
Writing elements.
Writing faces.
Writing edges.

Output seconds:  0.00059
Total running seconds:  0.008249

Statistics:

  Input points: 314
  Input facets: 624
  Input segments: 936
  Input holes: 0
  Input regions: 0

  Mesh points: 314
  Mesh tetrahedra: 880
  Mesh faces: 2072
  Mesh edges: 1505
  Mesh faces on facets: 624
  Mesh edges on segments: 936



Loading the geometry with gmsh Box_Geometry.brep works without problems.

@Bernd: which version of gmsh do you use?
BR,
HoWil
Last edited by HoWil on Sat Mar 18, 2017 6:48 pm, edited 1 time in total.
HoWil
Posts: 370
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: Meshing .... Error : Unknown string option 'Solver.Extension0'

Postby HoWil » Sat Mar 18, 2017 6:46 pm

joha2 wrote:Edit: I checked also the ability to use recombination elements (making quads from tets) and it seems that shown quad mesh meshed with gmsh 2.8.3 is not perturbed, in contrast to the same geometry meshed with 2.16.0 (like in https://forum.freecadweb.org/viewtopic.php?f=18&t=21349)


Thanks for pointing this out!
BR
HoWil
User avatar
bernd
Posts: 3856
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Meshing .... Error : Unknown string option 'Solver.Extension0'

Postby bernd » Sun Mar 19, 2017 8:10 pm

HoWil wrote:@Bernd: which version of gmsh do you use?

Code: Select all

$ gmsh --version
2.13.3