gmsh errors on loading angles3d.grd from ElmerGUI samples.

Mesh generators, CAD programs, and other tools
Post Reply
Gary R
Posts: 60
Joined: 12 Apr 2012, 07:23
Antispam: Yes
Location: Long Beach CA

gmsh errors on loading angles3d.grd from ElmerGUI samples.

Post by Gary R » 24 Oct 2017, 03:39

I have been trying to use gmsh on ElmerGUI sample angles3d.grd and keep getting the following error:

Code: Select all

Info    : -------------------------------------------------------
Info    : Gmsh version   : 2.15.0
Info    : Build OS       : Linux
Info    : Build options  : Ann Bamg Bfgs Blas(Generic) Blossom Cgns Chaco DIntegration Dlopen Fltk Gmm Jpeg Kbipack Lapack(Generic) LinuxJoystick MPI MathEx Med Mesh Mmg3d Mpeg NativeFileChooser Netgen ONELAB ONELABMetamodel OpenCascade(OCE) OpenGL OptHom Parser Plugins Png Post Python Salome Solver TetGen/BR Tetgen Voro3D Zlib
Info    : Build date     : 20161230
Info    : Build host     : lcy01-09
Info    : Packager       : buildd
Info    : Executable     : /usr/bin/gmsh
Info    : Home directory : /home/gary/
Info    : Launch date    : Mon Oct 23 17:23:10 2017
Info    : Command line   : /usr/bin/gmsh
Info    : -------------------------------------------------------
Info    : Reading '/usr/local/share/ElmerGUI/samples/grd/angles3d.grd'...
Error   : '/usr/local/share/ElmerGUI/samples/grd/angles3d.grd', line 1 : syntax error (#)
Info    : Done reading '/usr/local/share/ElmerGUI/samples/grd/angles3d.grd'
The file is as follows:

Code: Select all

#####  ElmerGrid input file for structured grid generation  ######
Version = 210903
Coordinate System = Cartesian 3D
Subcell Divisions in 2D = 2 2 2
Subcell Sizes 1 = 1 1 
Subcell Sizes 2 = 1 2
Subcell Sizes 3 = 1 2
Material Structure in 2D
  1    0
  1    2
End
Materials Interval = 1 2
Extruded Structure
# 1stmat   lastmat  newmat  
  1        2       1       
  2        2       1  
End 
Boundary Definitions
# type     out      int     
  1        0        1        1       
  2        0        2        1       
  3        2        1        1       
End
Numbering = Horizontal
Element Degree = 1
Element Innernodes = False
!Triangles = True
Surface Elements = 200
Element Ratios 1 = 1 1
Element Ratios 2 = 1 1
Element Ratios 3 = 1 1
Element Densities 1 = 1 1
Element Densities 2 = 1 1 
Element Densities 3 = 1 1
I'm working with a Kubuntu OS with a compiled from source Elmer system. System is less than 2 months old.

I don't see anything wrong. Please help!!

Gary R.

mzenker
Posts: 1807
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: gmsh errors on loading angles3d.grd from ElmerGUI samples.

Post by mzenker » 24 Oct 2017, 10:10

Hi,

I think the .grd file is for meshing in ElmerGrid directly, not in gmsh. ElmerGrid has some (however limited) meshing capabilities, using .grd files as input. See ElmerGrid manual. BTW that is what is stated in the first line of the .grd file... ;)

HTH,
Matthias

Gary R
Posts: 60
Joined: 12 Apr 2012, 07:23
Antispam: Yes
Location: Long Beach CA

Re: gmsh errors on loading angles3d.grd from ElmerGUI samples.

Post by Gary R » 31 Oct 2017, 02:55

OOPs. Thanks for the redirect.

Gary R

Post Reply