[Getdp] Error : GetDP - '/.../Motor0.geo', line 30 : syntax error (()

Alejandro Pina ajpina at gmail.com
Tue Oct 17 03:26:56 CEST 2017


Hi List,
Hope you can help me with the following issue: I have a motor geometry
'Motor0.geo' that is apparently meshed with Gmsh without any issues, however
when I open ŒMotor0.pro¹, it triggers an error during GetDP check. The error
is shown below,

Info    : -------------------------------------------------------
Info    : Gmsh version   : 3.0.5
Info    : Build OS       : MacOSX
Info    : Build options  : Ann Bamg Bfgs Blas(Custom) Blossom C++11 Chaco
DIntegration Dlopen Fltk Gmm Jpeg(Fltk) Kbipack Lapack(Custom) MathEx Med
Mesh Metis Mmg3d Mpeg NativeFileChooser Netgen ONELAB ONELABMetamodel
OpenCASCADE OpenGL OptHom PETSc Parser Plugins Png(Fltk) Post SLEPc Solver
Taucs TetGen/BR Tetgen1.5 Voro3D Zlib
Info    : Build date     : 20170906
Info    : Build host     : Admins-Mac.local
Info    : Packager       : geuzaine
Info    : Executable     : /Applications/Gmsh.app/Contents/MacOS/gmsh
Info    : Home directory : /Users/ajpina/
Info    : Launch date    : Mon Oct 16 21:04:44 2017
Info    : Command line   : /Applications/Gmsh.app/Contents/MacOS/gmsh
Info    : -------------------------------------------------------
Info    : Reading '/Volumes/Share/Linux/gmsh-files/Motor0.pro'...
Info    : Calling '"/Volumes/Share/Linux/getdp-2.11.2-MacOSX/bin/getdp"
-onelab "GetDP" /Users/ajpina/.gmshsock2 &'
Info    : Running 'GetDP'Š
Info    : GetDP - Performing ONELAB 'initialize'
Info    : Done running 'GetDP'
Info    : Done
Info    : Resetting database
Info    : Reading '/Volumes/Share/Linux/gmsh-files/Motor0.geo'...
Info    : Done reading '/Volumes/Share/Linux/gmsh-files/Motor0.geo'
Info    : Reading '/Volumes/Share/Linux/gmsh-files/Motor0.geo.opt'...
Info    : Done reading '/Volumes/Share/Linux/gmsh-files/Motor0.geo.opt'
Info    : Calling '"/Volumes/Share/Linux/getdp-2.11.2-MacOSX/bin/getdp"
"/Volumes/Share/Linux/gmsh-files/Motor0.pro"    -onelab "GetDP"
/Users/ajpina/.gmshsock2 &'
Info    : Running 'GetDP'...
Info    : GetDP - Performing ONELAB 'check'
Info    : GetDP - Running
'/Volumes/Share/Linux/getdp-2.11.2-MacOSX/bin/getdp
/Volumes/Share/Linux/gmsh-files/Motor0.pro -onelab GetDP
/Users/ajpina/.gmshsock2' [GetDP 2.11.2, 1 node]
Info    : GetDP - Started (Mon Oct 16 21:04:44 2017, Wall = 0.0333641s, CPU
= 0.03193s, Mem = 6.71094Mb, Recv/Send = 6.67572e-05/0.000526428Mb)
Info    : GetDP - Got mesh name from Onelab:
'/Volumes/Share/Linux/gmsh-files/Motor0.msh'
Info    : GetDP - Initializing Gmsh
Info    : GetDP - Loading problem definition
'/Volumes/Share/Linux/gmsh-files/Motor0.pro'
Info    : GetDP - Loading problem definition
'/Volumes/Share/Linux/gmsh-files/Motor0.geo'
Error   : GetDP - '/Volumes/Share/Linux/gmsh-files/Motor0.geo', line 30 :
syntax error (()
Info    : Done running 'GetDP'
Info    : Done


The line 30 in file ŒMotor0.geo¹ is the following (by the way, all
parameters have been previously initialized):

M_aai = ( 2/beta )*Asin( M_w / ( 2*oRr ) ) ;

I wonder why no error is shown when open 'Motor0.geo¹ instead of
ŒMotor0.pro¹. Hope you can give a clue, also I can send more information on
what the files have in them if required.
Thanks,
Alejandro






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/getdp/attachments/20171016/900e3412/attachment.html>


More information about the getdp mailing list