Salome-Meca 2019 for Windows

Salome-Meca 2019 has been release on Linux few weeks ago and is now ready for Windows at our download page. This version is based on Salome 9.3 and last AsterStudy update 2019.0.1 and includes Code_Aster 14.4 binary for Windows. This update comes with many new features (discussed below) in Code_Aster, Salome and its new Shaper module and AsterStudy with  a new post-processing tool.

Code_Aster

Version 14.4 is set as stable and replace previous version 13.6. The portage to Windows required an important effort due to the transition from Python2.7 to Python3. But the solver pass the tests and has been validated as the previous builds using the official submit list.

Running testcases for Code_Aster 14.4 validation

Salome 9.3

The major change in Salome 9 is the switch from Python2.7 to Python3. Although this seems to be interesting from the developer point of view, this switch is a significant effort on code modernization that shows the willingness to maintain the project over time. The Windows version is now build using MSVC 2015, one should install corresponding redistribuable Package (x64). Anyways, launching the GUI doesn’t change much from the previous versions : double click on run_salome.bat.

launch Salome-Meca 2019 on Windows 10

Salome_Meca 2019 opening on Windows  10

Once the GUI opened, one can notice the new Shaper module, that aim to replace GEOM module (GEOM module subsist in this version).

Salome-Meca 2019 opened on Windows

Shaper

Shaper allows a parametric definition of the Geometry and offers a much better flexibility than GEOM to deal with geometry. One should first create a part.

shaper make a part with Salome-Meca 2019

It is then possible to use the buttons to define, for example, a primitive.

Shaper make a cube on Salome-meca 2019

Once finished, the trick is to use from the menubar Feature -> Export to GEOM before to go to SMESH module.

Shaper export to geom Salome-Meca 2019

Once in SMESH module, only exported to GEOM entities will be accessible to define and compute a new mesh.

SMESH select from geom Salome-Meca 2019

SMESH compute mesh Salome-Meca 2019

AsterStudy enhancements

The new AsterStudy version works the same way as the previous version with no major difference in the workflow but the software is expected to improve fluency. Let’s compare this new version by following the previous tutorial beginning with AsterStudy. Go to tab History View, then in the menubar select Operations -> Import Testcase.

import testcase on AsterStudy 2019

Type “forma01a” in the lineedit to import testcase forma01a.

type testcase name on AsterStudy 2019

From the tab Case View, let’s define an output file.

define output file on AsterStudy 2019

Click button “…”, chose a folder and type “forma01a.rmed’.

type output file AsterStudy 2019

Go back to History View tab, save the study, and click as usual on “+” button and then on Run.

run testcase on AsterStudy 2019

One can notice a new combobox to select refresh mode and a new combobox coming with a graph that aim to show progress of the calculation.

running testcase on AsterStudy_2019

The run ends OK as usual with green, but unfortunately forma01 case uses only one increment and shows nothing in the graph. So let’s load another testcase ssnv504f:

import another testcase on AsterStudy 2019

With ssnv504f case running, we can click on Refresh button for the pending message file to be parsed. Then it is possible to select the value that should be displayed in graph progress (iterations, residuals, etc.) using Graph progress combobox.

select graph progress on AsterStudy 2019

Post processing

AsterStudy has a new tab for post-processing results. Right click on an selected result forma01a.rmed and select Post-process.

open post processing AsterStudy 2019

Wait for the initialization of the new window.

post processing opening on AsterStudy 2019

The Results tab should then be active.

result tab of AsterStudy 2019

This new Results window is really intuitive and ease the management of post-processing comparing to advanced Paravis module.

set color result on AsterStudy 2019

This window is based on Paraview engine, but manage automatically filters and hide the messy interface. That could be really helpful for the average user. This interface can also be used to open a standalone rmed file: from a scratch AsterStudy session, in the CaseView tab, select from the menubar Operations -> Post-process an external MED Results File.

post process external rmed on AsterStudy 2019

and select forma01a.rmed file directly from disk.

select external rmed on AsterStudy 2019

Error on Save

Sometime, when a Study.hdf file already exists on disk, it happen that Salome raise an error with permission denied.

overwrite study in Salome-Meca 2019 on Windows 10

permission denied in Salome-Meca 2019 on Windows 10

Indeed if we right click on file -> Property, we can see that the file has been set to read only mode.

Study property Salome-Meca 2019 on Windows 10

read only property on Windows 10

You can simply delete the file or untick read only attribute to make save possible again. Another workaround is to use the attrib command to change permission from cmd prompt. Even better, put  in study folder a file named set_study_rw.bat containing line:

attrib -r Study*.hdf

A double click on set_study_rw.bat will remove readonly flag automatically for all files starting with Study and ending with .hdf, allowing you to save again in all these files.

set study rw for Salome-Meca 2019 on Windows 10

7 thoughts on “Salome-Meca 2019 for Windows

  1. First of all, thank you for your work I really appreciate it

    When closing/quitting Salome I get this error message “This application failed to start because it could not find or load the Qt platform plugin “windows” in “”. Reinstalling the application may fix this problem.”

    I don’t know what it is about and it only appears after closing Salome.

    Have a nice evening, Mauro

    Like

  2. Good morning to everybody:
    Congratulations for publishing I appeciate the effort for realeasing the brand new version of SALOME-MECA 2019.
    In my case, I have to report several inconsistencies. The first one, I cannot save my files due to a write protection.
    The second one, ASTERSTUDY is reporting error messages during the loading and it cannot read the previosly saved file.
    the third one, Helpbrowser.exe cannot access to some needed dll.

    How can we resolve these issues? Thank you

    Like

  3. Good morning to everybody:
    Congratulations for publishing I appeciate the effort for realeasing the brand new version of SALOME-MECA 2019.
    In my case, I have to report several inconsistencies. The first one, I cannot save my files due to a write protection.
    The second one, ASTERSTUDY is reporting error messages during the loading and it cannot read the previosly saved file.
    the third one, Helpbrowser.exe cannot access to some needed dll.

    How can we resolve these issues? Thank you

    Like

  4. Hello everyone!

    First of all, Congratulations on this amazing work!

    I´m getting the following message when trying to save my files:

    Can not save file “/(…).hdf”
    possible reasons:
    -permission denied;
    -unsufficient disk space;
    -application error.

    I noticed this problem start happening only when the simulation file becomes bigger, requiring more disk space (for instance, after I generate a big mesh), however I have plenty of disk space!

    Does anyone have a guess on how to solve this?

    Thanks!

    Like

      1. I have read and tried that before posting. It does not refer to the same issue. By the way, the error message I reported is completely different…

        Like

  5. Thank you very much indeed for your work.
    I contribute with two findings (only one new):
    – after closing Salome I get the same message in the post of Mauro on 4th November
    – when I run “kill_salome.bat” the starting black window of salome remains open, to close it I need to push the X botton, is it really necessary to run “kill_salome.bat”?

    Thanks for any comments.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s