Run ElmerGUI ECMAScript without opening ElmerGUI and ElmerVTK postprocessor

Post processing utility for Elmer
Post Reply
bgkang75
Posts: 1
Joined: 29 Oct 2019, 13:25
Antispam: Yes

Run ElmerGUI ECMAScript without opening ElmerGUI and ElmerVTK postprocessor

Post by bgkang75 » 29 Oct 2019, 13:44

Hello everybody!

Does anyone know whether it is possible to run an ECMAScript, e.g. to generate a result-image automatically after running ElmerSolver.exe, without opening ElmerGUI and ElmerVTK postprocessor and ElmerGUI ECMAScript? (E.g. in a batch file).

I am using Elmer 8.2 with Windows 8.1 Pro.
Thanks for your answers!

David

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

Re: Run ElmerGUI ECMAScript without opening ElmerGUI and ElmerVTK postprocessor

Post by mzenker » 30 Oct 2019, 12:20

Hi,

I don't know to what extent ElmerPost is scriptable. It is outdated anyway.
ParaView can execute Python scripts, but I don't know if it can automatically generate images without firing up the GUI.
gmsh also has a postprocessor and is scriptable, and Elmer's ResultOutputSolver can write gmsh postprocessing format.
If all else fails, you could also use Python, Scilab or Matlab to parse Elmer's output file and produce the image you want.

HTH,
Matthias

raback
Site Admin
Posts: 3487
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Run ElmerGUI ECMAScript without opening ElmerGUI and ElmerVTK postprocessor

Post by raback » 30 Oct 2019, 14:06

Hi

Paraview can be run from command line using predefined journal file.

-Peter

Post Reply