[Gmsh] Include pos-File: syntax error

David Colignon david.colignon at ulg.ac.be
Mon Aug 17 11:19:05 CEST 2015


On 17/08/15 10:39, Nagel Cristian (RB Doktorandenprogramm, CR/ARY2) wrote:

> 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!

Hi,

you should use the 'Merge' command.

Regards,

Dave

-- 
David Colignon, Ph.D.
1er Logisticien de Recherche
Université de Liège
ACE - Applied & Computational Electromagnetics
Quartier POLYTECH 1 - Montefiore B28
Allée de la découverte 10
4000 Liège - BELGIQUE
Tél: +32 (0)4 366 37 32
http://www.ulg.ac.be/nic4
>
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>