<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div><div>Hi List,</div><div>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,</div><div><br></div><div>Info : -------------------------------------------------------</div><div>Info : Gmsh version : 3.0.5</div><div>Info : Build OS : MacOSX</div><div>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</div><div>Info : Build date : 20170906</div><div>Info : Build host : Admins-Mac.local</div><div>Info : Packager : geuzaine</div><div>Info : Executable : /Applications/Gmsh.app/Contents/MacOS/gmsh</div><div>Info : Home directory : /Users/ajpina/</div><div>Info : Launch date : Mon Oct 16 21:04:44 2017</div><div>Info : Command line : /Applications/Gmsh.app/Contents/MacOS/gmsh</div><div>Info : -------------------------------------------------------</div><div>Info : Reading '/Volumes/Share/Linux/gmsh-files/Motor0.pro'...</div><div>Info : Calling '"/Volumes/Share/Linux/getdp-2.11.2-MacOSX/bin/getdp" -onelab "GetDP" /Users/ajpina/.gmshsock2 &'</div><div>Info : Running 'GetDP'…</div><div>Info : GetDP - Performing ONELAB 'initialize'</div><div>Info : Done running 'GetDP'</div><div>Info : Done</div><div>Info : Resetting database</div><div>Info : Reading '/Volumes/Share/Linux/gmsh-files/Motor0.geo'...</div><div>Info : Done reading '/Volumes/Share/Linux/gmsh-files/Motor0.geo'</div><div>Info : Reading '/Volumes/Share/Linux/gmsh-files/Motor0.geo.opt'...</div><div>Info : Done reading '/Volumes/Share/Linux/gmsh-files/Motor0.geo.opt'</div><div>Info : Calling '"/Volumes/Share/Linux/getdp-2.11.2-MacOSX/bin/getdp" "/Volumes/Share/Linux/gmsh-files/Motor0.pro" -onelab "GetDP" /Users/ajpina/.gmshsock2 &'</div><div>Info : Running 'GetDP'...</div><div>Info : GetDP - Performing ONELAB 'check'</div><div>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]</div><div>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)</div><div>Info : GetDP - Got mesh name from Onelab: '/Volumes/Share/Linux/gmsh-files/Motor0.msh'</div><div>Info : GetDP - Initializing Gmsh</div><div>Info : GetDP - Loading problem definition '/Volumes/Share/Linux/gmsh-files/Motor0.pro'</div><div>Info : GetDP - Loading problem definition '/Volumes/Share/Linux/gmsh-files/Motor0.geo'</div><div>Error : GetDP - '/Volumes/Share/Linux/gmsh-files/Motor0.geo', line 30 : syntax error (()</div><div>Info : Done running 'GetDP'</div><div>Info : Done</div></div><div><br></div><div><br></div><div>The line 30 in file ‘Motor0.geo’ is the following (by the way, all parameters have been previously initialized):</div><div><br></div><div><div>M_aai = ( 2/beta )*Asin( M_w / ( 2*oRr ) ) ;</div></div><div><br></div><div>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.</div><div>Thanks,</div><div>Alejandro</div><div><br></div><div><br></div><div><br></div><div><br></div></body></html>