Page 1 of 1

Run ElmerGUI ECMAScript without opening ElmerGUI and ElmerVTK postprocessor

Posted: 29 Oct 2019, 13:44
by bgkang75
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

Re: Run ElmerGUI ECMAScript without opening ElmerGUI and ElmerVTK postprocessor

Posted: 30 Oct 2019, 12:20
by mzenker
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

Re: Run ElmerGUI ECMAScript without opening ElmerGUI and ElmerVTK postprocessor

Posted: 30 Oct 2019, 14:06
by raback
Hi

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

-Peter