Successfully clearing ports in Salome (Code ASTER)

Figure: Building a geometry in the Salome graphical user interface (GUI). How Salome tracks ports When Salome is starting up, it checks for free ports on your system using a few built-in Python scripts. Then when you close Salome those ports should be freed up again for the next one. This has a number of uses, but one reason is to stop multiple instances of Salome trying to use the same port at once. ...

June 1, 2017 · 7 min · Simon

5 Tips for making finite element models with Salome

Salome is an open source software package used to create geometric models and finite element meshes for use in numerical simulations. It is also able to perform its own numerical simulations and has post-processing capabilities built in. Here are my 5 tips for anyone who is interested in using Salome for model and mesh creation. 1. Practice manually first This goes without saying. Although Salome has a powerful Python-based scripting capability, it is worth practicing with manual model generation. By that I mean, clicking with your mouse in the GUI. Manual practice lets you get familiar with the quirks of the Salome workflow, which has a different mentality to many other model generator programs. ...

August 15, 2015 · 3 min · Simon

Salome reordering during scripted Explode function

When writing Salome scripts that include a step to explode objects to their sub-shapes (using “ExtractShapes”) it is worth paying attention to the isSorted parameter, which is True by default. In my experience this parameter is best set to False in order to avoid Salome unpredictably changing the order of the objects in the resulting list. For example, here I have a Compound of two objects A and B, which has the faces glued resulting in Glue_1. I want to extract the two solids and use them in the script. ...

November 29, 2013 · 1 min · Simon