User Page: Joël Cugnoni
my name is Joël Cugnoni, main developer of CAELinux (alias admin on the forums). This is my personal page on CAELinux Wiki where I intend to put any kind of tips and tricks as well as some personal experience of the use / development of CAELinux.
- 1 Wiki "How to"
- 2 An example of Salome - Code-Saturne CFD study
- 3 Salome Tutorial: Extrusion Geometry and Extrusion Meshing
- 4 Creating a Video tutorial for CAELinux
- 5 Thermal analysis in Salome-Meca
- 6 How to create Screencasts / Video tutorials
- 7 How to remaster / customize CAELinux 2010/2011
- 8 Presentation of CAELinux and the world of Open source CAE software at Salome User Days 2010
- 9 Structural optimization using Salome and Aster: presentation at Salome User Days 2010
- 10 Running Code-Aster on a Cluster
Wiki "How to"
Here is a simple procedure to upload files on the wiki:
1) create a [[Media:MyFileName]] link on your wiki page and save it
2) click the link and upload the file
Example of uploaded file
An example of Salome - Code-Saturne CFD study
Here is a small example of simulation of the flow around a back facing step modelled with Salome & Code-Saturne.
(the geometry and mesh are in no way optimal... so are the results too !!)
Some addtitionnal informations:
- this archive should be decompressed in /tmp to work properly without modifications - you will need Salome 3.2.9 and Code-Saturne 1.3.1
- the Salome FlowStep.hdf contains the geometry, mesh and some post pro results
- to edit the Code-Saturne input file, open CAEKonsole, move to '/ tmp / FLOWSTEP / CASE1 / DATA' and run '. / SalomeGUI'
Salome Tutorial: Extrusion Geometry and Extrusion Meshing
This small tutorial will teach you how to create extrusion geometry based on a 2D sketch and ahow to create a 3D extrusion mesh made of prisms.
Creating a Video tutorial for CAELinux
You would like to record a video demo or a tutorial for CAELinux: here is the procedure that I have used in the official tutorials
- I use Wink which is a really great open source tool for screen recording and video editing. It runs on both Linux and Windows, so check this page for more information & downloads: . In CAELinux, Wink can be installed very simply from Synaptics.
- Start Wink, create a New project => you see the video recording parameter window:
- choose full screen recording at 4 frames / sec., remember the shortcut to start / stop recording (ALT PAUSE or SHIFT PAUSE)
- record the whole video (if unsure, stop the recording, think a bit and restart. Try to move the mouse slowly and smoothly, keep a slow pace so that the recorded screen are refreshed properly, try to keep the mouse over the buttons a few seconds before you click on it.
- when finished, save the Wink project, resize it to 66% or 75% , add comments and buttons if you wish. Save to another filename.
- set the rendering options: reduce a bit the smoothing of the cursor's movement, select the output filename.
- launch the final rendering of the flash video and enjoy your work!!
Thermal analysis in Salome-Meca
Here are 3 examples of simple thermal analysis in Salome-Meca (input files, results + videos of the execution).
thermal ex1.tar.bz2 16Mb,
thermal ex2.tar.bz2 45Mb and
thermal ex3.tar.bz2 42Mb
How to create Screencasts / Video tutorials
Install gtk-recordmydesktop from Synaptic and setup your microphone level in the Sound Preferences. Then record using default options.
Right click the icon to pause recording and left click to stop recording.
After compression is finished, you get an high quality OGV video with sound.
To upload it to Youtube, you need to convert it to AVI format: use this command.
mencoder foo.ogv -o foo.avi -oac mp3lame -lameopts fast:preset=standard -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=4000
Then upload the video to Youtube or any other service.
Finally, you may want to have a lighter copy of the video to propose it for download:
For this, use Handbrake as it is really simple and powerfull. Personnally I change the image size to max 900x480 and use MP4 container with H264, Quality RF:20 video and MP3Lame 128b/s audio.
Don't forget to upload your video on this wiki as well!!
How to remaster / customize CAELinux 2010/2011
You can customize your own version of CAELinux quite easily using Remastersys. Actually, this is exactly how I build the ISO image of CAELinux since several years.
1. Install CAELinux of hard disk or in a virtual machine: install in a single root partition of at least 40Gb.
2. Customize your installation as needed. You can install drivers but you should avoid installing Nvidia or AMD proprietary drivers as it may not work properly on different computers. You can add / remove software using Synaptic or any other means, like manual building, binary install and so on. The final DVD will be the exact copy of your current install.
3. Final touch: If you want to customize the default user profile (Desktop, Menu...) you need to copy your changes to /etc/skel folder... see Ubuntu docs for mre information. Also try to clean your apt cache to save space, run: sudo rm -f /var/cache/apt/archive/*.deb
Note that you can add some deb files in the cache if you want to allow users to install selected packages without internet connexion (for ex. drivers)...
4. Run Remastersys from System>Administration menu. Set Options if you want and then run 'Dist' mode to start building a distribution ISO image. A Disttribution ISO contains all the files on your system except the user profiles. If you want to keep the user names and content of the /home directory, run the Backup mode.
5. At the end of the process, make sure that the ISO image is valid: its size should not be more than 4Gib in principle (i.e the filesystem.squashfs file that it contains is limited to 4Gib). If too large, try to remove some folders / packages... at you own risk. Then check th ISO image using VirtualBox or by installing it on a USB flash drive with System>Administration>Startup disk creator.
Presentation of CAELinux and the world of Open source CAE software at Salome User Days 2010
Presentation (French) of the panorama of Open Source CAE software and CAELinux.
Structural optimization using Salome and Aster: presentation at Salome User Days 2010
Presentation (French) of an automatic structural optimization using Scipy, Salome and Code-Aster, courtesy of NRCTech SA Lausanne.
Running Code-Aster on a Cluster
To use MPI with Code-Aster in CAELinux 2011, you don't need (and should not install) MPICH2 or anything else. Everything is already there. Code-Aster 11.0 is already compiled using openMPI libraries (and having several MPI libraries installed in the system may create configuration problems).
see this How-To here: