[Gmsh] Include pos-File: syntax error

Nagel Cristian (RB Doktorandenprogramm, CR/ARY2) Cristian.Nagel at de.bosch.com
Mon Aug 17 10:39:23 CEST 2015


Hello everybody,

I started working with GMSH some weeks ago and I would be really grateful if somebody could help me with my problem.

I am doing particle simulations and the tool automatically creates plots as ".pos"-file. If I am opening the file with the GUI (OPEN --> FILE) everything works and there are no errors. But I have many plots, so I need to open them in a script. But If I do so by writing: "Include "abc.pos";" , I always get a lot of errors like:

Info    : Done reading 'C:\temp\lind.geo'
Info    : Reading 'C:\temp\abc.pos'...
Error   : 'C:\temp\abc.pos', line 1 : syntax error ($)
Error   : 'C:\temp\abc.pos', line 6 : syntax error (~)
Error   : 'C:\temp\abc.pos', line 6 : syntax error (/)
Error   : 'C:\temp\abc.pos', line 6 : syntax error (:)
Error   : 'C:\temp\abc.pos', line 6 : syntax error (0)
Error   : 'C:\temp\abc.pos', line 6 : syntax error (¾)
Error   : 'C:\temp\abc.pos', line 6 : syntax error (¯)
Error   : 'C:\temp\abc.pos', line 6 : syntax error (¾)
Error   : 'C:\temp\abc.pos', line 6 : syntax error (')
Error   : 'C:\temp\abc.pos', line 6 : syntax error (=)
Error   : 'C:\temp\abc.pos', line 6 : syntax error (¾)
Error   : 'C:\temp\abc.pos', line 6 : syntax error (:)
Error   : 'C:\temp\abc.pos', line 6 : syntax error (0)
Error   : 'C:\temp\abc.pos', line 6 : syntax error (¾)
Error   : 'C:\temp\abc.pos', line 6 : syntax error (¯)
Error   : 'C:\temp\abc.pos', line 6 : syntax error (¾)
Error   : 'C:\temp\abc.pos', line 6 : syntax error ()
Error   : 'C:\temp\abc.pos', line 6 : syntax error (¿)
Error   : 'C:\temp\abc.pos', line 6 : syntax error (>)
Error   : 'C:\temp\abc.pos', line 6 : syntax error (0)
Error   : 'C:\temp\abc.pos', line 6 : syntax error (¾)
Error   : Too many errors: aborting parser...
Info    : Done reading 'C:\temp\abc.pos'

I have checked the documentation, but I don't find any hint about the "include"-command. It would be awesome, if somebody could help me. Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150817/85dd3f39/attachment.html>