Difference between revisions of "Contrib:Projectionist"
Line 3: | Line 3: | ||
I am a student at Johannes Kepler University at Linz in Austria. In the course of some work I do during the summer at the university I came across CAELinux for I was told to look for open source finite element software. I want to share my newly gained experience with SALOME and CodeAster. Maybe somedays it will be helpful to some beginners. | I am a student at Johannes Kepler University at Linz in Austria. In the course of some work I do during the summer at the university I came across CAELinux for I was told to look for open source finite element software. I want to share my newly gained experience with SALOME and CodeAster. Maybe somedays it will be helpful to some beginners. | ||
+ | |||
+ | == Preface == | ||
+ | |||
+ | I will use these boxes for commands in the linux shell or for source code listings. I hope that context clarifies what is shell command and what is source code. Sorry for this, but by this time I am quite new to wiki writing. | ||
== Code snippets and related stuff == | == Code snippets and related stuff == |
Revision as of 21:09, 7 September 2009
Hello, this is my page.
I am a student at Johannes Kepler University at Linz in Austria. In the course of some work I do during the summer at the university I came across CAELinux for I was told to look for open source finite element software. I want to share my newly gained experience with SALOME and CodeAster. Maybe somedays it will be helpful to some beginners.
Preface
I will use these boxes for commands in the linux shell or for source code listings. I hope that context clarifies what is shell command and what is source code. Sorry for this, but by this time I am quite new to wiki writing.
TUI scripts and Salome in terminal mode
In the case one wants to repeating analyses it may be practical to do this automated. Salome offers the possibility to use python scripts (TUI - textual user interface) for input besides the graphical user interface (GUI). TUI scripts can be imported by calling File -> Import... in the menu bar when running Salome with graphical user interface.
One can tell Salome to import a script at startup by command line option -u.
/SALOME-ROOT/runSalone -u myScript.py
If all the operations that need to be done are already in the script, there is no need for the GUI anymore. Then Salome can be run in terminal mode. This happens by adding -t or --terminal as command line option.
Calling Salome in terminal mode and directly importing a script /SALOME-ROOT/runSalome -t -u myScript.py
The path and the command to launch Salome may or will differ but this can be found in the readme files.
All command line options available will be shown after this command:
/SALOME-ROOT/runSalome --help
But this might be nothing new.