The next video of the YACS series “Salome Automation” is here and we are going to learn together how to automate a Code_Aster simulation with YACS… Cool, eh?
This is the 3rd video of the series, so I won’t go back on the basics I taught in the video 1 and in the video 2 of the series. If you haven’t watched those videos, that’s where you need to start!
In today’s video, we will see how to create and setup a code_aster simulation and how to generate a python node in YACS that will run it automatically.
Let’s go, here’s the video:
In this video, I will teach you:
- How to add a Code_Aster Python Node in your YACS Scheme
- How to run Code_Aster from Python and YACS
- How to generate results in Text that will be parsed in a next video
The models, files and the code are here
Now, if you are totally new to Code_Aster (Or just a little rusty), you can probably also watch this video which comes back on how to simulate a wrench CAD model in Code_Aster.
If you like the video, please like the video and subscribe to my channel!
Cyprien “Subprocessing your Aster Life” Rusu
Hello! Thank you for your instructional video, let me know more about Yacs. Recently, I wanted to run code_saturne on YACS, but I used dump script to overwrite the settings of code_saturne after running Yacs and become initialization, but this was not my original intention.Is it feasible to run code_saturne on Yacs? If it works, is it wrong to use dump?
I have a question how to set appliPath for SalomeMeca 2021. There is no folders here.
appliPath = os.path.realpath (‘/home/michal/salome_meca-lgpl-2021.0.0-0-20210601-scibian-9’) doesn’t work.
Thank you very much for help.
So I see that you are using the latest Salome Meca version.
The good news is that now Aster Study has a python API, so it will be much easier to run code_Aster in Python!
The bad news is that I haven’t done videos about it yet… (I heard there are some bugs, but I will try soon)
The way I am showing in the video should still work, but the path to code_Aster will be different.
If you are on Linux Ubuntu, when you launch Salome Meca through singularity, you should see a 5 GB virtual hard drive appear.
This is where you will find Code_Aster Executable and the Salome application!