https://caelinux.org/wiki/api.php?action=feedcontributions&user=Wikiadmin&feedformat=atomCAELinuxWiki - User contributions [en]2021-05-16T23:59:55ZUser contributionsMediaWiki 1.26.2https://caelinux.org/wiki/index.php?title=Main_Page&diff=8913Main Page2016-01-14T12:41:55Z<p>Wikiadmin: /* Introduction */</p>
<hr />
<div>__NOTOC__<br />
= '''Welcome to the CAELinux Community Portal''' =<br />
Welcome to CAELinux Community Portal, the best place to share your experience & knowledge with all the users of CAELinux.<br />
<br /><br />
<!-------------------------------------------------<br />
INDEX<br />
---------------------------------------------------><br />
{| width="100%" style="border-spacing:0px;" style="width: 100%; border:1px solid #190707; background-color:#ffffff; vertical-align:top; -moz-border-radius:10px"<br />
|-<br />
|<br />
<br />
<!-- Nested Table for Index Top --><br />
{| width="100%" cellpadding="1" cellspacing="2" style="vertical-align:top; background-color: #ffffff; -moz-border-radius:10px"<br />
!<br />
== ''Introduction'' ==<br />
|-<br />
| <br />
|}<br />
<br />
This site is based on the model of a collaborative Wiki (like [http://www.wikipedia.com Wikipedia]) and everybody is welcome to contribute to its content. <br />
<br />
The only rule is this: Create an account & start sharing your experience with other users!<br />
<br />
''For Editors, please respect the sections structures by using the correct Section prefix in new page names (like'' '''Doc:MyTutorial''' <br />
'')''<br />
<br />
''If you are planning to edit some page in this wiki and want some help about how to do it , please check this very usefull guide before modify some important resource.''<br />
<br />
''Link: http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page''<br />
<br />
If you would like to get a contributor account for the wiki, please send us an email through the contact form at [http://caelinux.com/CMS/index.php?option=com_contact&view=contact&id=1&Itemid=3] with the following information: email address, desired username and password and a short description of your expected contribution. <br />
<br />
If you don't know what CAELinux is, jump to this site: [http://www.caelinux.com CAELinux.com]<br />
<br />
<!---------------------------------<br />
Design Notes<br />
-----------------------------------><br />
|-<br />
|&nbsp;<br />
|}<br />
<br />
<!-----------------------------<br />
News Styles<br />
-----------------------------------><br />
{| style="border-spacing:8px;margin:0px -8px"<br />
|class="MainPageBG" style="width: 50%; border: 1px solid #190707; background-color: #ffffff; vertical-align: top; -moz-border-radius:10px" | <br />
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background-color:#ffffff; -moz-border-radius:10px"<br />
<!---------------------------------<br />
¿Qué es un Wiki??<br />
-----------------------------------><br />
!<br />
<br />
== ''CAELinux Documentation'' ==<br />
<br />
|-<br />
| <br />
''Note: these categories are being reorganized... expect some changes soon''<br />
<br />
* '''[[Doc:Main]]''' This section contains all the tutorial / documents to learn how to use CAELinux in an efficient way <br />
<br />
* '''[[Doc:PCLinuxOS]]''' Contains the documents related to the Linux operating system (PCLinuxOS) used in older CAELinux releases<br />
<br />
* '''[[Doc:CAE]]''' Contains the documents related to the CAE softwares included in CAELinux<br />
<br />
* '''[[Doc:CAETutorials]]''' Contains a list of tutorials related to the CAE softwares included in CAELinux<br />
<br />
* '''[[Doc:FEM Learning]]''' Contains documents about The Finite Element Method<br />
<br />
* '''[[Doc:FAQ]]''' Frequently Asked Questions<br />
<br />
* '''[[Doc:Salome]]''' Salome and Salome-Meca documentation<br />
<br />
* '''[[Doc:Code-Aster]]''' Code-Aster documentation and tutorials<br />
<br />
* '''[[Doc:Code-Saturne]]''' Code-Saturne documentation and tutorials<br />
<br />
* '''[[Doc:OpenFOAM]]''' OpenFOAM documentation and tutorials<br />
<br />
* '''[[Doc:Calculix]]''' Calculix documentation and tutorials<br />
<br />
* '''[[Doc:ElmerFEM]]''' Elmer FEM documentation and tutorials<br />
<br />
* '''[[Doc:Impact]]''' Impact documentation and tutorials<br />
<br />
* '''[[Doc:Interop]]''' Is the section for discussing / sharing experience about CAE software interoperability / file formats conversion <br />
<br />
* '''[[Doc:Trans]]''' Is the main section for finalized translated documents & internationalization patches<br />
<br />
<br />
|}<br />
<!-------------------------------------<br />
Right sided column<br />
----------------------------------------><br />
|class="MainPageBG" style="border:1px solid #190707; background-color:#ffffff; vertical-align:top; -moz-border-radius:10px"| <!-- <div style="margin: 4px 4px 2px 4px; text-align: left;"> --><br />
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align: top; background-color:#ffffff; -moz-border-radius:10px;"<br />
|-<br />
<!---------------------------------<br />
¡Puede comenzar su propio Wiki '''gratis''' ahora!<br />
-----------------------------------><br />
!<br />
<br />
== ''Content'' ==<br />
<br />
|-<br />
| style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size: 100%" |<br />
<br />
== Sections of the Wiki ==<br />
<br />
* '''[[Doc:Main]]''' Main page of the Documentation section.<br />
<br />
* '''[[Proj:Main]]''' Main page of the Project section.<br />
<br />
* '''[[Contrib:Main]]''' Main page of the Contrib section.<br />
<br />
* '''[[Sandbox]]''' Please use this section to learn how to use the Wiki.<br />
<br />
* '''[[Proposed Interface]]''' There is some discussion on how to make the tutorials more assessable, here is one method<br />
<br />
== Development & Projects ==<br />
<br />
* '''[[Proj:Main]]''' This section provides a space for collaborative projects related to CAELinux, like internationalization efforts, file conversion utilities, utilities, etc... <br />
<br />
* '''[[Proj:CodeAsterIntl]]''' The main page for the translation of the documentation & software related to Code_Aster<br />
<br />
* '''[[Proj:UNVConvert]]''' The page of the UNV2X / X2UNV file conversion utilities<br />
<br />
* '''[[Proj:MedAba]]''' Mesh converter from Salomé MED format to Calculix / Abaqus INP format<br />
<br />
* '''[[Proj:CAELinuxWizards2011]]''' CAELinux 2011 GUI Wizards for Code-Aster, Code-Saturne and OpenFOAM SimpleFOAM <br />
|}<br />
|}<br />
<br />
{| width="100%" style="border-spacing:0px;" style="width: 100%; border:1px solid #190707; background-color:#ffffff; vertical-align:top; -moz-border-radius:10px"<br />
|-<br />
|<br />
<table><tr valign="top"><td width="50%"><br />
<div style="font-size: 105%; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold;"><br />
<br />
== ''Special pages'' ==<br />
<br />
* '''[[Special:Allpages]]''': The ideal view to see all the pages of this Wiki.<br />
<br />
* '''[[Special:Recentchanges]]''': View all the recent changes in the pages of this Wiki.<br />
<br />
* '''[[Special:Imagelist]]''': List of all the uploaded files.<br />
<br />
* '''[[Special:Listusers]]''': List of all the registered users / contributors of this Wiki.</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Main_Page&diff=7402Main Page2012-11-26T00:09:27Z<p>Wikiadmin: /* Introduction */</p>
<hr />
<div>__NOTOC__<br />
= '''Welcome to the CAELinux Community Portal''' =<br />
Welcome to CAELinux Community Portal, the best place to share your experience & knowledge with all the users of CAELinux.<br />
<br /><br />
<!-------------------------------------------------<br />
INDEX<br />
---------------------------------------------------><br />
{| width="100%" style="border-spacing:0px;" style="width: 100%; border:1px solid #190707; background-color:#ffffff; vertical-align:top; -moz-border-radius:10px"<br />
|-<br />
|<br />
<br />
<!-- Nested Table for Index Top --><br />
{| width="100%" cellpadding="1" cellspacing="2" style="vertical-align:top; background-color: #ffffff; -moz-border-radius:10px"<br />
!<br />
== ''Introduction'' ==<br />
|-<br />
| <br />
|}<br />
<br />
This site is based on the model of a collaborative Wiki (like [http://www.wikipedia.com Wikipedia]) and everybody is welcome to contribute to its content. <br />
<br />
The only rule is this: Create an account & start sharing your experience with other users!<br />
<br />
To get an account as contributor, please send an email to ''admin /at/ caelinux.com''<br />
<br />
''For Editors, please respect the sections structures by using the correct Section prefix in new page names (like'' '''Doc:MyTutorial''' <br />
'')''<br />
<br />
''If you are planning to edit some page in this wiki and want some help about how to do it , please check this very usefull guide before modify some important resource.''<br />
<br />
''Link: http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page''<br />
<br />
If you don't know what CAELinux is, jump to this site: [http://www.caelinux.com CAELinux.com]<br />
<br />
<!---------------------------------<br />
Design Notes<br />
-----------------------------------><br />
|-<br />
|&nbsp;<br />
|}<br />
<br />
<!-----------------------------<br />
News Styles<br />
-----------------------------------><br />
{| style="border-spacing:8px;margin:0px -8px"<br />
|class="MainPageBG" style="width: 50%; border: 1px solid #190707; background-color: #ffffff; vertical-align: top; -moz-border-radius:10px" | <br />
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background-color:#ffffff; -moz-border-radius:10px"<br />
<!---------------------------------<br />
¿Qué es un Wiki??<br />
-----------------------------------><br />
!<br />
<br />
== ''CAELinux Documentation'' ==<br />
<br />
|-<br />
| <br />
''Note: these categories are being reorganized... expect some changes soon''<br />
<br />
* '''[[Doc:Main]]''' This section contains all the tutorial / documents to learn how to use CAELinux in an efficient way <br />
<br />
* '''[[Doc:PCLinuxOS]]''' Contains the documents related to the Linux operating system (PCLinuxOS) used in older CAELinux releases<br />
<br />
* '''[[Doc:CAE]]''' Contains the documents related to the CAE softwares included in CAELinux<br />
<br />
* '''[[Doc:CAETutorials]]''' Contains a list of tutorials related to the CAE softwares included in CAELinux<br />
<br />
* '''[[Doc:FEM Learning]]''' Contains documents about The Finite Element Method<br />
<br />
* '''[[Doc:FAQ]]''' Frequently Asked Questions<br />
<br />
* '''[[Doc:Salome]]''' Salome and Salome-Meca documentation<br />
<br />
* '''[[Doc:Code-Aster]]''' Code-Aster documentation and tutorials<br />
<br />
* '''[[Doc:Code-Saturne]]''' Code-Saturne documentation and tutorials<br />
<br />
* '''[[Doc:OpenFOAM]]''' OpenFOAM documentation and tutorials<br />
<br />
* '''[[Doc:Calculix]]''' Calculix documentation and tutorials<br />
<br />
* '''[[Doc:ElmerFEM]]''' Elmer FEM documentation and tutorials<br />
<br />
* '''[[Doc:Impact]]''' Impact documentation and tutorials<br />
<br />
* '''[[Doc:Interop]]''' Is the section for discussing / sharing experience about CAE software interoperability / file formats conversion <br />
<br />
* '''[[Doc:Trans]]''' Is the main section for finalized translated documents & internationalization patches<br />
<br />
<br />
|}<br />
<!-------------------------------------<br />
Right sided column<br />
----------------------------------------><br />
|class="MainPageBG" style="border:1px solid #190707; background-color:#ffffff; vertical-align:top; -moz-border-radius:10px"| <!-- <div style="margin: 4px 4px 2px 4px; text-align: left;"> --><br />
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align: top; background-color:#ffffff; -moz-border-radius:10px;"<br />
|-<br />
<!---------------------------------<br />
¡Puede comenzar su propio Wiki '''gratis''' ahora!<br />
-----------------------------------><br />
!<br />
<br />
== ''Content'' ==<br />
<br />
|-<br />
| style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size: 100%" |<br />
<br />
== Sections of the Wiki ==<br />
<br />
* '''[[Doc:Main]]''' Main page of the Documentation section.<br />
<br />
* '''[[Proj:Main]]''' Main page of the Project section.<br />
<br />
* '''[[Contrib:Main]]''' Main page of the Contrib section.<br />
<br />
* '''[[Sandbox]]''' Please use this section to learn how to use the Wiki.<br />
<br />
* '''[[Proposed Interface]]''' There is some discussion on how to make the tutorials more assessable, here is one method<br />
<br />
== Development & Projects ==<br />
<br />
* '''[[Proj:Main]]''' This section provides a space for collaborative projects related to CAELinux, like internationalization efforts, file conversion utilities, utilities, etc... <br />
<br />
* '''[[Proj:CodeAsterIntl]]''' The main page for the translation of the documentation & software related to Code_Aster<br />
<br />
* '''[[Proj:UNVConvert]]''' The page of the UNV2X / X2UNV file conversion utilities<br />
<br />
* '''[[Proj:MedAba]]''' Mesh converter from Salomé MED format to Calculix / Abaqus INP format<br />
<br />
* '''[[Proj:CAELinuxWizards2011]]''' CAELinux 2011 GUI Wizards for Code-Aster, Code-Saturne and OpenFOAM SimpleFOAM <br />
|}<br />
|}<br />
<br />
{| width="100%" style="border-spacing:0px;" style="width: 100%; border:1px solid #190707; background-color:#ffffff; vertical-align:top; -moz-border-radius:10px"<br />
|-<br />
|<br />
<table><tr valign="top"><td width="50%"><br />
<div style="font-size: 105%; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold;"><br />
<br />
== ''Special pages'' ==<br />
<br />
* '''[[Special:Allpages]]''': The ideal view to see all the pages of this Wiki.<br />
<br />
* '''[[Special:Recentchanges]]''': View all the recent changes in the pages of this Wiki.<br />
<br />
* '''[[Special:Imagelist]]''': List of all the uploaded files.<br />
<br />
* '''[[Special:Listusers]]''': List of all the registered users / contributors of this Wiki.</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=File:6_Review_of_Turbulence_Models_in_Code_Saturne.pdf&diff=7397File:6 Review of Turbulence Models in Code Saturne.pdf2012-11-25T23:50:51Z<p>Wikiadmin: </p>
<hr />
<div></div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Sandbox&diff=7396Sandbox2012-11-25T23:47:28Z<p>Wikiadmin: </p>
<hr />
<div>== Welcome to the Sandbox !! ==<br />
Here is the ideal place to learn &amp; practice some Wiki editing!!<br />
<br />
So feel free to modify this page as you may want!!<br />
<br />
Remember: to edit / create pages on this Wiki, you need to be logged in.<br />
<br />
To create an account, use the log-in / create account link on the top right on this page.<br />
<br />
To create a new page, just create a link to a non-existing page like this:<br />
[[A new page]]<br />
<br />
For more information about Wiki and MediaWiki see these sites :<br />
<br />
[http://meta.wikimedia.org/wiki/MediaWiki_User's_Guide MediaWiki User's Guide]<br />
<br />
[http://www.mediawiki.org/ MediaWiki website]<br />
<br />
For more detailed informations about page editing: [[Help:Editing]]<br />
<br />
----<br />
<br />
== Now it's your turn... ==<br />
<br />
Ok, so let's go and start editing this page: click the "edit" tab on the top bar to swith to "editing mode".<br />
<br />
If you want to add some comments at the bottom of an existing page, use the Discussion tab.<br />
<br />
And if you want to be informed of changes on this page, use the Watch button.<br />
<br />
== This is a test section ==<br />
=== Subsection 1 ===<br />
<br />
Je ne parle pas Francais.<br />
Moi non plus mais par contre je parle l'allemand.... anonyme signé jml !<br />
<br />
<br />
== Insert MATH expression using Latex ==<br />
<br />
Here is a small example on how you can introduce Math expressions in this Wiki (note that there is a button in the toolbar to deal with this task).<br />
<br />
<tex>\Large f(x)=\int_{-\infty}^x e^{-t^2}dt</tex><br />
<br />
Here is the code that produces this equation:<br />
<nowiki><br />
<tex>\Large f(x)=\int_{-\infty}^x e^{-t^2}dt</tex><br />
</nowiki><br />
<br />
Another example: <br />
<br />
<tex>\bf{u}(\bf{x},t) = \bf{N}(\bf{x}) \bf{u}(t)</tex><br />
<br />
This is a test</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=File:CAELinux2011MigrateVMToEc2.txt&diff=7329File:CAELinux2011MigrateVMToEc2.txt2012-01-02T12:28:36Z<p>Wikiadmin: </p>
<hr />
<div></div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Contrib:JCugnoni&diff=7328Contrib:JCugnoni2012-01-02T12:19:54Z<p>Wikiadmin: /* Migrating an physical install of Ubuntu to Amazon EC2 */</p>
<hr />
<div>'''User Page: Joël Cugnoni'''<br />
<br />
<br />
Hello all,<br />
<br />
my name is Joël Cugnoni, main developer of CAELinux (alias admin on the forums). <br />
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.<br />
<br />
<br />
==Wiki "How to"==<br />
<br />
Here is a simple procedure to upload files on the wiki:<br />
<br />
1) create a <nowiki>[[Media:MyFileName]]</nowiki> link on your wiki page and save it<br />
<br />
2) click the link and upload the file<br />
<br />
===Example of uploaded file===<br />
<br />
[[Media:testUpload.zip]]<br />
<br />
<br />
==An example of Salome - Code-Saturne CFD study==<br />
<br />
Here is a small example of simulation of the flow around a back facing step modelled with Salome & Code-Saturne.<br />
<br />
(the geometry and mesh are in no way optimal... so are the results too !!)<br />
<br />
[[Media:FlowStep.tar.gz]]<br />
<br />
[[Media:FlowStepFlashVideo.zip]] <br />
<br />
Some addtitionnal informations:<br />
<br />
- this archive should be decompressed in /tmp to work properly without modifications<br />
- you will need Salome 3.2.9 and Code-Saturne 1.3.1<br />
<br />
- the Salome FlowStep.hdf contains the geometry, mesh and some post pro results<br />
<br />
- to edit the Code-Saturne input file, open CAEKonsole, move to '/ tmp / FLOWSTEP / CASE1 / DATA' and run '. / SalomeGUI'<br />
<br />
<br />
== Salome Tutorial: Extrusion Geometry and Extrusion Meshing ==<br />
<br />
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.<br />
<br />
[[Media:ExtrusionTutorial.zip]]<br />
<br />
<br />
<br />
<br />
== Creating a Video tutorial for CAELinux ==<br />
<br />
<br />
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<br />
<br />
- 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: [http://www.debugmode.com/wink/]. In CAELinux, Wink can be installed very simply from Synaptics.<br />
<br />
- Start Wink, create a New project => you see the video recording parameter window:<br />
<br />
- choose full screen recording at 4 frames / sec., remember the shortcut to start / stop recording (ALT PAUSE or SHIFT PAUSE)<br />
<br />
- 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. <br />
<br />
- when finished, save the Wink project, resize it to 66% or 75% , add comments and buttons if you wish. Save to another filename.<br />
<br />
- set the rendering options: reduce a bit the smoothing of the cursor's movement, select the output filename. <br />
<br />
- launch the final rendering of the flash video and enjoy your work!!<br />
<br />
<br />
== Thermal analysis in Salome-Meca ==<br />
<br />
Here are 3 examples of simple thermal analysis in Salome-Meca (input files, results + videos of the execution).<br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex1.tar.bz2 thermal ex1.tar.bz2] 16Mb, <br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex2.tar.bz2 thermal ex2.tar.bz2] 45Mb and <br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex3.tar.bz2 thermal ex3.tar.bz2] 42Mb<br />
<br />
<br />
== How to create Screencasts / Video tutorials ==<br />
<br />
Install gtk-recordmydesktop from Synaptic and setup your microphone level in the Sound Preferences. Then record using default options.<br />
<br />
Right click the icon to pause recording and left click to stop recording.<br />
<br />
After compression is finished, you get an high quality OGV video with sound. <br />
<br />
To upload it to Youtube, you need to convert it to AVI format: use this command.<br />
<br />
mencoder foo.ogv -o foo.avi -oac mp3lame -lameopts fast:preset=standard -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=4000<br />
<br />
Then upload the video to Youtube or any other service.<br />
<br />
Finally, you may want to have a lighter copy of the video to propose it for download:<br />
<br />
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.<br />
<br />
Don't forget to upload your video on this wiki as well!!<br />
<br />
<br />
== How to remaster / customize CAELinux 2010/2011 ==<br />
<br />
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.<br />
<br />
1. Install CAELinux of hard disk or in a virtual machine: install in a single root partition of at least 40Gb.<br />
<br />
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.<br />
<br />
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 <br />
<br />
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)...<br />
<br />
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.<br />
<br />
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.<br />
<br />
<br />
== Presentation of CAELinux and the world of Open source CAE software at Salome User Days 2010 ==<br />
<br />
Presentation (French) of the panorama of Open Source CAE software and CAELinux.<br />
<br />
see here : [http://www.slideshare.net/SalomePlatform/08-jus-20101123caelinuxpresentation http://www.slideshare.net/SalomePlatform/08-jus-20101123caelinuxpresentation]<br />
<br />
<br />
== Structural optimization using Salome and Aster: presentation at Salome User Days 2010 ==<br />
<br />
Presentation (French) of an automatic structural optimization using Scipy, Salome and Code-Aster, courtesy of NRCTech SA Lausanne.<br />
<br />
see here : [http://www.slideshare.net/SalomePlatform/09-jus-20101123optimisationsalomeaster http://www.slideshare.net/SalomePlatform/09-jus-20101123optimisationsalomeaster]<br />
<br />
== Running Code-Aster on a Cluster ==<br />
<br />
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.<br />
Code-Aster 11.0 is already compiled using openMPI libraries (and having several MPI libraries installed in the system may create configuration problems). <br />
<br />
see this How-To here:<br />
<br />
[[Doc:Code-Aster-Cluster-Config]]<br />
<br />
== Development Notes ==<br />
<br />
Here are some "raw" development notes that I kept for CAELinux 2010 and 2011. These documents were not meant to be public so don't expect them to be easy to read. However, most steps taken to build CAELinux master ISO image are described.<br />
<br />
[[Media:CAELinux2010Notes.txt]]<br />
<br />
[[Media:CAELinux2011Notes.txt]]<br />
<br />
== Migrating an physical install of Ubuntu to Amazon EC2 ==<br />
<br />
This is a step by step guide to migrate a local virtual machine to Amazon EC2. This procedure is probably not the most recommended, but it is the most direct that I have found. This document actually describes the process used to create the CAELinux2011 EC2 image...<br />
<br />
[[Media:CAELinux2011MigrateVMToEc2.txt]]</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Contrib:JCugnoni&diff=7327Contrib:JCugnoni2012-01-02T12:16:23Z<p>Wikiadmin: /* Development Notes */</p>
<hr />
<div>'''User Page: Joël Cugnoni'''<br />
<br />
<br />
Hello all,<br />
<br />
my name is Joël Cugnoni, main developer of CAELinux (alias admin on the forums). <br />
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.<br />
<br />
<br />
==Wiki "How to"==<br />
<br />
Here is a simple procedure to upload files on the wiki:<br />
<br />
1) create a <nowiki>[[Media:MyFileName]]</nowiki> link on your wiki page and save it<br />
<br />
2) click the link and upload the file<br />
<br />
===Example of uploaded file===<br />
<br />
[[Media:testUpload.zip]]<br />
<br />
<br />
==An example of Salome - Code-Saturne CFD study==<br />
<br />
Here is a small example of simulation of the flow around a back facing step modelled with Salome & Code-Saturne.<br />
<br />
(the geometry and mesh are in no way optimal... so are the results too !!)<br />
<br />
[[Media:FlowStep.tar.gz]]<br />
<br />
[[Media:FlowStepFlashVideo.zip]] <br />
<br />
Some addtitionnal informations:<br />
<br />
- this archive should be decompressed in /tmp to work properly without modifications<br />
- you will need Salome 3.2.9 and Code-Saturne 1.3.1<br />
<br />
- the Salome FlowStep.hdf contains the geometry, mesh and some post pro results<br />
<br />
- to edit the Code-Saturne input file, open CAEKonsole, move to '/ tmp / FLOWSTEP / CASE1 / DATA' and run '. / SalomeGUI'<br />
<br />
<br />
== Salome Tutorial: Extrusion Geometry and Extrusion Meshing ==<br />
<br />
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.<br />
<br />
[[Media:ExtrusionTutorial.zip]]<br />
<br />
<br />
<br />
<br />
== Creating a Video tutorial for CAELinux ==<br />
<br />
<br />
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<br />
<br />
- 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: [http://www.debugmode.com/wink/]. In CAELinux, Wink can be installed very simply from Synaptics.<br />
<br />
- Start Wink, create a New project => you see the video recording parameter window:<br />
<br />
- choose full screen recording at 4 frames / sec., remember the shortcut to start / stop recording (ALT PAUSE or SHIFT PAUSE)<br />
<br />
- 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. <br />
<br />
- when finished, save the Wink project, resize it to 66% or 75% , add comments and buttons if you wish. Save to another filename.<br />
<br />
- set the rendering options: reduce a bit the smoothing of the cursor's movement, select the output filename. <br />
<br />
- launch the final rendering of the flash video and enjoy your work!!<br />
<br />
<br />
== Thermal analysis in Salome-Meca ==<br />
<br />
Here are 3 examples of simple thermal analysis in Salome-Meca (input files, results + videos of the execution).<br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex1.tar.bz2 thermal ex1.tar.bz2] 16Mb, <br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex2.tar.bz2 thermal ex2.tar.bz2] 45Mb and <br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex3.tar.bz2 thermal ex3.tar.bz2] 42Mb<br />
<br />
<br />
== How to create Screencasts / Video tutorials ==<br />
<br />
Install gtk-recordmydesktop from Synaptic and setup your microphone level in the Sound Preferences. Then record using default options.<br />
<br />
Right click the icon to pause recording and left click to stop recording.<br />
<br />
After compression is finished, you get an high quality OGV video with sound. <br />
<br />
To upload it to Youtube, you need to convert it to AVI format: use this command.<br />
<br />
mencoder foo.ogv -o foo.avi -oac mp3lame -lameopts fast:preset=standard -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=4000<br />
<br />
Then upload the video to Youtube or any other service.<br />
<br />
Finally, you may want to have a lighter copy of the video to propose it for download:<br />
<br />
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.<br />
<br />
Don't forget to upload your video on this wiki as well!!<br />
<br />
<br />
== How to remaster / customize CAELinux 2010/2011 ==<br />
<br />
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.<br />
<br />
1. Install CAELinux of hard disk or in a virtual machine: install in a single root partition of at least 40Gb.<br />
<br />
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.<br />
<br />
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 <br />
<br />
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)...<br />
<br />
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.<br />
<br />
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.<br />
<br />
<br />
== Presentation of CAELinux and the world of Open source CAE software at Salome User Days 2010 ==<br />
<br />
Presentation (French) of the panorama of Open Source CAE software and CAELinux.<br />
<br />
see here : [http://www.slideshare.net/SalomePlatform/08-jus-20101123caelinuxpresentation http://www.slideshare.net/SalomePlatform/08-jus-20101123caelinuxpresentation]<br />
<br />
<br />
== Structural optimization using Salome and Aster: presentation at Salome User Days 2010 ==<br />
<br />
Presentation (French) of an automatic structural optimization using Scipy, Salome and Code-Aster, courtesy of NRCTech SA Lausanne.<br />
<br />
see here : [http://www.slideshare.net/SalomePlatform/09-jus-20101123optimisationsalomeaster http://www.slideshare.net/SalomePlatform/09-jus-20101123optimisationsalomeaster]<br />
<br />
== Running Code-Aster on a Cluster ==<br />
<br />
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.<br />
Code-Aster 11.0 is already compiled using openMPI libraries (and having several MPI libraries installed in the system may create configuration problems). <br />
<br />
see this How-To here:<br />
<br />
[[Doc:Code-Aster-Cluster-Config]]<br />
<br />
== Development Notes ==<br />
<br />
Here are some "raw" development notes that I kept for CAELinux 2010 and 2011. These documents were not meant to be public so don't expect them to be easy to read. However, most steps taken to build CAELinux master ISO image are described.<br />
<br />
[[Media:CAELinux2010Notes.txt]]<br />
<br />
[[Media:CAELinux2011Notes.txt]]<br />
<br />
== Migrating an physical install of Ubuntu to Amazon EC2 ==<br />
<br />
This is a step by step guide to migrate a local virtual machine to Amazon EC2. This procedure is probably not the most recommended, but it is the most direct that I have found.<br />
<br />
[[Contrib:JC_MigrateVMToEc2.txt]]</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=File:CAELinux2011Notes.txt&diff=7326File:CAELinux2011Notes.txt2012-01-02T12:08:43Z<p>Wikiadmin: </p>
<hr />
<div></div>Wikiadminhttps://caelinux.org/wiki/index.php?title=File:CAELinux2010Notes.txt&diff=7325File:CAELinux2010Notes.txt2012-01-02T12:08:23Z<p>Wikiadmin: </p>
<hr />
<div></div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Contrib:JCugnoni&diff=7324Contrib:JCugnoni2012-01-02T12:07:29Z<p>Wikiadmin: </p>
<hr />
<div>'''User Page: Joël Cugnoni'''<br />
<br />
<br />
Hello all,<br />
<br />
my name is Joël Cugnoni, main developer of CAELinux (alias admin on the forums). <br />
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.<br />
<br />
<br />
==Wiki "How to"==<br />
<br />
Here is a simple procedure to upload files on the wiki:<br />
<br />
1) create a <nowiki>[[Media:MyFileName]]</nowiki> link on your wiki page and save it<br />
<br />
2) click the link and upload the file<br />
<br />
===Example of uploaded file===<br />
<br />
[[Media:testUpload.zip]]<br />
<br />
<br />
==An example of Salome - Code-Saturne CFD study==<br />
<br />
Here is a small example of simulation of the flow around a back facing step modelled with Salome & Code-Saturne.<br />
<br />
(the geometry and mesh are in no way optimal... so are the results too !!)<br />
<br />
[[Media:FlowStep.tar.gz]]<br />
<br />
[[Media:FlowStepFlashVideo.zip]] <br />
<br />
Some addtitionnal informations:<br />
<br />
- this archive should be decompressed in /tmp to work properly without modifications<br />
- you will need Salome 3.2.9 and Code-Saturne 1.3.1<br />
<br />
- the Salome FlowStep.hdf contains the geometry, mesh and some post pro results<br />
<br />
- to edit the Code-Saturne input file, open CAEKonsole, move to '/ tmp / FLOWSTEP / CASE1 / DATA' and run '. / SalomeGUI'<br />
<br />
<br />
== Salome Tutorial: Extrusion Geometry and Extrusion Meshing ==<br />
<br />
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.<br />
<br />
[[Media:ExtrusionTutorial.zip]]<br />
<br />
<br />
<br />
<br />
== Creating a Video tutorial for CAELinux ==<br />
<br />
<br />
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<br />
<br />
- 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: [http://www.debugmode.com/wink/]. In CAELinux, Wink can be installed very simply from Synaptics.<br />
<br />
- Start Wink, create a New project => you see the video recording parameter window:<br />
<br />
- choose full screen recording at 4 frames / sec., remember the shortcut to start / stop recording (ALT PAUSE or SHIFT PAUSE)<br />
<br />
- 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. <br />
<br />
- when finished, save the Wink project, resize it to 66% or 75% , add comments and buttons if you wish. Save to another filename.<br />
<br />
- set the rendering options: reduce a bit the smoothing of the cursor's movement, select the output filename. <br />
<br />
- launch the final rendering of the flash video and enjoy your work!!<br />
<br />
<br />
== Thermal analysis in Salome-Meca ==<br />
<br />
Here are 3 examples of simple thermal analysis in Salome-Meca (input files, results + videos of the execution).<br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex1.tar.bz2 thermal ex1.tar.bz2] 16Mb, <br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex2.tar.bz2 thermal ex2.tar.bz2] 45Mb and <br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex3.tar.bz2 thermal ex3.tar.bz2] 42Mb<br />
<br />
<br />
== How to create Screencasts / Video tutorials ==<br />
<br />
Install gtk-recordmydesktop from Synaptic and setup your microphone level in the Sound Preferences. Then record using default options.<br />
<br />
Right click the icon to pause recording and left click to stop recording.<br />
<br />
After compression is finished, you get an high quality OGV video with sound. <br />
<br />
To upload it to Youtube, you need to convert it to AVI format: use this command.<br />
<br />
mencoder foo.ogv -o foo.avi -oac mp3lame -lameopts fast:preset=standard -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=4000<br />
<br />
Then upload the video to Youtube or any other service.<br />
<br />
Finally, you may want to have a lighter copy of the video to propose it for download:<br />
<br />
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.<br />
<br />
Don't forget to upload your video on this wiki as well!!<br />
<br />
<br />
== How to remaster / customize CAELinux 2010/2011 ==<br />
<br />
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.<br />
<br />
1. Install CAELinux of hard disk or in a virtual machine: install in a single root partition of at least 40Gb.<br />
<br />
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.<br />
<br />
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 <br />
<br />
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)...<br />
<br />
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.<br />
<br />
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.<br />
<br />
<br />
== Presentation of CAELinux and the world of Open source CAE software at Salome User Days 2010 ==<br />
<br />
Presentation (French) of the panorama of Open Source CAE software and CAELinux.<br />
<br />
see here : [http://www.slideshare.net/SalomePlatform/08-jus-20101123caelinuxpresentation http://www.slideshare.net/SalomePlatform/08-jus-20101123caelinuxpresentation]<br />
<br />
<br />
== Structural optimization using Salome and Aster: presentation at Salome User Days 2010 ==<br />
<br />
Presentation (French) of an automatic structural optimization using Scipy, Salome and Code-Aster, courtesy of NRCTech SA Lausanne.<br />
<br />
see here : [http://www.slideshare.net/SalomePlatform/09-jus-20101123optimisationsalomeaster http://www.slideshare.net/SalomePlatform/09-jus-20101123optimisationsalomeaster]<br />
<br />
== Running Code-Aster on a Cluster ==<br />
<br />
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.<br />
Code-Aster 11.0 is already compiled using openMPI libraries (and having several MPI libraries installed in the system may create configuration problems). <br />
<br />
see this How-To here:<br />
<br />
[[Doc:Code-Aster-Cluster-Config]]<br />
<br />
== Development Notes ==<br />
<br />
Here are some "raw" development notes that I kept for CAELinux 2010 and 2011. These documents were not meant to be public so don't expect them to be easy to read. However, most steps taken to build CAELinux master ISO image are described.<br />
<br />
[[Media:CAELinux2010Notes.txt]]<br />
<br />
[[Media:CAELinux2011Notes.txt]]</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Talk:Contrib:Claws/Code_Aster/10_x_cases&diff=7268Talk:Contrib:Claws/Code Aster/10 x cases2011-12-15T07:55:58Z<p>Wikiadmin: Removing all content from page</p>
<hr />
<div></div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Talk:Contrib:Claws/Code_Aster/10_x_cases&diff=7267Talk:Contrib:Claws/Code Aster/10 x cases2011-12-15T07:54:33Z<p>Wikiadmin: Reverted edits by KaySway (Talk); changed back to last version by Claws</p>
<hr />
<div>=== Education ===<br />
<br />
When you are in need of a custom term paper, [http://www.mightystudents.com/ writing essay], research paper , dissertation or any other writing services, just remember that we have the professional essay writing help you need at a price you can afford.</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=File:Soft-green.jpg&diff=7219File:Soft-green.jpg2011-11-15T12:52:34Z<p>Wikiadmin: test upload</p>
<hr />
<div>test upload</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=File:Tstimageupload2.jpg&diff=7218File:Tstimageupload2.jpg2011-11-13T23:32:44Z<p>Wikiadmin: tst2</p>
<hr />
<div>tst2</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Doc:FEM_Learning:Finite_Element_Method&diff=7217Doc:FEM Learning:Finite Element Method2011-11-13T23:11:18Z<p>Wikiadmin: </p>
<hr />
<div>[[Image:FEM example of 2D solution.png|thumb|right|2D FEM solution for a magnetostatic configuration (lines denote the direction of calculated [[flux density]] and colour - its magnitude)]]<br />
[[Image:Example of 2D mesh.png|thumb|right|2D mesh for the image above (mesh is denser around the object of interest)]]<br />
<br />
The finite element method (FEM) is used for finding approximate solutions of partial differential equations (PDE) as well as of integral equations such as the heat transport equation. The solution approach is based either on eliminating the differential equation completely (steady state problems), or rendering the PDE into an approximating system of ordinary differential equations, which are then solved using standard techniques such as finite differences, Runge-Kutta, etc.<br />
<br />
In solving partial differential equations, the primary challenge is to create an equation that approximates the equation to be studied, but is numerically stable, meaning that errors in the input data and intermediate calculations do not accumulate and cause the resulting output to be meaningless. There are many ways of doing this, all with advantages and disadvantages. The Finite Element Method is a good choice for solving partial differential equations over complex domains (like cars and oil pipelines), when the domain changes (as during a solid state reaction with a moving boundary), when the desired precision varies over the entire domain, or when the solution lacks smoothness. For instance, in simulating the weather pattern on Earth, it is more important to have accurate predictions over land than over the wide-open sea, a demand that is achievable using the finite element method.<br />
<br />
==History==<br />
<br />
The finite-element method originated from the needs for solving complex elasticity, structural analysis problems in civil engineering and aeronautical engineering. Its development can be traced back to the work by Alexander Hrennikoff (1941) and Richard Courant (1942). While the approaches used by these pioneers are dramatically different, they share one essential characteristic: mesh discretization of a continuous domain into a set of discrete sub-domains. Hrennikoff's work discretizes the domain by using a lattice analogy while Courant's approach divides the domain into finite triangular subregions for solution of second order elliptic partial differential equations (PDEs) that arise from the problem of torsion of a cylinder. Courant's contribution was evolutionary, drawing on a large body of earlier results for PDEs developed by Rayleigh, Ritz, and Galerkin. Development of the finite element method began in earnest in the middle to late 1950s for airframe and structural analysis and gathered momentum at the University of Stuttgart through the work of John Argyris and at Berkeley through the work of Ray W. Clough in the 1960s for use in civil engineering.[1] The method was provided with a rigorous mathematical foundation in 1973 with the publication of Strang and Fix's An Analysis of The Finite Element Method, and has since been generalized into a branch of applied mathematics for numerical modeling of physical systems in a wide variety of engineering disciplines, e.g., electromagnetism and fluid dynamics.<br />
<br />
The development of the finite element method in structural mechanics is often based on an energy principle, e.g., the virtual work principle or the minimum total potential energy principle, which provides a general, intuitive and physical basis that has a great appeal to structural engineers.<br />
<br />
==Technical discussion==<br />
<br />
We will illustrate the finite element method using two sample problems from which the general method can be extrapolated. It is assumed that the reader is familiar with calculus and linear algebra.<br />
<br />
P1 is a one-dimensional problem<br />
<br />
<tex>\Large \mbox{P1}:\begin{cases}u''=f \mbox{ in }(0,1),\\u(0)=u(1)=0,\end{cases} </tex><br />
<br />
where <math> f </math> is given, <math>u</math> is an unknown function of <math>x</math>, and <math>u''</math> is the second derivative of <math>u</math> with respect to <math>x</math>.<br />
<br />
The two-dimensional sample problem is the Dirichlet problem<br />
<br />
<tex>\Large \mbox{P2}:\begin{cases}<br />
u_{xx}+u_{yy}=f & \mbox{ in } \Omega, \\<br />
u=0 & \mbox{ on } \partial \Omega,<br />
\end{cases} </tex><br />
<br />
where <math>\Omega </math> is a connected open region in the <math>(x,y) </math> plane whose boundary <math>\partial \Omega</math> is "nice" (e.g., a smooth manifold or a polygon), and <math>u_{xx}</math> and <math>u_{yy} </math> denote the second derivatives with respect to <math>x</math> and <math>y</math>, respectively.<br />
<br />
The problem P1 can be solved "directly" by computing antiderivatives. However, this method of solving the boundary value problem works only when there is only one spatial dimension and does not generalize to higher-dimensional problems or to problems like <math>u + u'' = f</math>. For this reason, we will develop the finite element method for P1 and outline its generalization to P2.<br />
<br />
Our explanation will proceed in two steps, which mirror two essential steps one must take to solve a boundary value problem (BVP) using the FEM. In the first step, one rephrases the original BVP in its weak, or variational form. Little to no computation is usually required for this step, the transformation is done by hand on paper. The second step is the discretization, where the weak form is discretized in a finite dimensional space. After this second step, we have concrete formulae for a large but finite dimensional linear problem whose solution will approximately solve the original BVP. This finite dimensional problem is then implemented on a computer.<br />
<br />
==Variational formulation==<br />
<br />
The first step is to convert P1 and P2 into their variational equivalents. If <math>u</math> solves P1, then for any smooth function <math>v</math> that satisfies the displacement boundary conditions, i.e. <math>v = 0</math> at <math>x = 0</math> and <math>x = 1</math>,we have<br />
<br />
(1)<tex> \int_0^1 f(x)v(x) \, dx = \int_0^1 u''(x)v(x) \, dx</tex><br />
<br />
Conversely, if for a given <tex>u</tex>, (1) holds for every smooth function <tex>v(x)</tex> then one may show that this <tex>u</tex> will solve P1. (The proof is nontrivial and uses Sobolev spaces.)<br />
<br />
By using integration by parts on the right-hand-side of (1), we obtain<br />
<br />
(2)<tex>\begin{align} \int_0^1 f(x)v(x) \, dx <br />
& = &\int_0^1 u''(x)v(x) \, dx \\ <br />
& = &u'(x)v(x)|_0^1-\int_0^1 u'(x)v'(x) \, dx \\ <br />
& = &-\int_0^1 u'(x)v'(x) \, dx = -\phi (u,v). \end{align}<br />
</tex><br />
<br />
where we have used the assumption that <tex>v(0) = v(1) = 0</tex>.<br />
<br />
===A proof outline of existence and uniqueness of the solution===<br />
<br />
We can define <tex>H_0^1(0,1)</tex> to be the absolutely continuous functions of <tex>(0,1)</tex> that are <tex>0</tex> at <tex>x = 0</tex> and <tex>x = 1</tex>. Such function are "once differentiable" and it turns out that the symmetric bilinear map <tex>\!\,\phi</tex> then defines an inner product which turns <tex>H_0^1(0,1)</tex> into a Hilbert space (a detailed proof is nontrivial.) On the other hand, the left-hand-side <tex>\int_0^1 f(x)v(x)dx</tex> is also an inner product, this time on the Lp space <tex>L2(0,1)</tex>. An application of the Riesz representation theorem for Hilbert spaces shows that there is a unique <tex>u</tex> solving (2) and therefore P1.<br />
<br />
===The variational form of P2===<br />
<br />
If we integrate by parts using a form of Green's theorem, we see that if u solves P2, then for any v,<br />
<br />
<tex>\int_{\Omega} fv\,ds = -\int_{\Omega} \nabla u \cdot \nabla v \, ds = -\phi(u,v),</tex><br />
<br />
where <math>\nabla</math> denotes the gradient and <math>\cdot</math> denotes the dot product in the two-dimensional plane. Once more <math>\,\!\phi</math> can be turned into an inner product on a suitable space <math>H_0^1(\Omega)</math> of "once differentiable" functions of <math>\Omega</math> that are zero on <math>\partial \Omega</math>. We have also assumed that <math>v \in H_0^1(\Omega)</math>. The space <math>H_0^1(\Omega)</math> can no longer be defined in terms of absolutely continuous functions, but see Sobolev spaces. Existence and uniqueness of the solution can also be shown.<br />
<br />
==Discretization==<br />
[[Image:Finite element method 1D illustration1.png|right|thumb|A function in ''H''<sup>1</sup><sub>0</sub>, with zero values at the endpoints (blue), and a piecewise linear approximation (red).]]<br />
[[Image:Piecewise linear function2D.png|right|thumb|A piecewise linear function in two dimensions.]]<br />
[[Image:Finite element method 1D illustration2.png|right|thumb|Basis functions ''v''<sub>''k''</sub> (blue) and a linear combination of them, which is piecewise linear (red).]]<br />
<br />
The basic idea is to replace the infinite dimensional linear problem:<br />
<br />
<br />
Find <tex>u \in H_0^1</tex> such that<br />
<br />
<tex>\forall v \in H_0^1</tex> ; <tex>-\phi(u,v)=\int fv</tex><br />
<br />
<br />
with a finite dimensional version:<br />
<br />
<br />
(3)Find <tex>u \in V</tex> such that<br />
<br />
<tex>\forall <tex>v \in V</tex> ; <tex>-\phi(u,v)=\int fv</tex><br />
<br />
<br />
where V is a finite dimensional subspace of <tex>H_0^1</tex>. There are many possible choices for V (one possibility leads to the spectral method). However, for the finite element method we take V to be a space of piecewise linear functions.<br />
<br />
<br />
For problem P1, we take the interval (0,1), choose <tex>x_n</tex> values 0 = <tex>x0</tex> < <tex>x_1</tex> < ... < <tex>x_n</tex> < <tex>x_{n+1}</tex> = 1 and we define V by<br />
<br />
<br />
<tex> \begin{matrix} V=\{v:[0,1] \rightarrow \Bbb R\;: v\mbox{ is continuous, }v|_{[x_k,x_{k+1}]} \mbox{ is linear for }\\ k=0,...,n \mbox{, and } v(0)=v(1)=0 \} \end{matrix}</tex><br />
<br />
<br />
where we define <tex>x_0 = 0</tex> and <tex>x_{n + 1} = 1</tex>. Observe that functions in V are not differentiable according to the elementary definition of calculus. Indeed, if <tex>v \in V</tex> then the derivative is typically not defined at any <tex>x = x_k, k = 1,...,n</tex>. However, the derivative exists at every other value of x and one can use this derivative for the purpose of integration by parts.<br />
<br />
For problem P2, we need V to be a set of functions of Ω. In the figure on the right, we have illustrated a triangulation of a 15 sided polygonal region Ω in the plane (below), and a piecewise linear function (above, in color) of this polygon which is linear on each triangle of the triangulation; the space V would consist of functions that are linear on each triangle of the chosen triangulation.<br />
<br />
One often reads <tex>V_h</tex> instead of V in the literature. The reason is that one hopes that as the underlying triangular grid becomes finer and finer, the solution of the discrete problem (3) will in some sense converge to the solution of the original boundary value problem P2. The triangulation is then indexed by a real valued parameter h > 0 which one takes to be very small. This parameter will be related to the size of the largest or average triangle in the triangulation. As we refine the triangulation, the space of piecewise linear functions V must also change with h, hence the notation <tex>V_h</tex>. Since we do not perform such an analysis, we will not use this notation.<br />
<br />
===Choosing a basis===<br />
<br />
To complete the discretization, we must select a basis of V. In the one-dimensional case, for each control point <tex>x_k</tex> we will choose the piecewise linear function <tex>v_k \in V</tex> whose value is 1 at <tex>x_k</tex> and zero at every <tex>x_j,\;j \neq k</tex>, i.e.,<br />
<br />
<tex>\Large v_{k}(x)=\begin{cases} {x-x_{k-1} \over x_k\,-x_{k-1}} & \mbox{ if } x \in [x_{k-1},x_k], \\ {x_{k+1}\,-x \over x_{k+1}\,-x_k} & \mbox{ if } x \in [x_k,x_{k+1}], \\ 0 & \mbox{ otherwise},\end{cases}</tex><br />
<br />
for k = 1,...,n; this basis is a shifted and scaled tent function. For the two-dimensional case, we choose again one basis function <tex>v_k</tex> per vertex <tex>x_k</tex> of the triangulation of the planar region Ω. The function <tex>v_k</tex> is the unique function of V whose value is 1 at <tex>x_k</tex> and zero at every <tex>x_j,\;j \neq k</tex>.<br />
<br />
Depending on the author, the word "element" in "finite element method" refers either to the triangles in the domain, the piecewise linear basis function, or both. So for instance, an author interested in curved domains might replace the triangles with curved primitives, in which case he might describe his elements as being curvilinear. On the other hand, some authors replace "piecewise linear" by "piecewise quadratic" or even "piecewise polynomial". The author might then say "higher order element" instead of "higher degree polynomial." Finite element method is not restricted to triangles (or tetrahedra in 3-D, or higher order simplexes in multidimensional spaces), but can be defined on quadrilateral sub-domains (hexahedra, prisms, or pyramids in 3-D, and so on). Higher order shapes (curvilinear elements) can be defined with polynomial and even non-polynomial shapes (e.g. ellipse or circle).<br />
<br />
Methods that use higher degree piecewise polynomial basis functions are often called spectral element methods, especially if the degree of the polynomials increases as the triangulation size h goes to zero.<br />
<br />
More advanced implementations (adaptive finite element methods) utilize a method to assess the quality of the results (based on error estimation theory) and modify the mesh during the solution aiming to achieve approximate solution within some bounds from the 'exact' solution of the continuum problem. Mesh adaptivity may utilize various techniques, the most popular are:<br />
<br />
* moving nodes (r-adaptivity)<br />
* refining (and un-refining) elements (h-adaptivity)<br />
* changing order of base functions (p-adaptivity)<br />
* combinations of the above (e.g. hp-adaptivity)<br />
<br />
===Small support of the basis===<br />
[[Image:Finite element triangulation.png|right|thumb|Solving the two-dimensional problem u_{xx}+u_{yy}=-4 in the disk centered at the origin and radius 1, with zero boundary conditions.(a) The triangulation.]]<br />
[[Image:Finite element sparse matrix.png|right|thumb|(b) The sparse matrix ''L'' of the discretized linear system.]]<br />
[[Image:Finite element solution.png|right|thumb|(c) The computed solution,<br />
u(x, y)=1-x^2-y^2.]]<br />
<br />
The primary advantage of this choice of basis is that the inner products<br />
<br />
<tex>\langle v_j,v_k \rangle=\int_0^1 v_j v_k\,dx</tex><br />
<br />
and<br />
<br />
<tex>\phi(v_j,v_k)=\int_0^1 v_j' v_k'\,dx</tex><br />
<br />
will be zero for almost all j,k. In the one dimensional case, the support of <math>v_k</math> is the interval <tex>[x_{k-1},x_{k+1}]</tex>. Hence, the integrands of <math>\langle v_j,v_k \rangle</math> and <math>Φ(vj,vk)</math> are identically zero whenever <tex>| j - k | > 1</tex>.<br />
<br />
Similarly, in the planar case, if <math>x_j</math> and <math>x_k</math> do not share an edge of the triangulation, then the integrals<br />
<br />
<tex> \int_{\Omega} v_j v_k\,ds</tex><br />
<br />
and<br />
<br />
<tex>\int_{\Omega} \nabla v_j \cdot \nabla v_k\,ds</tex><br />
<br />
are both zero.<br />
<br />
===Matrix form of the problem===<br />
<br />
If we write <math>u(x)=\sum_{k=1}^n u_k v_k(x)</math> and <math>f(x)=\sum_{k=1}^n f_k v_k(x)</math> then problem (3) becomes<br />
<br />
(4)<tex>-\sum_{k=1}^n u_k \phi (v_k,v_j) = \sum_{k=1}^n f_k \int v_k v_j for j = 1,...,n.</tex><br />
<br />
If we denote by <math>\mathbf{u}</math> and <math>\mathbf{f}</math> the column vectors <math>(u_1,...,u_n)t</math> and <math>(f_1,...,f_n)t</math>, and if let <math>L = (L_{ij})</math> and <math>M = (M_{ij})</math> be matrices whose entries are <math>L_{ij} = φ(v_i,v_j)</math> and <math>M_{ij}=\int v_i v_j</math> then we may rephrase (4) as<br />
<br />
(5)<tex>-L \mathbf{u} = M \mathbf{f}.</tex><br />
<br />
As we have discussed before, most of the entries of <math>L</math> and <math>M</math> are zero because the basis functions <math>v_k</math> have small support. So we now have to solve a linear system in the unknown <math>\mathbf{u}</math> where most of the entries of the matrix <math>L</math>, which we need to invert, are zero.<br />
<br />
Such matrices are known as sparse matrices, and there are efficient solvers for such problems (much more efficient than actually inverting the matrix.) In addition, <math>L</math> is symmetric and positive definite, so a technique such as the conjugate gradient method is favored. For problems that are not too large, sparse LU decompositions and Cholesky decompositions still work well. For instance, Matlab's backslash operator (which is based on sparse LU) can be sufficient for meshes with a hundred thousand vertices.<br />
<br />
The matrix <math>L</math> is usually referred to as the stiffness matrix, while the matrix <math>M</math> is dubbed the mass matrix. Compare this to the simplistic case of a single spring governed by the equation is Kx = f, where K is the stiffness, x (or u) is the displacement and f is force.<br />
<br />
===General form of the finite element method===<br />
<br />
In general, the finite element method is characterized by the following process.<br />
<br />
* One chooses a grid for <math>\Omega</math>. In the preceding treatment, the grid consisted of triangles, but one can also use squares or curvilinear polygons.<br />
* Then, one chooses basis functions. In our discussion, we used piecewise linear basis functions, but it is also common to use piecewise polynomial basis functions.<br />
<br />
A separate consideration is the smoothness of the basis functions. For second order elliptic boundary value problems, piecewise polynomial basis function that are merely continuous suffice (i.e., the derivatives are discontinuous.) For higher order partial differential equations, one must use smoother basis functions. For instance, for a fourth order problem such as <math>u_{xxxx} + u_{yyyy} = f</math>, one may use piecewise quadratic basis functions that are C1.<br />
<br />
Typically, one has an algorithm for taking a given mesh and subdividing it. If the main method for increasing precision is to subdivide the mesh, one has an h-method (h is customarily the diameter of the largest element in the mesh.) In this manner, if one shows that the error with a grid h is bounded above by Chp, for some <math>C<\infty</math> and <math>p > 0</math>, then one has an order p method. Under certain hypotheses (for instance, if the domain is convex), a piecewise polynomial of order d method will have an error of order p = d + 1.<br />
<br />
If instead of making h smaller, one increases the degree of the polynomials used in the basis function, one has a p-method. If one simultaneously makes h smaller while making p larger, one has an hp-method. High order method (with large p) are called spectral element methods, which are not to be confused with spectral methods.<br />
<br />
For vector partial differential equations, the basis functions may take values in <math>\mathbb{R}^n</math>.<br />
<br />
==Comparison to the finite difference method==<br />
<br />
The finite difference method (FDM) is an alternative way for solving PDEs. The differences between FEM and FDM are:<br />
<br />
* The finite difference method is an approximation to the differential equation; the finite element method is an approximation to its solution.<br />
<br />
* The most attractive feature of the FEM is its ability to handle complex geometries (and boundaries) with relative ease. While FDM in its basic form is restricted to handle rectangular shapes and simple alterations thereof, the handling of geometries in FEM is theoretically straightforward.<br />
* The most attractive feature of finite differences is that it can be very easy to implement.<br />
<br />
* There are several ways one could consider the FDM a special case of the FEM approach. One might choose basis functions as either piecewise constant functions or Dirac delta functions. In both approaches, the approximations are defined on the entire domain, but need not be continuous. Alternatively, one might define the function on a discrete domain, with the result that the continuous differential operator no longer makes sense, however this approach is not FEM.<br />
<br />
* There are reasons to consider the mathematical foundation of the finite element approximation more sound, for instance, because the quality of the approximation between grid points is poor in FDM.<br />
<br />
* The quality of a FEM approximation is often higher than in the corresponding FDM approach, but this is extremely problem dependent and several examples to the contrary can be provided.<br />
<br />
Generally, FEM is the method of choice in all types of analysis in structural mechanics (i.e. solving for deformation and stresses in solid bodies or dynamics of structures) while computational fluid dynamics (CFD) tends to use FDM or other methods (e.g., finite volume method). CFD problems usually require discretization of the problem into a large number of cells/gridpoints (millions and more), therefore cost of the solution favors simpler, lower order approximation within each cell. This is especially true for 'external flow' problems, like air flow around the car or airplane, or weather simulation in a large area.<br />
<br />
There are many finite element software packages, some free and some proprietary.<br />
<br />
==References==<br />
* [http://www.edwilson.org/History/fe-history.pdf|Clough, Ray W.; Edward L. Wilson. Early Finite Element Research at Berkeley (PDF). Retrieved on 2007-10-25.]<br />
<br />
==Bibliography==<br />
* [http://en.wikipedia.org/wiki/Finite_element_method Wikipedia, the free encyclopdia]</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Doc:FEM_Learning:Finite_Element_Method&diff=7216Doc:FEM Learning:Finite Element Method2011-11-13T23:11:10Z<p>Wikiadmin: Removing all content from page</p>
<hr />
<div></div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Doc:FEM_Learning:Finite_Element_Method&diff=7215Doc:FEM Learning:Finite Element Method2011-11-13T23:10:16Z<p>Wikiadmin: </p>
<hr />
<div>[[Image:FEM example of 2D solution.png|thumb|right|2D FEM solution for a magnetostatic configuration (lines denote the direction of calculated [[flux density]] and colour - its magnitude)]]<br />
[[Image:Example of 2D mesh.png|thumb|right|2D mesh for the image above (mesh is denser around the object of interest)]]<br />
<br />
The finite element method (FEM) is used for finding approximate solutions of partial differential equations (PDE) as well as of integral equations such as the heat transport equation. The solution approach is based either on eliminating the differential equation completely (steady state problems), or rendering the PDE into an approximating system of ordinary differential equations, which are then solved using standard techniques such as finite differences, Runge-Kutta, etc.<br />
<br />
In solving partial differential equations, the primary challenge is to create an equation that approximates the equation to be studied, but is numerically stable, meaning that errors in the input data and intermediate calculations do not accumulate and cause the resulting output to be meaningless. There are many ways of doing this, all with advantages and disadvantages. The Finite Element Method is a good choice for solving partial differential equations over complex domains (like cars and oil pipelines), when the domain changes (as during a solid state reaction with a moving boundary), when the desired precision varies over the entire domain, or when the solution lacks smoothness. For instance, in simulating the weather pattern on Earth, it is more important to have accurate predictions over land than over the wide-open sea, a demand that is achievable using the finite element method.<br />
<br />
==History==<br />
<br />
The finite-element method originated from the needs for solving complex elasticity, structural analysis problems in civil engineering and aeronautical engineering. Its development can be traced back to the work by Alexander Hrennikoff (1941) and Richard Courant (1942). While the approaches used by these pioneers are dramatically different, they share one essential characteristic: mesh discretization of a continuous domain into a set of discrete sub-domains. Hrennikoff's work discretizes the domain by using a lattice analogy while Courant's approach divides the domain into finite triangular subregions for solution of second order elliptic partial differential equations (PDEs) that arise from the problem of torsion of a cylinder. Courant's contribution was evolutionary, drawing on a large body of earlier results for PDEs developed by Rayleigh, Ritz, and Galerkin. Development of the finite element method began in earnest in the middle to late 1950s for airframe and structural analysis and gathered momentum at the University of Stuttgart through the work of John Argyris and at Berkeley through the work of Ray W. Clough in the 1960s for use in civil engineering.[1] The method was provided with a rigorous mathematical foundation in 1973 with the publication of Strang and Fix's An Analysis of The Finite Element Method, and has since been generalized into a branch of applied mathematics for numerical modeling of physical systems in a wide variety of engineering disciplines, e.g., electromagnetism and fluid dynamics.<br />
<br />
The development of the finite element method in structural mechanics is often based on an energy principle, e.g., the virtual work principle or the minimum total potential energy principle, which provides a general, intuitive and physical basis that has a great appeal to structural engineers.<br />
<br />
==Technical discussion==<br />
<br />
We will illustrate the finite element method using two sample problems from which the general method can be extrapolated. It is assumed that the reader is familiar with calculus and linear algebra.<br />
<br />
P1 is a one-dimensional problem<br />
<br />
<tex>\Large \mbox{P1}:\begin{cases}u''=f \mbox{ in }(0,1),\\u(0)=u(1)=0,\end{cases} </tex><br />
<br />
where <math> f </math> is given, <math>u</math> is an unknown function of <math>x</math>, and <math>u''</math> is the second derivative of <math>u</math> with respect to <math>x</math>.<br />
<br />
The two-dimensional sample problem is the Dirichlet problem<br />
<br />
<tex>\Large \mbox{P2}:\begin{cases}<br />
u_{xx}+u_{yy}=f & \mbox{ in } \Omega, \\<br />
u=0 & \mbox{ on } \partial \Omega,<br />
\end{cases} </tex><br />
<br />
where <math>\Omega </math> is a connected open region in the <math>(x,y) </math> plane whose boundary <math>\partial \Omega</math> is "nice" (e.g., a smooth manifold or a polygon), and <math>u_{xx}</math> and <math>u_{yy} </math> denote the second derivatives with respect to <math>x</math> and <math>y</math>, respectively.<br />
<br />
The problem P1 can be solved "directly" by computing antiderivatives. However, this method of solving the boundary value problem works only when there is only one spatial dimension and does not generalize to higher-dimensional problems or to problems like <math>u + u'' = f</math>. For this reason, we will develop the finite element method for P1 and outline its generalization to P2.<br />
<br />
Our explanation will proceed in two steps, which mirror two essential steps one must take to solve a boundary value problem (BVP) using the FEM. In the first step, one rephrases the original BVP in its weak, or variational form. Little to no computation is usually required for this step, the transformation is done by hand on paper. The second step is the discretization, where the weak form is discretized in a finite dimensional space. After this second step, we have concrete formulae for a large but finite dimensional linear problem whose solution will approximately solve the original BVP. This finite dimensional problem is then implemented on a computer.<br />
<br />
==Variational formulation==<br />
<br />
The first step is to convert P1 and P2 into their variational equivalents. If <math>u</math> solves P1, then for any smooth function <math>v</math> that satisfies the displacement boundary conditions, i.e. <math>v = 0</math> at <math>x = 0</math> and <math>x = 1</math>,we have<br />
<br />
(1)<tex> \int_0^1 f(x)v(x) \, dx = \int_0^1 u''(x)v(x) \, dx</tex><br />
<br />
Conversely, if for a given <tex>u</tex>, (1) holds for every smooth function <tex>v(x)</tex> then one may show that this <tex>u</tex> will solve P1. (The proof is nontrivial and uses Sobolev spaces.)<br />
<br />
By using integration by parts on the right-hand-side of (1), we obtain<br />
<br />
(2)<tex>\begin{align} \int_0^1 f(x)v(x) \, dx <br />
& = &\int_0^1 u''(x)v(x) \, dx \\ <br />
& = &u'(x)v(x)|_0^1-\int_0^1 u'(x)v'(x) \, dx \\ <br />
& = &-\int_0^1 u'(x)v'(x) \, dx = -\phi (u,v). \end{align}<br />
</tex><br />
<br />
where we have used the assumption that <tex>v(0) = v(1) = 0</tex>.<br />
<br />
===A proof outline of existence and uniqueness of the solution===<br />
<br />
We can define <tex>H_0^1(0,1)</tex> to be the absolutely continuous functions of <tex>(0,1)</tex> that are <tex>0</tex> at <tex>x = 0</tex> and <tex>x = 1</tex>. Such function are "once differentiable" and it turns out that the symmetric bilinear map <tex>\!\,\phi</tex> then defines an inner product which turns <tex>H_0^1(0,1)</tex> into a Hilbert space (a detailed proof is nontrivial.) On the other hand, the left-hand-side <tex>\int_0^1 f(x)v(x)dx</tex> is also an inner product, this time on the Lp space <tex>L2(0,1)</tex>. An application of the Riesz representation theorem for Hilbert spaces shows that there is a unique <tex>u</tex> solving (2) and therefore P1.<br />
<br />
===The variational form of P2===<br />
<br />
If we integrate by parts using a form of Green's theorem, we see that if u solves P2, then for any v,<br />
<br />
<tex>\int_{\Omega} fv\,ds = -\int_{\Omega} \nabla u \cdot \nabla v \, ds = -\phi(u,v),</tex><br />
<br />
where <math>\nabla</math> denotes the gradient and <math>\cdot</math> denotes the dot product in the two-dimensional plane. Once more <math>\,\!\phi</math> can be turned into an inner product on a suitable space <math>H_0^1(\Omega)</math> of "once differentiable" functions of <math>\Omega</math> that are zero on <math>\partial \Omega</math>. We have also assumed that <math>v \in H_0^1(\Omega)</math>. The space <math>H_0^1(\Omega)</math> can no longer be defined in terms of absolutely continuous functions, but see Sobolev spaces. Existence and uniqueness of the solution can also be shown.<br />
<br />
==Discretization==<br />
[[Image:Finite element method 1D illustration1.png|right|thumb|A function in ''H''<sup>1</sup><sub>0</sub>, with zero values at the endpoints (blue), and a piecewise linear approximation (red).]]<br />
[[Image:Piecewise linear function2D.png|right|thumb|A piecewise linear function in two dimensions.]]<br />
[[Image:Finite element method 1D illustration2.png|right|thumb|Basis functions ''v''<sub>''k''</sub> (blue) and a linear combination of them, which is piecewise linear (red).]]<br />
<br />
The basic idea is to replace the infinite dimensional linear problem:<br />
<br />
<br />
Find <tex>u \in H_0^1</tex> such that<br />
<br />
<tex>\forall v \in H_0^1</tex> ; <tex>-\phi(u,v)=\int fv</tex><br />
<br />
<br />
with a finite dimensional version:<br />
<br />
<br />
(3)Find <tex>u \in V</tex> such that<br />
<br />
<tex>\forall <tex>v \in V</tex> ; <tex>-\phi(u,v)=\int fv</tex><br />
<br />
<br />
where V is a finite dimensional subspace of <tex>H_0^1</tex>. There are many possible choices for V (one possibility leads to the spectral method). However, for the finite element method we take V to be a space of piecewise linear functions.<br />
<br />
<br />
For problem P1, we take the interval (0,1), choose <tex>x_n</tex> values 0 = <tex>x0</tex> < <tex>x_1</tex> < ... < <tex>x_n</tex> < <tex>x_{n+1}</tex> = 1 and we define V by<br />
<br />
<br />
<tex> \begin{matrix} V=\{v:[0,1] \rightarrow \Bbb R\;: v\mbox{ is continuous, }v|_{[x_k,x_{k+1}]} \mbox{ is linear for }\\ k=0,...,n \mbox{, and } v(0)=v(1)=0 \} \end{matrix}</tex><br />
<br />
<br />
where we define <tex>x_0 = 0</tex> and <tex>x_{n + 1} = 1</tex>. Observe that functions in V are not differentiable according to the elementary definition of calculus. Indeed, if <tex>v \in V</tex> then the derivative is typically not defined at any <tex>x = x_k, k = 1,...,n</tex>. However, the derivative exists at every other value of x and one can use this derivative for the purpose of integration by parts.<br />
<br />
For problem P2, we need V to be a set of functions of Ω. In the figure on the right, we have illustrated a triangulation of a 15 sided polygonal region Ω in the plane (below), and a piecewise linear function (above, in color) of this polygon which is linear on each triangle of the triangulation; the space V would consist of functions that are linear on each triangle of the chosen triangulation.<br />
<br />
One often reads <tex>V_h</tex> instead of V in the literature. The reason is that one hopes that as the underlying triangular grid becomes finer and finer, the solution of the discrete problem (3) will in some sense converge to the solution of the original boundary value problem P2. The triangulation is then indexed by a real valued parameter h > 0 which one takes to be very small. This parameter will be related to the size of the largest or average triangle in the triangulation. As we refine the triangulation, the space of piecewise linear functions V must also change with h, hence the notation <tex>V_h</tex>. Since we do not perform such an analysis, we will not use this notation.<br />
<br />
===Choosing a basis===<br />
<br />
To complete the discretization, we must select a basis of V. In the one-dimensional case, for each control point <tex>x_k</tex> we will choose the piecewise linear function <tex>v_k \in V</tex> whose value is 1 at <tex>x_k</tex> and zero at every <tex>x_j,\;j \neq k</tex>, i.e.,<br />
<br />
<tex>\Large v_{k}(x)=\begin{cases} {x-x_{k-1} \over x_k\,-x_{k-1}} & \mbox{ if } x \in [x_{k-1},x_k], \\ {x_{k+1}\,-x \over x_{k+1}\,-x_k} & \mbox{ if } x \in [x_k,x_{k+1}], \\ 0 & \mbox{ otherwise},\end{cases}</tex><br />
<br />
for k = 1,...,n; this basis is a shifted and scaled tent function. For the two-dimensional case, we choose again one basis function <tex>v_k</tex> per vertex <tex>x_k</tex> of the triangulation of the planar region Ω. The function <tex>v_k</tex> is the unique function of V whose value is 1 at <tex>x_k</tex> and zero at every <tex>x_j,\;j \neq k</tex>.<br />
<br />
Depending on the author, the word "element" in "finite element method" refers either to the triangles in the domain, the piecewise linear basis function, or both. So for instance, an author interested in curved domains might replace the triangles with curved primitives, in which case he might describe his elements as being curvilinear. On the other hand, some authors replace "piecewise linear" by "piecewise quadratic" or even "piecewise polynomial". The author might then say "higher order element" instead of "higher degree polynomial." Finite element method is not restricted to triangles (or tetrahedra in 3-D, or higher order simplexes in multidimensional spaces), but can be defined on quadrilateral sub-domains (hexahedra, prisms, or pyramids in 3-D, and so on). Higher order shapes (curvilinear elements) can be defined with polynomial and even non-polynomial shapes (e.g. ellipse or circle).<br />
<br />
Methods that use higher degree piecewise polynomial basis functions are often called spectral element methods, especially if the degree of the polynomials increases as the triangulation size h goes to zero.<br />
<br />
More advanced implementations (adaptive finite element methods) utilize a method to assess the quality of the results (based on error estimation theory) and modify the mesh during the solution aiming to achieve approximate solution within some bounds from the 'exact' solution of the continuum problem. Mesh adaptivity may utilize various techniques, the most popular are:<br />
<br />
* moving nodes (r-adaptivity)<br />
* refining (and un-refining) elements (h-adaptivity)<br />
* changing order of base functions (p-adaptivity)<br />
* combinations of the above (e.g. hp-adaptivity)<br />
<br />
===Small support of the basis===<br />
[[Image:Finite element triangulation.png|right|thumb|Solving the two-dimensional problem u_{xx}+u_{yy}=-4 in the disk centered at the origin and radius 1, with zero boundary conditions.(a) The triangulation.]]<br />
[[Image:Finite element sparse matrix.png|right|thumb|(b) The sparse matrix ''L'' of the discretized linear system.]]<br />
[[Image:Finite element solution.png|right|thumb|(c) The computed solution,<br />
u(x, y)=1-x^2-y^2.]]<br />
<br />
The primary advantage of this choice of basis is that the inner products<br />
<br />
<tex>\langle v_j,v_k \rangle=\int_0^1 v_j v_k\,dx</tex><br />
<br />
and<br />
<br />
<tex>\phi(v_j,v_k)=\int_0^1 v_j' v_k'\,dx</tex><br />
<br />
will be zero for almost all j,k. In the one dimensional case, the support of <math>v_k</math> is the interval <tex>[x_{k-1},x_{k+1}]</tex>. Hence, the integrands of <math>\langle v_j,v_k \rangle</math> and <math>Φ(vj,vk)</math> are identically zero whenever <tex>| j - k | > 1</tex>.<br />
<br />
Similarly, in the planar case, if <math>x_j</math> and <math>x_k</math> do not share an edge of the triangulation, then the integrals<br />
<br />
<tex> \int_{\Omega} v_j v_k\,ds</tex><br />
<br />
and<br />
<br />
<tex>\int_{\Omega} \nabla v_j \cdot \nabla v_k\,ds</tex><br />
<br />
are both zero.<br />
<br />
===Matrix form of the problem===<br />
<br />
If we write <math>u(x)=\sum_{k=1}^n u_k v_k(x)</math> and <math>f(x)=\sum_{k=1}^n f_k v_k(x)</math> then problem (3) becomes<br />
<br />
(4)<tex>-\sum_{k=1}^n u_k \phi (v_k,v_j) = \sum_{k=1}^n f_k \int v_k v_j for j = 1,...,n.</tex><br />
<br />
If we denote by <math>\mathbf{u}</math> and <math>\mathbf{f}</math> the column vectors <math>(u_1,...,u_n)t</math> and <math>(f_1,...,f_n)t</math>, and if let <math>L = (L_{ij})</math> and <math>M = (M_{ij})</math> be matrices whose entries are <math>L_{ij} = φ(v_i,v_j)</math> and <math>M_{ij}=\int v_i v_j</math> then we may rephrase (4) as<br />
<br />
(5)<tex>-L \mathbf{u} = M \mathbf{f}.</tex><br />
<br />
As we have discussed before, most of the entries of <math>L</math> and <math>M</math> are zero because the basis functions <math>v_k</math> have small support. So we now have to solve a linear system in the unknown <math>\mathbf{u}</math> where most of the entries of the matrix <math>L</math>, which we need to invert, are zero.<br />
<br />
Such matrices are known as sparse matrices, and there are efficient solvers for such problems (much more efficient than actually inverting the matrix.) In addition, <math>L</math> is symmetric and positive definite, so a technique such as the conjugate gradient method is favored. For problems that are not too large, sparse LU decompositions and Cholesky decompositions still work well. For instance, Matlab's backslash operator (which is based on sparse LU) can be sufficient for meshes with a hundred thousand vertices.<br />
<br />
The matrix <math>L</math> is usually referred to as the stiffness matrix, while the matrix <math>M</math> is dubbed the mass matrix. Compare this to the simplistic case of a single spring governed by the equation is Kx = f, where K is the stiffness, x (or u) is the displacement and f is force.<br />
<br />
===General form of the finite element method===<br />
<br />
In general, the finite element method is characterized by the following process.<br />
<br />
* One chooses a grid for <math>\Omega</math>. In the preceding treatment, the grid consisted of triangles, but one can also use squares or curvilinear polygons.<br />
* Then, one chooses basis functions. In our discussion, we used piecewise linear basis functions, but it is also common to use piecewise polynomial basis functions.<br />
<br />
A separate consideration is the smoothness of the basis functions. For second order elliptic boundary value problems, piecewise polynomial basis function that are merely continuous suffice (i.e., the derivatives are discontinuous.) For higher order partial differential equations, one must use smoother basis functions. For instance, for a fourth order problem such as <math>u_{xxxx} + u_{yyyy} = f</math>, one may use piecewise quadratic basis functions that are C1.<br />
<br />
Typically, one has an algorithm for taking a given mesh and subdividing it. If the main method for increasing precision is to subdivide the mesh, one has an h-method (h is customarily the diameter of the largest element in the mesh.) In this manner, if one shows that the error with a grid h is bounded above by Chp, for some <math>C<\infty</math> and <math>p > 0</math>, then one has an order p method. Under certain hypotheses (for instance, if the domain is convex), a piecewise polynomial of order d method will have an error of order p = d + 1.<br />
<br />
If instead of making h smaller, one increases the degree of the polynomials used in the basis function, one has a p-method. If one simultaneously makes h smaller while making p larger, one has an hp-method. High order method (with large p) are called spectral element methods, which are not to be confused with spectral methods.<br />
<br />
For vector partial differential equations, the basis functions may take values in <math>\mathbb{R}^n</math>.<br />
<br />
==Comparison to the finite difference method==<br />
<br />
The finite difference method (FDM) is an alternative way for solving PDEs. The differences between FEM and FDM are:<br />
<br />
* The finite difference method is an approximation to the differential equation; the finite element method is an approximation to its solution.<br />
<br />
* The most attractive feature of the FEM is its ability to handle complex geometries (and boundaries) with relative ease. While FDM in its basic form is restricted to handle rectangular shapes and simple alterations thereof, the handling of geometries in FEM is theoretically straightforward.<br />
* The most attractive feature of finite differences is that it can be very easy to implement.<br />
<br />
* There are several ways one could consider the FDM a special case of the FEM approach. One might choose basis functions as either piecewise constant functions or Dirac delta functions. In both approaches, the approximations are defined on the entire domain, but need not be continuous. Alternatively, one might define the function on a discrete domain, with the result that the continuous differential operator no longer makes sense, however this approach is not FEM.<br />
<br />
* There are reasons to consider the mathematical foundation of the finite element approximation more sound, for instance, because the quality of the approximation between grid points is poor in FDM.<br />
<br />
* The quality of a FEM approximation is often higher than in the corresponding FDM approach, but this is extremely problem dependent and several examples to the contrary can be provided.<br />
<br />
Generally, FEM is the method of choice in all types of analysis in structural mechanics (i.e. solving for deformation and stresses in solid bodies or dynamics of structures) while computational fluid dynamics (CFD) tends to use FDM or other methods (e.g., finite volume method). CFD problems usually require discretization of the problem into a large number of cells/gridpoints (millions and more), therefore cost of the solution favors simpler, lower order approximation within each cell. This is especially true for 'external flow' problems, like air flow around the car or airplane, or weather simulation in a large area.<br />
<br />
There are many finite element software packages, some free and some proprietary.<br />
<br />
==References==<br />
* [http://www.edwilson.org/History/fe-history.pdf|Clough, Ray W.; Edward L. Wilson. Early Finite Element Research at Berkeley (PDF). Retrieved on 2007-10-25.]<br />
<br />
==Bibliography==<br />
* [http://en.wikipedia.org/wiki/Finite_element_method Wikipedia, the free encyclopdia]</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Doc:FEM_Learning:Finite_Element_Method&diff=7214Doc:FEM Learning:Finite Element Method2011-11-13T23:08:42Z<p>Wikiadmin: </p>
<hr />
<div>[[Image:FEM example of 2D solution.png|thumb|right|2D FEM solution for a magnetostatic configuration (lines denote the direction of calculated [[flux density]] and colour - its magnitude)]]<br />
[[Image:Example of 2D mesh.png|thumb|right|2D mesh for the image above (mesh is denser around the object of interest)]]<br />
<br />
The finite element method (FEM) is used for finding approximate solutions of partial differential equations (PDE) as well as of integral equations such as the heat transport equation. The solution approach is based either on eliminating the differential equation completely (steady state problems), or rendering the PDE into an approximating system of ordinary differential equations, which are then solved using standard techniques such as finite differences, Runge-Kutta, etc.<br />
<br />
In solving partial differential equations, the primary challenge is to create an equation that approximates the equation to be studied, but is numerically stable, meaning that errors in the input data and intermediate calculations do not accumulate and cause the resulting output to be meaningless. There are many ways of doing this, all with advantages and disadvantages. The Finite Element Method is a good choice for solving partial differential equations over complex domains (like cars and oil pipelines), when the domain changes (as during a solid state reaction with a moving boundary), when the desired precision varies over the entire domain, or when the solution lacks smoothness. For instance, in simulating the weather pattern on Earth, it is more important to have accurate predictions over land than over the wide-open sea, a demand that is achievable using the finite element method.<br />
<br />
==History==<br />
<br />
The finite-element method originated from the needs for solving complex elasticity, structural analysis problems in civil engineering and aeronautical engineering. Its development can be traced back to the work by Alexander Hrennikoff (1941) and Richard Courant (1942). While the approaches used by these pioneers are dramatically different, they share one essential characteristic: mesh discretization of a continuous domain into a set of discrete sub-domains. Hrennikoff's work discretizes the domain by using a lattice analogy while Courant's approach divides the domain into finite triangular subregions for solution of second order elliptic partial differential equations (PDEs) that arise from the problem of torsion of a cylinder. Courant's contribution was evolutionary, drawing on a large body of earlier results for PDEs developed by Rayleigh, Ritz, and Galerkin. Development of the finite element method began in earnest in the middle to late 1950s for airframe and structural analysis and gathered momentum at the University of Stuttgart through the work of John Argyris and at Berkeley through the work of Ray W. Clough in the 1960s for use in civil engineering.[1] The method was provided with a rigorous mathematical foundation in 1973 with the publication of Strang and Fix's An Analysis of The Finite Element Method, and has since been generalized into a branch of applied mathematics for numerical modeling of physical systems in a wide variety of engineering disciplines, e.g., electromagnetism and fluid dynamics.<br />
<br />
The development of the finite element method in structural mechanics is often based on an energy principle, e.g., the virtual work principle or the minimum total potential energy principle, which provides a general, intuitive and physical basis that has a great appeal to structural engineers.<br />
<br />
==Technical discussion==<br />
<br />
We will illustrate the finite element method using two sample problems from which the general method can be extrapolated. It is assumed that the reader is familiar with calculus and linear algebra.<br />
<br />
P1 is a one-dimensional problem<br />
<br />
<tex>\Large \mbox{P1}:\begin{cases}u''=f \mbox{ in }(0,1),\\u(0)=u(1)=0,\end{cases}</tex><br />
<br />
where <math> f </math> is given, <math>u</math> is an unknown function of <math>x</math>, and <math>u''</math> is the second derivative of <math>u</math> with respect to <math>x</math>.<br />
<br />
The two-dimensional sample problem is the Dirichlet problem<br />
<br />
<tex>\Large \mbox{P2}:\begin{cases}<br />
u_{xx}+u_{yy}=f & \mbox{ in } \Omega, \\<br />
u=0 & \mbox{ on } \partial \Omega,<br />
\end{cases}</tex><br />
<br />
where <math>\Omega</math> is a connected open region in the <math>(x,y)</math> plane whose boundary <math>\partial \Omega</math> is "nice" (e.g., a smooth manifold or a polygon), and <math>u_{xx}</math> and <math>u_{yy}</math> denote the second derivatives with respect to <math>x</math> and <math>y</math>, respectively.<br />
<br />
The problem P1 can be solved "directly" by computing antiderivatives. However, this method of solving the boundary value problem works only when there is only one spatial dimension and does not generalize to higher-dimensional problems or to problems like <math>u + u'' = f</math>. For this reason, we will develop the finite element method for P1 and outline its generalization to P2.<br />
<br />
Our explanation will proceed in two steps, which mirror two essential steps one must take to solve a boundary value problem (BVP) using the FEM. In the first step, one rephrases the original BVP in its weak, or variational form. Little to no computation is usually required for this step, the transformation is done by hand on paper. The second step is the discretization, where the weak form is discretized in a finite dimensional space. After this second step, we have concrete formulae for a large but finite dimensional linear problem whose solution will approximately solve the original BVP. This finite dimensional problem is then implemented on a computer.<br />
<br />
==Variational formulation==<br />
<br />
The first step is to convert P1 and P2 into their variational equivalents. If <math>u</math> solves P1, then for any smooth function <math>v</math> that satisfies the displacement boundary conditions, i.e. <math>v = 0</math> at <math>x = 0</math> and <math>x = 1</math>,we have<br />
<br />
(1)<tex> \int_0^1 f(x)v(x) \, dx = \int_0^1 u''(x)v(x) \, dx</tex><br />
<br />
Conversely, if for a given <tex>u</tex>, (1) holds for every smooth function <tex>v(x)</tex> then one may show that this <tex>u</tex> will solve P1. (The proof is nontrivial and uses Sobolev spaces.)<br />
<br />
By using integration by parts on the right-hand-side of (1), we obtain<br />
<br />
(2)<tex>\begin{align} \int_0^1 f(x)v(x) \, dx <br />
& = &\int_0^1 u''(x)v(x) \, dx \\ <br />
& = &u'(x)v(x)|_0^1-\int_0^1 u'(x)v'(x) \, dx \\ <br />
& = &-\int_0^1 u'(x)v'(x) \, dx = -\phi (u,v). \end{align}<br />
</tex><br />
<br />
where we have used the assumption that <tex>v(0) = v(1) = 0</tex>.<br />
<br />
===A proof outline of existence and uniqueness of the solution===<br />
<br />
We can define <tex>H_0^1(0,1)</tex> to be the absolutely continuous functions of <tex>(0,1)</tex> that are <tex>0</tex> at <tex>x = 0</tex> and <tex>x = 1</tex>. Such function are "once differentiable" and it turns out that the symmetric bilinear map <tex>\!\,\phi</tex> then defines an inner product which turns <tex>H_0^1(0,1)</tex> into a Hilbert space (a detailed proof is nontrivial.) On the other hand, the left-hand-side <tex>\int_0^1 f(x)v(x)dx</tex> is also an inner product, this time on the Lp space <tex>L2(0,1)</tex>. An application of the Riesz representation theorem for Hilbert spaces shows that there is a unique <tex>u</tex> solving (2) and therefore P1.<br />
<br />
===The variational form of P2===<br />
<br />
If we integrate by parts using a form of Green's theorem, we see that if u solves P2, then for any v,<br />
<br />
<tex>\int_{\Omega} fv\,ds = -\int_{\Omega} \nabla u \cdot \nabla v \, ds = -\phi(u,v),</tex><br />
<br />
where <math>\nabla</math> denotes the gradient and <math>\cdot</math> denotes the dot product in the two-dimensional plane. Once more <math>\,\!\phi</math> can be turned into an inner product on a suitable space <math>H_0^1(\Omega)</math> of "once differentiable" functions of <math>\Omega</math> that are zero on <math>\partial \Omega</math>. We have also assumed that <math>v \in H_0^1(\Omega)</math>. The space <math>H_0^1(\Omega)</math> can no longer be defined in terms of absolutely continuous functions, but see Sobolev spaces. Existence and uniqueness of the solution can also be shown.<br />
<br />
==Discretization==<br />
[[Image:Finite element method 1D illustration1.png|right|thumb|A function in ''H''<sup>1</sup><sub>0</sub>, with zero values at the endpoints (blue), and a piecewise linear approximation (red).]]<br />
[[Image:Piecewise linear function2D.png|right|thumb|A piecewise linear function in two dimensions.]]<br />
[[Image:Finite element method 1D illustration2.png|right|thumb|Basis functions ''v''<sub>''k''</sub> (blue) and a linear combination of them, which is piecewise linear (red).]]<br />
<br />
The basic idea is to replace the infinite dimensional linear problem:<br />
<br />
<br />
Find <tex>u \in H_0^1</tex> such that<br />
<br />
<tex>\forall v \in H_0^1</tex> ; <tex>-\phi(u,v)=\int fv</tex><br />
<br />
<br />
with a finite dimensional version:<br />
<br />
<br />
(3)Find <tex>u \in V</tex> such that<br />
<br />
<tex>\forall <tex>v \in V</tex> ; <tex>-\phi(u,v)=\int fv</tex><br />
<br />
<br />
where V is a finite dimensional subspace of <tex>H_0^1</tex>. There are many possible choices for V (one possibility leads to the spectral method). However, for the finite element method we take V to be a space of piecewise linear functions.<br />
<br />
<br />
For problem P1, we take the interval (0,1), choose <tex>x_n</tex> values 0 = <tex>x0</tex> < <tex>x_1</tex> < ... < <tex>x_n</tex> < <tex>x_{n+1}</tex> = 1 and we define V by<br />
<br />
<br />
<tex> \begin{matrix} V=\{v:[0,1] \rightarrow \Bbb R\;: v\mbox{ is continuous, }v|_{[x_k,x_{k+1}]} \mbox{ is linear for }\\ k=0,...,n \mbox{, and } v(0)=v(1)=0 \} \end{matrix}</tex><br />
<br />
<br />
where we define <tex>x_0 = 0</tex> and <tex>x_{n + 1} = 1</tex>. Observe that functions in V are not differentiable according to the elementary definition of calculus. Indeed, if <tex>v \in V</tex> then the derivative is typically not defined at any <tex>x = x_k, k = 1,...,n</tex>. However, the derivative exists at every other value of x and one can use this derivative for the purpose of integration by parts.<br />
<br />
For problem P2, we need V to be a set of functions of Ω. In the figure on the right, we have illustrated a triangulation of a 15 sided polygonal region Ω in the plane (below), and a piecewise linear function (above, in color) of this polygon which is linear on each triangle of the triangulation; the space V would consist of functions that are linear on each triangle of the chosen triangulation.<br />
<br />
One often reads <tex>V_h</tex> instead of V in the literature. The reason is that one hopes that as the underlying triangular grid becomes finer and finer, the solution of the discrete problem (3) will in some sense converge to the solution of the original boundary value problem P2. The triangulation is then indexed by a real valued parameter h > 0 which one takes to be very small. This parameter will be related to the size of the largest or average triangle in the triangulation. As we refine the triangulation, the space of piecewise linear functions V must also change with h, hence the notation <tex>V_h</tex>. Since we do not perform such an analysis, we will not use this notation.<br />
<br />
===Choosing a basis===<br />
<br />
To complete the discretization, we must select a basis of V. In the one-dimensional case, for each control point <tex>x_k</tex> we will choose the piecewise linear function <tex>v_k \in V</tex> whose value is 1 at <tex>x_k</tex> and zero at every <tex>x_j,\;j \neq k</tex>, i.e.,<br />
<br />
<tex>\Large v_{k}(x)=\begin{cases} {x-x_{k-1} \over x_k\,-x_{k-1}} & \mbox{ if } x \in [x_{k-1},x_k], \\ {x_{k+1}\,-x \over x_{k+1}\,-x_k} & \mbox{ if } x \in [x_k,x_{k+1}], \\ 0 & \mbox{ otherwise},\end{cases}</tex><br />
<br />
for k = 1,...,n; this basis is a shifted and scaled tent function. For the two-dimensional case, we choose again one basis function <tex>v_k</tex> per vertex <tex>x_k</tex> of the triangulation of the planar region Ω. The function <tex>v_k</tex> is the unique function of V whose value is 1 at <tex>x_k</tex> and zero at every <tex>x_j,\;j \neq k</tex>.<br />
<br />
Depending on the author, the word "element" in "finite element method" refers either to the triangles in the domain, the piecewise linear basis function, or both. So for instance, an author interested in curved domains might replace the triangles with curved primitives, in which case he might describe his elements as being curvilinear. On the other hand, some authors replace "piecewise linear" by "piecewise quadratic" or even "piecewise polynomial". The author might then say "higher order element" instead of "higher degree polynomial." Finite element method is not restricted to triangles (or tetrahedra in 3-D, or higher order simplexes in multidimensional spaces), but can be defined on quadrilateral sub-domains (hexahedra, prisms, or pyramids in 3-D, and so on). Higher order shapes (curvilinear elements) can be defined with polynomial and even non-polynomial shapes (e.g. ellipse or circle).<br />
<br />
Methods that use higher degree piecewise polynomial basis functions are often called spectral element methods, especially if the degree of the polynomials increases as the triangulation size h goes to zero.<br />
<br />
More advanced implementations (adaptive finite element methods) utilize a method to assess the quality of the results (based on error estimation theory) and modify the mesh during the solution aiming to achieve approximate solution within some bounds from the 'exact' solution of the continuum problem. Mesh adaptivity may utilize various techniques, the most popular are:<br />
<br />
* moving nodes (r-adaptivity)<br />
* refining (and un-refining) elements (h-adaptivity)<br />
* changing order of base functions (p-adaptivity)<br />
* combinations of the above (e.g. hp-adaptivity)<br />
<br />
===Small support of the basis===<br />
[[Image:Finite element triangulation.png|right|thumb|Solving the two-dimensional problem u_{xx}+u_{yy}=-4 in the disk centered at the origin and radius 1, with zero boundary conditions.(a) The triangulation.]]<br />
[[Image:Finite element sparse matrix.png|right|thumb|(b) The sparse matrix ''L'' of the discretized linear system.]]<br />
[[Image:Finite element solution.png|right|thumb|(c) The computed solution,<br />
u(x, y)=1-x^2-y^2.]]<br />
<br />
The primary advantage of this choice of basis is that the inner products<br />
<br />
<tex>\langle v_j,v_k \rangle=\int_0^1 v_j v_k\,dx</tex><br />
<br />
and<br />
<br />
<tex>\phi(v_j,v_k)=\int_0^1 v_j' v_k'\,dx</tex><br />
<br />
will be zero for almost all j,k. In the one dimensional case, the support of <math>v_k</math> is the interval <tex>[x_{k-1},x_{k+1}]</tex>. Hence, the integrands of <math>\langle v_j,v_k \rangle</math> and <math>Φ(vj,vk)</math> are identically zero whenever <tex>| j - k | > 1</tex>.<br />
<br />
Similarly, in the planar case, if <math>x_j</math> and <math>x_k</math> do not share an edge of the triangulation, then the integrals<br />
<br />
<tex> \int_{\Omega} v_j v_k\,ds</tex><br />
<br />
and<br />
<br />
<tex>\int_{\Omega} \nabla v_j \cdot \nabla v_k\,ds</tex><br />
<br />
are both zero.<br />
<br />
===Matrix form of the problem===<br />
<br />
If we write <math>u(x)=\sum_{k=1}^n u_k v_k(x)</math> and <math>f(x)=\sum_{k=1}^n f_k v_k(x)</math> then problem (3) becomes<br />
<br />
(4)<tex>-\sum_{k=1}^n u_k \phi (v_k,v_j) = \sum_{k=1}^n f_k \int v_k v_j for j = 1,...,n.</tex><br />
<br />
If we denote by <math>\mathbf{u}</math> and <math>\mathbf{f}</math> the column vectors <math>(u_1,...,u_n)t</math> and <math>(f_1,...,f_n)t</math>, and if let <math>L = (L_{ij})</math> and <math>M = (M_{ij})</math> be matrices whose entries are <math>L_{ij} = φ(v_i,v_j)</math> and <math>M_{ij}=\int v_i v_j</math> then we may rephrase (4) as<br />
<br />
(5)<tex>-L \mathbf{u} = M \mathbf{f}.</tex><br />
<br />
As we have discussed before, most of the entries of <math>L</math> and <math>M</math> are zero because the basis functions <math>v_k</math> have small support. So we now have to solve a linear system in the unknown <math>\mathbf{u}</math> where most of the entries of the matrix <math>L</math>, which we need to invert, are zero.<br />
<br />
Such matrices are known as sparse matrices, and there are efficient solvers for such problems (much more efficient than actually inverting the matrix.) In addition, <math>L</math> is symmetric and positive definite, so a technique such as the conjugate gradient method is favored. For problems that are not too large, sparse LU decompositions and Cholesky decompositions still work well. For instance, Matlab's backslash operator (which is based on sparse LU) can be sufficient for meshes with a hundred thousand vertices.<br />
<br />
The matrix <math>L</math> is usually referred to as the stiffness matrix, while the matrix <math>M</math> is dubbed the mass matrix. Compare this to the simplistic case of a single spring governed by the equation is Kx = f, where K is the stiffness, x (or u) is the displacement and f is force.<br />
<br />
===General form of the finite element method===<br />
<br />
In general, the finite element method is characterized by the following process.<br />
<br />
* One chooses a grid for <math>\Omega</math>. In the preceding treatment, the grid consisted of triangles, but one can also use squares or curvilinear polygons.<br />
* Then, one chooses basis functions. In our discussion, we used piecewise linear basis functions, but it is also common to use piecewise polynomial basis functions.<br />
<br />
A separate consideration is the smoothness of the basis functions. For second order elliptic boundary value problems, piecewise polynomial basis function that are merely continuous suffice (i.e., the derivatives are discontinuous.) For higher order partial differential equations, one must use smoother basis functions. For instance, for a fourth order problem such as <math>u_{xxxx} + u_{yyyy} = f</math>, one may use piecewise quadratic basis functions that are C1.<br />
<br />
Typically, one has an algorithm for taking a given mesh and subdividing it. If the main method for increasing precision is to subdivide the mesh, one has an h-method (h is customarily the diameter of the largest element in the mesh.) In this manner, if one shows that the error with a grid h is bounded above by Chp, for some <math>C<\infty</math> and <math>p > 0</math>, then one has an order p method. Under certain hypotheses (for instance, if the domain is convex), a piecewise polynomial of order d method will have an error of order p = d + 1.<br />
<br />
If instead of making h smaller, one increases the degree of the polynomials used in the basis function, one has a p-method. If one simultaneously makes h smaller while making p larger, one has an hp-method. High order method (with large p) are called spectral element methods, which are not to be confused with spectral methods.<br />
<br />
For vector partial differential equations, the basis functions may take values in <math>\mathbb{R}^n</math>.<br />
<br />
==Comparison to the finite difference method==<br />
<br />
The finite difference method (FDM) is an alternative way for solving PDEs. The differences between FEM and FDM are:<br />
<br />
* The finite difference method is an approximation to the differential equation; the finite element method is an approximation to its solution.<br />
<br />
* The most attractive feature of the FEM is its ability to handle complex geometries (and boundaries) with relative ease. While FDM in its basic form is restricted to handle rectangular shapes and simple alterations thereof, the handling of geometries in FEM is theoretically straightforward.<br />
* The most attractive feature of finite differences is that it can be very easy to implement.<br />
<br />
* There are several ways one could consider the FDM a special case of the FEM approach. One might choose basis functions as either piecewise constant functions or Dirac delta functions. In both approaches, the approximations are defined on the entire domain, but need not be continuous. Alternatively, one might define the function on a discrete domain, with the result that the continuous differential operator no longer makes sense, however this approach is not FEM.<br />
<br />
* There are reasons to consider the mathematical foundation of the finite element approximation more sound, for instance, because the quality of the approximation between grid points is poor in FDM.<br />
<br />
* The quality of a FEM approximation is often higher than in the corresponding FDM approach, but this is extremely problem dependent and several examples to the contrary can be provided.<br />
<br />
Generally, FEM is the method of choice in all types of analysis in structural mechanics (i.e. solving for deformation and stresses in solid bodies or dynamics of structures) while computational fluid dynamics (CFD) tends to use FDM or other methods (e.g., finite volume method). CFD problems usually require discretization of the problem into a large number of cells/gridpoints (millions and more), therefore cost of the solution favors simpler, lower order approximation within each cell. This is especially true for 'external flow' problems, like air flow around the car or airplane, or weather simulation in a large area.<br />
<br />
There are many finite element software packages, some free and some proprietary.<br />
<br />
==References==<br />
* [http://www.edwilson.org/History/fe-history.pdf|Clough, Ray W.; Edward L. Wilson. Early Finite Element Research at Berkeley (PDF). Retrieved on 2007-10-25.]<br />
<br />
==Bibliography==<br />
* [http://en.wikipedia.org/wiki/Finite_element_method Wikipedia, the free encyclopdia]</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Doc:Code-Aster-Cluster-Config&diff=7185Doc:Code-Aster-Cluster-Config2011-11-09T17:01:51Z<p>Wikiadmin: New page: 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...</p>
<hr />
<div>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.<br />
Code-Aster 11.0 is already compiled using openMPI libraries (and having several MPI libraries installed in the system may create configuration problems). <br />
<br />
Personnally, this is the way I proceed, starting from 2 PC with a fresh install of CAELinux 2011 (even if using LiveDVD/liveUSB mode)<br />
so here is a small "How To" for you: <br />
<br />
1) setup network to have interconnection: I use Network Manager to setup static IP adresses.<br />
set hostnames:<br />
<br />
<br />
on machine 1: <br />
<br />
sudo hostname caepc1<br />
<br />
on machine 2: <br />
<br />
sudo hostname caepc2<br />
<br />
<br />
2) edit /etc/hosts of both machines to define host/ip relationships<br />
<br />
<br />
sudo nano /etc/hosts<br />
<br />
<br />
add such lines after 127.0.1.1 xxxx :<br />
<br />
<br />
192.168.0.1 caepc1<br />
<br />
192.168.0.2 caepc2<br />
<br />
<br />
3) edit your configuration settings directly in /opt/aster110/etc/codeaster/aster-mpihosts<br />
<br />
for example (use OpenMPI syntax): <br />
<br />
<br />
caepc1 slots=1<br />
<br />
caepc2 slots=1<br />
<br />
<br />
4) optional: if you have more than 8Gb Ram per node or more than 16 cores in the cluster, edit also /opt/aster110/etc/codeaster/asrun to tune "interactif_memmax" = max memory per node and "interactif_mpi_nbpmax" = number of cores in the cluster<br />
<br />
<br />
(optional) passwords: if using liveVD/liveUSB mode, you need to set a password for the default user caelinux.<br />
so on each node, run in a terminal "passwd" (default password is empty) to set a new password<br />
<br />
<br />
5) ssh setup: you need ssh login without passwords between the two hosts: <br />
on first node, run <br />
<br />
scp /home/caelinux/.ssh/id* caepc2:/home/caelinux/.ssh/<br />
<br />
scp /home/caelinux/.ssh/authorized* caepc2:/home/caelinux/.ssh/<br />
<br />
ssh-keyscan caepc1 >> /home/caelinux/.ssh/known_hosts<br />
<br />
ssh-keyscan caepc2 >> /home/caelinux/.ssh/known_hosts<br />
<br />
scp /home/caelinux/.ssh/known_hosts caepc2:/home/caelinux/.ssh/<br />
<br />
<br />
6) setup a shared temp directory with NFS<br />
on node 1<br />
<br />
<br />
sudo mkdir /srv/shared_tmp<br />
<br />
sudo chmod a+rwx /srv/shared_tmp<br />
<br />
sudo nano /etc/exports<br />
<br />
<br />
then add the following line and save:<br />
<br />
<br />
/srv/shared_tmp *(rw,async)<br />
<br />
<br />
then<br />
<br />
<br />
sudo exportfs -a<br />
<br />
<br />
Now create the mount point and mount the shared folder, run this on all nodes:<br />
<br />
sudo mkdir /mnt/shared_tmp<br />
<br />
sudo chmod a+rwx /mnt/shared_tmp<br />
<br />
sudo mount -t nfs -o rw,rsize=8192,wsize=8192 caepc1:/srv/shared_tmp /mnt/shared_tmp<br />
<br />
<br />
7) setup Aster config to use this shared temp directory: <br />
<br />
nano /opt/aster110/eetc/codeaster/asrun<br />
<br />
<br />
edit the line with "shared_tmp" as follows:<br />
<br />
<br />
shared_tmp : /mnt/shared_tmp<br />
<br />
<br />
then save<br />
<br />
<br />
8) Open ASTK , go in server and refresh; create your Job, <br />
<br />
select Options <br />
<br />
ncpus=1 (no openMP) , <br />
<br />
mpi_nbcpu= total number of cores to use (nb_noeu*cores_per_host) <br />
<br />
mpi_nbnoeud = number of compute nodes<br />
<br />
<br />
And finally it should run on several nodes!!<br />
<br />
<br />
Actually , the hard point is that you NEED to have shared tmp folder to run the jobs on a cluster.</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Contrib:JCugnoni&diff=7184Contrib:JCugnoni2011-11-09T16:59:58Z<p>Wikiadmin: /* Running Code-Aster on a Cluster */</p>
<hr />
<div>'''User Page: Joël Cugnoni'''<br />
<br />
<br />
Hello all,<br />
<br />
my name is Joël Cugnoni, main developer of CAELinux (alias admin on the forums). <br />
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.<br />
<br />
<br />
==Wiki "How to"==<br />
<br />
Here is a simple procedure to upload files on the wiki:<br />
<br />
1) create a <nowiki>[[Media:MyFileName]]</nowiki> link on your wiki page and save it<br />
<br />
2) click the link and upload the file<br />
<br />
===Example of uploaded file===<br />
<br />
[[Media:testUpload.zip]]<br />
<br />
<br />
==An example of Salome - Code-Saturne CFD study==<br />
<br />
Here is a small example of simulation of the flow around a back facing step modelled with Salome & Code-Saturne.<br />
<br />
(the geometry and mesh are in no way optimal... so are the results too !!)<br />
<br />
[[Media:FlowStep.tar.gz]]<br />
<br />
[[Media:FlowStepFlashVideo.zip]] <br />
<br />
Some addtitionnal informations:<br />
<br />
- this archive should be decompressed in /tmp to work properly without modifications<br />
- you will need Salome 3.2.9 and Code-Saturne 1.3.1<br />
<br />
- the Salome FlowStep.hdf contains the geometry, mesh and some post pro results<br />
<br />
- to edit the Code-Saturne input file, open CAEKonsole, move to '/ tmp / FLOWSTEP / CASE1 / DATA' and run '. / SalomeGUI'<br />
<br />
<br />
== Salome Tutorial: Extrusion Geometry and Extrusion Meshing ==<br />
<br />
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.<br />
<br />
[[Media:ExtrusionTutorial.zip]]<br />
<br />
<br />
<br />
<br />
== Creating a Video tutorial for CAELinux ==<br />
<br />
<br />
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<br />
<br />
- 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: [http://www.debugmode.com/wink/]. In CAELinux, Wink can be installed very simply from Synaptics.<br />
<br />
- Start Wink, create a New project => you see the video recording parameter window:<br />
<br />
- choose full screen recording at 4 frames / sec., remember the shortcut to start / stop recording (ALT PAUSE or SHIFT PAUSE)<br />
<br />
- 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. <br />
<br />
- when finished, save the Wink project, resize it to 66% or 75% , add comments and buttons if you wish. Save to another filename.<br />
<br />
- set the rendering options: reduce a bit the smoothing of the cursor's movement, select the output filename. <br />
<br />
- launch the final rendering of the flash video and enjoy your work!!<br />
<br />
<br />
== Thermal analysis in Salome-Meca ==<br />
<br />
Here are 3 examples of simple thermal analysis in Salome-Meca (input files, results + videos of the execution).<br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex1.tar.bz2 thermal ex1.tar.bz2] 16Mb, <br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex2.tar.bz2 thermal ex2.tar.bz2] 45Mb and <br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex3.tar.bz2 thermal ex3.tar.bz2] 42Mb<br />
<br />
<br />
== How to create Screencasts / Video tutorials ==<br />
<br />
Install gtk-recordmydesktop from Synaptic and setup your microphone level in the Sound Preferences. Then record using default options.<br />
<br />
Right click the icon to pause recording and left click to stop recording.<br />
<br />
After compression is finished, you get an high quality OGV video with sound. <br />
<br />
To upload it to Youtube, you need to convert it to AVI format: use this command.<br />
<br />
mencoder foo.ogv -o foo.avi -oac mp3lame -lameopts fast:preset=standard -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=4000<br />
<br />
Then upload the video to Youtube or any other service.<br />
<br />
Finally, you may want to have a lighter copy of the video to propose it for download:<br />
<br />
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.<br />
<br />
Don't forget to upload your video on this wiki as well!!<br />
<br />
<br />
== How to remaster / customize CAELinux 2010/2011 ==<br />
<br />
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.<br />
<br />
1. Install CAELinux of hard disk or in a virtual machine: install in a single root partition of at least 40Gb.<br />
<br />
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.<br />
<br />
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 <br />
<br />
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)...<br />
<br />
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.<br />
<br />
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.<br />
<br />
<br />
== Presentation of CAELinux and the world of Open source CAE software at Salome User Days 2010 ==<br />
<br />
Presentation (French) of the panorama of Open Source CAE software and CAELinux.<br />
<br />
see here : [http://www.slideshare.net/SalomePlatform/08-jus-20101123caelinuxpresentation http://www.slideshare.net/SalomePlatform/08-jus-20101123caelinuxpresentation]<br />
<br />
<br />
== Structural optimization using Salome and Aster: presentation at Salome User Days 2010 ==<br />
<br />
Presentation (French) of an automatic structural optimization using Scipy, Salome and Code-Aster, courtesy of NRCTech SA Lausanne.<br />
<br />
see here : [http://www.slideshare.net/SalomePlatform/09-jus-20101123optimisationsalomeaster http://www.slideshare.net/SalomePlatform/09-jus-20101123optimisationsalomeaster]<br />
<br />
== Running Code-Aster on a Cluster ==<br />
<br />
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.<br />
Code-Aster 11.0 is already compiled using openMPI libraries (and having several MPI libraries installed in the system may create configuration problems). <br />
<br />
see this How-To here:<br />
<br />
[[Doc:Code-Aster-Cluster-Config]]</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Contrib:JCugnoni&diff=7183Contrib:JCugnoni2011-11-09T16:59:37Z<p>Wikiadmin: /* Running Code-Aster on a Cluster */</p>
<hr />
<div>'''User Page: Joël Cugnoni'''<br />
<br />
<br />
Hello all,<br />
<br />
my name is Joël Cugnoni, main developer of CAELinux (alias admin on the forums). <br />
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.<br />
<br />
<br />
==Wiki "How to"==<br />
<br />
Here is a simple procedure to upload files on the wiki:<br />
<br />
1) create a <nowiki>[[Media:MyFileName]]</nowiki> link on your wiki page and save it<br />
<br />
2) click the link and upload the file<br />
<br />
===Example of uploaded file===<br />
<br />
[[Media:testUpload.zip]]<br />
<br />
<br />
==An example of Salome - Code-Saturne CFD study==<br />
<br />
Here is a small example of simulation of the flow around a back facing step modelled with Salome & Code-Saturne.<br />
<br />
(the geometry and mesh are in no way optimal... so are the results too !!)<br />
<br />
[[Media:FlowStep.tar.gz]]<br />
<br />
[[Media:FlowStepFlashVideo.zip]] <br />
<br />
Some addtitionnal informations:<br />
<br />
- this archive should be decompressed in /tmp to work properly without modifications<br />
- you will need Salome 3.2.9 and Code-Saturne 1.3.1<br />
<br />
- the Salome FlowStep.hdf contains the geometry, mesh and some post pro results<br />
<br />
- to edit the Code-Saturne input file, open CAEKonsole, move to '/ tmp / FLOWSTEP / CASE1 / DATA' and run '. / SalomeGUI'<br />
<br />
<br />
== Salome Tutorial: Extrusion Geometry and Extrusion Meshing ==<br />
<br />
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.<br />
<br />
[[Media:ExtrusionTutorial.zip]]<br />
<br />
<br />
<br />
<br />
== Creating a Video tutorial for CAELinux ==<br />
<br />
<br />
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<br />
<br />
- 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: [http://www.debugmode.com/wink/]. In CAELinux, Wink can be installed very simply from Synaptics.<br />
<br />
- Start Wink, create a New project => you see the video recording parameter window:<br />
<br />
- choose full screen recording at 4 frames / sec., remember the shortcut to start / stop recording (ALT PAUSE or SHIFT PAUSE)<br />
<br />
- 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. <br />
<br />
- when finished, save the Wink project, resize it to 66% or 75% , add comments and buttons if you wish. Save to another filename.<br />
<br />
- set the rendering options: reduce a bit the smoothing of the cursor's movement, select the output filename. <br />
<br />
- launch the final rendering of the flash video and enjoy your work!!<br />
<br />
<br />
== Thermal analysis in Salome-Meca ==<br />
<br />
Here are 3 examples of simple thermal analysis in Salome-Meca (input files, results + videos of the execution).<br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex1.tar.bz2 thermal ex1.tar.bz2] 16Mb, <br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex2.tar.bz2 thermal ex2.tar.bz2] 45Mb and <br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex3.tar.bz2 thermal ex3.tar.bz2] 42Mb<br />
<br />
<br />
== How to create Screencasts / Video tutorials ==<br />
<br />
Install gtk-recordmydesktop from Synaptic and setup your microphone level in the Sound Preferences. Then record using default options.<br />
<br />
Right click the icon to pause recording and left click to stop recording.<br />
<br />
After compression is finished, you get an high quality OGV video with sound. <br />
<br />
To upload it to Youtube, you need to convert it to AVI format: use this command.<br />
<br />
mencoder foo.ogv -o foo.avi -oac mp3lame -lameopts fast:preset=standard -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=4000<br />
<br />
Then upload the video to Youtube or any other service.<br />
<br />
Finally, you may want to have a lighter copy of the video to propose it for download:<br />
<br />
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.<br />
<br />
Don't forget to upload your video on this wiki as well!!<br />
<br />
<br />
== How to remaster / customize CAELinux 2010/2011 ==<br />
<br />
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.<br />
<br />
1. Install CAELinux of hard disk or in a virtual machine: install in a single root partition of at least 40Gb.<br />
<br />
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.<br />
<br />
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 <br />
<br />
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)...<br />
<br />
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.<br />
<br />
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.<br />
<br />
<br />
== Presentation of CAELinux and the world of Open source CAE software at Salome User Days 2010 ==<br />
<br />
Presentation (French) of the panorama of Open Source CAE software and CAELinux.<br />
<br />
see here : [http://www.slideshare.net/SalomePlatform/08-jus-20101123caelinuxpresentation http://www.slideshare.net/SalomePlatform/08-jus-20101123caelinuxpresentation]<br />
<br />
<br />
== Structural optimization using Salome and Aster: presentation at Salome User Days 2010 ==<br />
<br />
Presentation (French) of an automatic structural optimization using Scipy, Salome and Code-Aster, courtesy of NRCTech SA Lausanne.<br />
<br />
see here : [http://www.slideshare.net/SalomePlatform/09-jus-20101123optimisationsalomeaster http://www.slideshare.net/SalomePlatform/09-jus-20101123optimisationsalomeaster]<br />
<br />
== Running Code-Aster on a Cluster ==<br />
<br />
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.<br />
Code-Aster 11.0 is already compiled using openMPI libraries (and having several MPI libraries installed in the system may create configuration problems). <br />
<br />
see this How-To here:<br />
<br />
[[Doc:Code-Aster-Cluster-Config]]</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Contrib:JCugnoni&diff=7182Contrib:JCugnoni2011-11-09T16:59:19Z<p>Wikiadmin: /* Structural optimization using Salome and Aster: presentation at Salome User Days 2010 */</p>
<hr />
<div>'''User Page: Joël Cugnoni'''<br />
<br />
<br />
Hello all,<br />
<br />
my name is Joël Cugnoni, main developer of CAELinux (alias admin on the forums). <br />
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.<br />
<br />
<br />
==Wiki "How to"==<br />
<br />
Here is a simple procedure to upload files on the wiki:<br />
<br />
1) create a <nowiki>[[Media:MyFileName]]</nowiki> link on your wiki page and save it<br />
<br />
2) click the link and upload the file<br />
<br />
===Example of uploaded file===<br />
<br />
[[Media:testUpload.zip]]<br />
<br />
<br />
==An example of Salome - Code-Saturne CFD study==<br />
<br />
Here is a small example of simulation of the flow around a back facing step modelled with Salome & Code-Saturne.<br />
<br />
(the geometry and mesh are in no way optimal... so are the results too !!)<br />
<br />
[[Media:FlowStep.tar.gz]]<br />
<br />
[[Media:FlowStepFlashVideo.zip]] <br />
<br />
Some addtitionnal informations:<br />
<br />
- this archive should be decompressed in /tmp to work properly without modifications<br />
- you will need Salome 3.2.9 and Code-Saturne 1.3.1<br />
<br />
- the Salome FlowStep.hdf contains the geometry, mesh and some post pro results<br />
<br />
- to edit the Code-Saturne input file, open CAEKonsole, move to '/ tmp / FLOWSTEP / CASE1 / DATA' and run '. / SalomeGUI'<br />
<br />
<br />
== Salome Tutorial: Extrusion Geometry and Extrusion Meshing ==<br />
<br />
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.<br />
<br />
[[Media:ExtrusionTutorial.zip]]<br />
<br />
<br />
<br />
<br />
== Creating a Video tutorial for CAELinux ==<br />
<br />
<br />
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<br />
<br />
- 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: [http://www.debugmode.com/wink/]. In CAELinux, Wink can be installed very simply from Synaptics.<br />
<br />
- Start Wink, create a New project => you see the video recording parameter window:<br />
<br />
- choose full screen recording at 4 frames / sec., remember the shortcut to start / stop recording (ALT PAUSE or SHIFT PAUSE)<br />
<br />
- 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. <br />
<br />
- when finished, save the Wink project, resize it to 66% or 75% , add comments and buttons if you wish. Save to another filename.<br />
<br />
- set the rendering options: reduce a bit the smoothing of the cursor's movement, select the output filename. <br />
<br />
- launch the final rendering of the flash video and enjoy your work!!<br />
<br />
<br />
== Thermal analysis in Salome-Meca ==<br />
<br />
Here are 3 examples of simple thermal analysis in Salome-Meca (input files, results + videos of the execution).<br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex1.tar.bz2 thermal ex1.tar.bz2] 16Mb, <br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex2.tar.bz2 thermal ex2.tar.bz2] 45Mb and <br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex3.tar.bz2 thermal ex3.tar.bz2] 42Mb<br />
<br />
<br />
== How to create Screencasts / Video tutorials ==<br />
<br />
Install gtk-recordmydesktop from Synaptic and setup your microphone level in the Sound Preferences. Then record using default options.<br />
<br />
Right click the icon to pause recording and left click to stop recording.<br />
<br />
After compression is finished, you get an high quality OGV video with sound. <br />
<br />
To upload it to Youtube, you need to convert it to AVI format: use this command.<br />
<br />
mencoder foo.ogv -o foo.avi -oac mp3lame -lameopts fast:preset=standard -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=4000<br />
<br />
Then upload the video to Youtube or any other service.<br />
<br />
Finally, you may want to have a lighter copy of the video to propose it for download:<br />
<br />
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.<br />
<br />
Don't forget to upload your video on this wiki as well!!<br />
<br />
<br />
== How to remaster / customize CAELinux 2010/2011 ==<br />
<br />
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.<br />
<br />
1. Install CAELinux of hard disk or in a virtual machine: install in a single root partition of at least 40Gb.<br />
<br />
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.<br />
<br />
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 <br />
<br />
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)...<br />
<br />
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.<br />
<br />
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.<br />
<br />
<br />
== Presentation of CAELinux and the world of Open source CAE software at Salome User Days 2010 ==<br />
<br />
Presentation (French) of the panorama of Open Source CAE software and CAELinux.<br />
<br />
see here : [http://www.slideshare.net/SalomePlatform/08-jus-20101123caelinuxpresentation http://www.slideshare.net/SalomePlatform/08-jus-20101123caelinuxpresentation]<br />
<br />
<br />
== Structural optimization using Salome and Aster: presentation at Salome User Days 2010 ==<br />
<br />
Presentation (French) of an automatic structural optimization using Scipy, Salome and Code-Aster, courtesy of NRCTech SA Lausanne.<br />
<br />
see here : [http://www.slideshare.net/SalomePlatform/09-jus-20101123optimisationsalomeaster http://www.slideshare.net/SalomePlatform/09-jus-20101123optimisationsalomeaster]<br />
<br />
== Running Code-Aster on a Cluster ==</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Doc:CAETutorials&diff=7169Doc:CAETutorials2011-11-05T09:50:31Z<p>Wikiadmin: /* Getting Started with DynELA - a dynamic finite element solver */</p>
<hr />
<div>=== Find tutorials and examples on LiveCD or installed CAELinux distro ===<br />
<br />
You can find all of these tutorials on the LiveCD or your local installed copy of CAELinux. Log in using the caelinux username account and you will have access to all of this in one spot. At the CAELinux KDE desktop you will find the "CAELinux Docs" lightning bolt icon with a yellow background. Double-click the icon and choose the "Tutorials" directory. Here you will find a directory with all of the necessary files and flash videos. The path to this location is /opt/helpers/docs/tutorials/. They are also available here via the web but will generally load slower than a local source.<br />
<br />
=== CAELinux 2011 video tutorials ===<br />
<br />
You can find the new video tutorials for CAELinux 2011 on that page of the Wiki [[Doc:CAELinux2011_Tutorials]]<br />
<br />
If you want to contribute and prepare new video / screencast tutorials, you can follow this guide: [[Contrib:JCugnoni#How_to_create_Screencasts_.2F_Video_tutorials]]<br />
<br />
=== Introduction tutorial: general use of Salome & Code_Aster (CAELinux2008 / CAELinux 2007)===<br />
This is the first tutorial on the use of Salomé & Code_Aster. <br />
The example case study treated here is a linear statics analysis of a piston.<br />
<br />
In this tutorial, you will learn to:<br />
# import & mesh a STEP geometry in Salomé<br />
# create & edit the options of a FE study in Code_Aster<br />
# solve the FE problem<br />
# load results in Salomé & post-process the data<br />
Duration approx. 30 min.<br />
<br />
Interactive Flash tutorial (CAELinux 2007): [http://www.caelinux.org/wiki/downloads/docs/Piston2007/PistonTutorial.htm PistonTutorial2007 on the web] or [http://www.caelinux.org/wiki/downloads/docs/Piston2007/PistonTutorial.swf Download PistonTutorial.swf]<br />
<br />
Piston geometry in STEP format: [[Media:piston.zip]]<br />
<br />
Tutorial in PDF format - '''Updated for SaloméMECA 2010.2''' [[Media:Piston_tutorial.pdf]] <br />
<br />
[http://www.youtube.com/watch?v=dQBHNKnSzIQ Video showing the steps in the piston tutorial]<br />
<br />
''Older versions:''<br />
<br />
Tutorial in PDF format (CAELinux beta 2): [[Media:IntroductionTutorial1.pdf]] <br />
<br />
Video tutorial in CAELinux beta 3b: [http://www.caelinux.com/downloads/docs/IntroductionCAELinux-part1.avi IntroductionVideoPart1] and [http://www.caelinux.com/downloads/docs/IntroductionCAELinux-part2.avi IntroductionVideoPart2]<br />
<br />
=== Salome & OpenFOAM tutorial: 3D CFD analysis of a Y-shaped pipe (CAELinux 2008 / CAELinux 2007)===<br />
<br />
This tutorial shows how to use Salome & OpenFOAM to:<br />
<br />
# create the 3D CAD geometry of a Y-shaped pipe in Salome<br />
# generate a free tetrahedral mesh for the CFD analysis in Salome<br />
# create an OpenFOAM simulation case and import the mesh from UNV file<br />
# model the transient incompressible fluid flow in the pipe<br />
# visualize the results in ParaView <br />
<br />
This tutorial is subdivided in three parts: Geometry, Meshing & CFD analysis.<br />
<br />
'''Flash video tutorials:'''<br />
<br />
Part 1 notes for CEALinux 2008 users: This tutorial video was created with the CAELinux 2007 version software packages. This<br />
includes Salome-Meca version 3.2.6. While this tutorial is still applicable to CAELinux 2008<br />
there is a known software bug in Salome-Meca 3.2.9. This will not allow you to use the<br />
"Extrude along a path" functionality with a wire type selection for the path of the swept<br />
circular face. There is a file packaged with the CAELinux2008 distro at this location /opt/helpers/docs/tutorials/pipe/Pipe1.hdf.<br />
The geometry is fully created in this file and can be used as a workaround if you don't figure out a different way to model the<br />
shape in the geometry mode of Salome.<br />
<br />
Part 3 notes for CAELinux 2008 users: When creating the 13 isosurfaces for the pipe example in paraview it may not correctly set the default range. If you notice in the tutorial the range of the iso surfaces is between 0 and 0.13872. You may need to adjust this range setting in order to follow along with the tutorial.<br />
<br />
#''Part 1, Geometry modelling in Salome'' : [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeGeom.htm PipeGeom2007 on the web] or [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeGeom.swf Download PipeGeom.swf]<br />
#''Part 2, Meshing in Salome'' : [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeMesh.htm PipeMesh2007] or [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeMesh.swf Download PipeMesh.swf]<br />
#''Part 3, CFD analysis in OpenFOAM'' : [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeOpenFoam.htm PipeOpenFOAM2007] or [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeOpenFoam.swf Download PipeOpenFOAM.swf]<br />
<br />
=== Salome & Elmer tutorial: 3D thermal analysis of a piston (CAELinux 2008 / CAELinux 2007)===<br />
<br />
This tutorial shows how to use Salome & Elmer together to:<br />
<br />
# import 3D CAD geometry from a Step file & define groups for boundary conditions<br />
# generate a free tetrahedral mesh for the thermal analysis in Salome<br />
# export the mesh in UNV format and convert it to GMSH format<br />
# convert the GMSH mesh to the native Elmer format<br />
# model the heat transfer problem in ElmerFront<br />
# solve the problem with ElmerSolver and visualize results in ElmerPost<br />
<br />
This tutorial is presented in one single Flash video. <br />
<br />
Flash video tutorial: [http://www.caelinux.org/wiki/downloads/docs/PistonElmer2007/pistonElmer.htm pistonElmer.htm] (55 Mb)<br />
<br />
RAR archive : [http://www.caelinux.org/wiki/downloads/docs/PistonElmer2007/pistonElmer.rar pistonElmer.rar] (16 Mb)<br />
<br />
Piston geometry in STEP format: [[Media:piston.zip]]<br />
<br />
<br />
<br />
<br />
=== Code-Saturne & Salome: 2D flow around a step (CAELinux 2008) ===<br />
<br />
This tutorial will give you an overview of the modelling workflow of Salome & Code-Saturne. It shows how to use an existing mesh in Salome (here a back facing step channel) to run a CFD simulation in Code-Saturne and how to post-process the results back in Salome.<br />
<br />
Topics covered: Mesh preparation & export, CFD Wizard, Code-Saturne GUI, Code-Saturne solution, Post-processing in Salome<br />
<br />
Video Tutorial & Files: <br />
<br />
[[Media:FlowStep.tar.gz]]<br />
<br />
[[Media:FlowStepFlashVideo.zip]] <br />
<br />
Some additionnal informations:<br />
<br />
- this archive should be decompressed in /tmp to work properly without modifications<br />
<br />
- you will need Salome 3.2.9 and Code-Saturne 1.3.1<br />
<br />
- the Salome FlowStep.hdf contains the geometry, mesh and some post pro results<br />
<br />
- to edit the Code-Saturne input file, open CAEKonsole, move to '/ tmp / FLOWSTEP / CASE1 / DATA' and run '. / SalomeGUI'<br />
<br />
<br />
=== Salome: Extrusion Geometry and Extrusion meshing (CAELinux 2008) ===<br />
<br />
This small video tutorial will teach you how to model extrusion geometry in Salome and how to mesh this type of geometry by extrusion meshing (prismatic elements). <br />
<br />
Topics covered: 2D sketch, extrusion, global mesh definition, local mesh (submesh), extrusion meshing, quadratic elements<br />
<br />
Video Tutorial & Salome HDF file: [[Media:ExtrusionTutorial.zip]]<br />
<br />
<br />
=== Salome: Geometry & meshing tutorial 1 (CAELinux beta 2) ===<br />
<br />
This is a tutorial on the use of Salome for 3D geometry modelling (CAD-like) & meshing. <br />
<br />
Topics covered: 2D sketch, extrusion, boolean operations, array of features, partitionning, global & local mesh definition, mesh quality check, ...<br />
<br />
Duration approx. 60 min.<br />
<br />
Tutorial & HDF geometry in ZIP format: [[Media:TutorialGEOM1.zip]]<br />
<br />
<br />
=== Salome & Code-Aster JML's Tutorials (CAELinux beta 2) ===<br />
Thanks to the kind contribution of Mr Jean-Marc LICHTLE (original french tutorials) and Mr Laurent MALOD-PANISSET (translation to english), there are now 4 completely new beginners tutorials available in both french and english.<br />
<br />
For questions / comments about these tutorials, feel free to mail to the authors:<br />
<br />
''jean-marc [dot] lichtle [at] gadz [dot] com'' (french and german)<br />
<br />
''laluciol [at] club-internet [dot] fr'' (english)<br />
<br />
Note that these tutorials are also available at [http://www.mirabellug.org www.mirabellug.org]<br />
<br />
'''Downloads'''<br />
<br />
Zip Archive containing all pdf files (french & english): [[Media:JMLTutorials.zip]]<br />
<br />
Please note that at the moment only the first two tutorials are translated in english.<br />
<br />
<br />
=== P. Carrico's Tutorials (CAELinux beta 3, Code-Aster 9) ===<br />
Another great contribution to Code-Aster tutorials by P. Carrico.<br />
These tutorials will give you a more in-depth and detailed view of the possibilities of Code-Aster and other related tools (Gibi, Salome).<br />
<br />
For comments, please contact the author at: <br />
<br />
''paul [dot] carrico [at] free [dot] fr ''<br />
<br />
Please note that :<br />
# These tutorials are under continuous development and any contribution or feedback is welcome. At the moment, these tutorials are available in French only, but translation is on the way,<br />
# <font color="red">New !!</font> An HTML version of the tutorials in now online [http://www.caelinux.org/wiki/downloads/docs/PCarrico HERE] with the possibility to automatically translate the documents from French to English or German.<br />
# All the calculations were performed under 8.3 release of Code Aster - for the 9.0 one, you can use the automatic traducteur/translator menu that works fine (tested for all the tutorials) ... but you've to adapt the .export file for the new release.<br />
<br />
<br />
'''Tutorial 1: Post-processing / Post-traitements'''<br />
<br />
In this tutorial, you will learn how to post-process & visualize the results of a Code-Aster simulation with external tools like GMSH, GIBI, Salome or GRACE. <br />
<br />
Tutorial 1 PDF file (FR): [[Media:CAELINUX_post_traitement.pdf]], HTML (FR/EN/DE): [http://www.caelinux.org/wiki/downloads/docs/PCarrico Link]<br />
<br />
'''Tutorial 2: Cyclic symmetry'''<br />
<br />
In this tutorial, you will learn how to model & analyze a cyclic symmetric part in Code-Aster. <br />
<br />
Tutorial 2 RAR archive (FR): [[Media:CAELINUX_symetrie_cyclique.rar]], HTML (FR/EN/DE): [http://www.caelinux.org/wiki/downloads/docs/PCarrico Link]<br />
<br />
'''Tutorial 3: Thermo-mechanics'''<br />
<br />
In this tutorial, you will learn how to model & analyze a thermo-mechanical problem in Code-Aster (using two different meshes : tetrahedra based mesh for the thermal calculation and hexahedra based one for the mechanical calculation). <br />
<br />
Tutorial 3 RAR archive (FR): [[Media:CAELINUX_thermomecanique.rar]], HTML (FR/EN/DE): [http://www.caelinux.org/wiki/downloads/docs/PCarrico Link]<br />
<br />
'''Tutorial 4: Shells'''<br />
<br />
In this tutorial, you will learn how to model & analyze a linear statics problem of a shell structure with Code-Aster (using the upper skin, the lower one and the middle surface to perform the linear static calculation). <br />
<br />
Tutorial 4 RAR archive (FR): [[Media:CAELINUX_coques.rar]], HTML (FR/EN/DE): [http://www.caelinux.org/wiki/downloads/docs/PCarrico Link]<br />
<br />
'''Tutorial 5: Plasticity'''<br />
<br />
In this tutorial, you will learn how to model & analyze a nonlinear statics problem of a 3D structure subjected to plastic deformations with Code-Aster. <br />
<br />
Tutorial 5 RAR archive (FR): [[Media:CAELINUX_plasticite.rar]], HTML (FR/EN/DE): [http://www.caelinux.org/wiki/downloads/docs/PCarrico Link]<br />
<br />
<br />
=== Advanced Examples (CAELinux beta 3b)===<br />
<br />
A set of advanced FE modelling examples with Salome & Code-Aster is proposed here.<br />
These archives contains all the geometric models & input files but are not commented thoroughly as they are intended to serve as a basis for specialized analysis.<br />
<br />
The topics convered by these examples are: plastic deformations, thermo-mechanics, contacts, modal analysis, composite materials and FE modelling of assemblies!!<br />
<br />
For more information or for downloads, see this page: [http://www.caelinux.com/CMS/index.php?option=com_content&task=view&id=25&Itemid=40 CAELinux Advanced Examples] or [[Doc:AdvancedExamples]]<br />
<br />
<br />
=== A few test cases for Code_Aster 9.4 and 10.1.X among other documentation===<br />
[http://www.caelinux.org/wiki/index.php/Contrib:Claws/Code_Aster Contrib:Claws/Code_Aster]<br />
<br />
<br />
=== Assembly analysis of a little press frame (Salome 3.2.9 on Caelinux 2008) ===<br />
[http://www.caelinux.org/wiki/index.php/Contrib:Cacciatorino Contrib:Cacciatorino]<br />
<br />
Here you will find a tutorial and all files needed to perform the fem analysis of the frame of a little hydraulic press<br />
<br />
<br />
=== An short introduction to Geometry modelling & FE analysis in Salome-Meca 2008.1 ===<br />
<br />
The object of this tutorial is to build a solid object using a number of graphical techniques, then to mesh it, solve, and finally to display the solution. Author: Andy Foan<br />
<br />
[[Media:Study04a.pdf]]<br />
<br />
=== An tutorial on script-based model generation in Salome-Meca 2008.1 ===<br />
<br />
This tutorial aims at giving an example of use of Python scripts to build a "parametric" solid object in Salome and then analyse its mechanical response with Code-Aster. This example also shows how to modify the Aster command file to use different materials in the FE model. Author: Andy Foan<br />
<br />
[[Media:Study08b.zip]]<br />
<br />
<br />
=== Guide to composite analysis ===<br />
<br />
In this document you will find a guide to analize composite behavior.<br />
<br />
[[Composite analysis]]<br />
<br />
=== Another introductory tutorial: Salome-Meca 2008.1 GPL ===<br />
<br />
This tutorial shows how to use Salome-Meca to analyse a '''very''' simple geometry subjected to tension (linear static analysis). The geometry is a rectangular filleted bar. The results are compared with stress values obtained from the literature for geometries with notches/fillets where stress concentrations will be present:<br />
# Import 3D STEP geometry (created with ''VariCAD'' for GNU/Linux),<br />
# create a mesh,<br />
# apply boundary constraints and loads,<br />
# analyse,<br />
# and finally post-process (visualize) the results.<br />
<br />
[[Another simple tutorial]]<br />
<br />
=== Step-by-step guide for the modeling of a simple geometry and solving for its electric field with CAELinux ===<br />
<br />
A guide for the absolute CAELinux beginners. You create a simple geometry with Salome, solve it with OpenFOAM and view it with Paraview. It also includes advanced post processing, which incorporates the calculation of the total energy of the electric field and its capacitance and the use of the sample utility to extract the field along a path.<br />
<br />
[[Media:electrostatic_guide.pdf]]<br />
<br />
=== Beam & plate structure analysis using GMSH / Salome & Code-Aster ===<br />
<br />
Exploring the world of beams, plates, rods and cables structures in a linear and non linear fashion with Gmsh, Code_Aster and Salome-Meca.<br />
<br />
by Jean-Pierre Aubry<br />
<br />
With about 70 pages it is more than a simple tutorial, hence the pdf format. <br />
<br />
[[Image:Beam-cable-gmsh-aster.pdf]]<br />
<br />
<br />
<br />
=== Getting Started with DynELA - a dynamic finite element solver ===<br />
<br />
This is a very brief introduction to setting up and running DynELA.<br />
<br />
[[DynELA Quick-Start]]<br />
<br />
=== Other important contributions on the Wiki (examples, tutorials) ===<br />
<br />
Don't miss the Contribution section of the wiki. It references an impressive number of tutorials on Salome, Code-Aster, Code-Saturne and other codes. For further details, have a look at the pages under the "Contrib" section : <br />
<br />
Link: [[Contrib:Main]]<br />
<br />
As an example, here is a small list of available tutorials in the Contrib section:<br />
<br />
# Real world CFD study with Code Saturne, see: [[Contrib:Claws]]<br />
# Laminar pipe flow (Code-Saturne), see: [[Contrib:BondMatt]]<br />
# Salome + Code-Aster examples (shell, plasticity, buckling, modal, dynamics, ...), see: [[Contrib:KeesWouters]]</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Contrib:JCugnoni&diff=7152Contrib:JCugnoni2011-10-30T21:10:50Z<p>Wikiadmin: </p>
<hr />
<div>'''User Page: Joël Cugnoni'''<br />
<br />
<br />
Hello all,<br />
<br />
my name is Joël Cugnoni, main developer of CAELinux (alias admin on the forums). <br />
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.<br />
<br />
<br />
==Wiki "How to"==<br />
<br />
Here is a simple procedure to upload files on the wiki:<br />
<br />
1) create a <nowiki>[[Media:MyFileName]]</nowiki> link on your wiki page and save it<br />
<br />
2) click the link and upload the file<br />
<br />
===Example of uploaded file===<br />
<br />
[[Media:testUpload.zip]]<br />
<br />
<br />
==An example of Salome - Code-Saturne CFD study==<br />
<br />
Here is a small example of simulation of the flow around a back facing step modelled with Salome & Code-Saturne.<br />
<br />
(the geometry and mesh are in no way optimal... so are the results too !!)<br />
<br />
[[Media:FlowStep.tar.gz]]<br />
<br />
[[Media:FlowStepFlashVideo.zip]] <br />
<br />
Some addtitionnal informations:<br />
<br />
- this archive should be decompressed in /tmp to work properly without modifications<br />
- you will need Salome 3.2.9 and Code-Saturne 1.3.1<br />
<br />
- the Salome FlowStep.hdf contains the geometry, mesh and some post pro results<br />
<br />
- to edit the Code-Saturne input file, open CAEKonsole, move to '/ tmp / FLOWSTEP / CASE1 / DATA' and run '. / SalomeGUI'<br />
<br />
<br />
== Salome Tutorial: Extrusion Geometry and Extrusion Meshing ==<br />
<br />
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.<br />
<br />
[[Media:ExtrusionTutorial.zip]]<br />
<br />
<br />
<br />
<br />
== Creating a Video tutorial for CAELinux ==<br />
<br />
<br />
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<br />
<br />
- 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: [http://www.debugmode.com/wink/]. In CAELinux, Wink can be installed very simply from Synaptics.<br />
<br />
- Start Wink, create a New project => you see the video recording parameter window:<br />
<br />
- choose full screen recording at 4 frames / sec., remember the shortcut to start / stop recording (ALT PAUSE or SHIFT PAUSE)<br />
<br />
- 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. <br />
<br />
- when finished, save the Wink project, resize it to 66% or 75% , add comments and buttons if you wish. Save to another filename.<br />
<br />
- set the rendering options: reduce a bit the smoothing of the cursor's movement, select the output filename. <br />
<br />
- launch the final rendering of the flash video and enjoy your work!!<br />
<br />
<br />
== Thermal analysis in Salome-Meca ==<br />
<br />
Here are 3 examples of simple thermal analysis in Salome-Meca (input files, results + videos of the execution).<br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex1.tar.bz2 thermal ex1.tar.bz2] 16Mb, <br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex2.tar.bz2 thermal ex2.tar.bz2] 45Mb and <br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex3.tar.bz2 thermal ex3.tar.bz2] 42Mb<br />
<br />
<br />
== How to create Screencasts / Video tutorials ==<br />
<br />
Install gtk-recordmydesktop from Synaptic and setup your microphone level in the Sound Preferences. Then record using default options.<br />
<br />
Right click the icon to pause recording and left click to stop recording.<br />
<br />
After compression is finished, you get an high quality OGV video with sound. <br />
<br />
To upload it to Youtube, you need to convert it to AVI format: use this command.<br />
<br />
mencoder foo.ogv -o foo.avi -oac mp3lame -lameopts fast:preset=standard -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=4000<br />
<br />
Then upload the video to Youtube or any other service.<br />
<br />
Finally, you may want to have a lighter copy of the video to propose it for download:<br />
<br />
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.<br />
<br />
Don't forget to upload your video on this wiki as well!!<br />
<br />
<br />
== How to remaster / customize CAELinux 2010/2011 ==<br />
<br />
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.<br />
<br />
1. Install CAELinux of hard disk or in a virtual machine: install in a single root partition of at least 40Gb.<br />
<br />
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.<br />
<br />
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 <br />
<br />
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)...<br />
<br />
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.<br />
<br />
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.<br />
<br />
<br />
== Presentation of CAELinux and the world of Open source CAE software at Salome User Days 2010 ==<br />
<br />
Presentation (French) of the panorama of Open Source CAE software and CAELinux.<br />
<br />
see here : [http://www.slideshare.net/SalomePlatform/08-jus-20101123caelinuxpresentation http://www.slideshare.net/SalomePlatform/08-jus-20101123caelinuxpresentation]<br />
<br />
<br />
== Structural optimization using Salome and Aster: presentation at Salome User Days 2010 ==<br />
<br />
Presentation (French) of an automatic structural optimization using Scipy, Salome and Code-Aster, courtesy of NRCTech SA Lausanne.<br />
<br />
see here : [http://www.slideshare.net/SalomePlatform/09-jus-20101123optimisationsalomeaster http://www.slideshare.net/SalomePlatform/09-jus-20101123optimisationsalomeaster]</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Contrib:JCugnoni&diff=7151Contrib:JCugnoni2011-10-30T21:04:33Z<p>Wikiadmin: </p>
<hr />
<div>'''User Page: Joël Cugnoni'''<br />
<br />
<br />
Hello all,<br />
<br />
my name is Joël Cugnoni, main developer of CAELinux (alias admin on the forums). <br />
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.<br />
<br />
<br />
==Wiki "How to"==<br />
<br />
Here is a simple procedure to upload files on the wiki:<br />
<br />
1) create a <nowiki>[[Media:MyFileName]]</nowiki> link on your wiki page and save it<br />
<br />
2) click the link and upload the file<br />
<br />
===Example of uploaded file===<br />
<br />
[[Media:testUpload.zip]]<br />
<br />
<br />
==An example of Salome - Code-Saturne CFD study==<br />
<br />
Here is a small example of simulation of the flow around a back facing step modelled with Salome & Code-Saturne.<br />
<br />
(the geometry and mesh are in no way optimal... so are the results too !!)<br />
<br />
[[Media:FlowStep.tar.gz]]<br />
<br />
[[Media:FlowStepFlashVideo.zip]] <br />
<br />
Some addtitionnal informations:<br />
<br />
- this archive should be decompressed in /tmp to work properly without modifications<br />
- you will need Salome 3.2.9 and Code-Saturne 1.3.1<br />
<br />
- the Salome FlowStep.hdf contains the geometry, mesh and some post pro results<br />
<br />
- to edit the Code-Saturne input file, open CAEKonsole, move to '/ tmp / FLOWSTEP / CASE1 / DATA' and run '. / SalomeGUI'<br />
<br />
<br />
== Salome Tutorial: Extrusion Geometry and Extrusion Meshing ==<br />
<br />
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.<br />
<br />
[[Media:ExtrusionTutorial.zip]]<br />
<br />
<br />
<br />
<br />
== Creating a Video tutorial for CAELinux ==<br />
<br />
<br />
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<br />
<br />
- 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: [http://www.debugmode.com/wink/]. In CAELinux, Wink can be installed very simply from Synaptics.<br />
<br />
- Start Wink, create a New project => you see the video recording parameter window:<br />
<br />
- choose full screen recording at 4 frames / sec., remember the shortcut to start / stop recording (ALT PAUSE or SHIFT PAUSE)<br />
<br />
- 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. <br />
<br />
- when finished, save the Wink project, resize it to 66% or 75% , add comments and buttons if you wish. Save to another filename.<br />
<br />
- set the rendering options: reduce a bit the smoothing of the cursor's movement, select the output filename. <br />
<br />
- launch the final rendering of the flash video and enjoy your work!!<br />
<br />
<br />
== Thermal analysis in Salome-Meca ==<br />
<br />
Here are 3 examples of simple thermal analysis in Salome-Meca (input files, results + videos of the execution).<br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex1.tar.bz2 thermal ex1.tar.bz2] 16Mb, <br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex2.tar.bz2 thermal ex2.tar.bz2] 45Mb and <br />
<br />
[http://www.caelinux.org/wiki/downloads/velten/ex3.tar.bz2 thermal ex3.tar.bz2] 42Mb<br />
<br />
<br />
== How to create Screencasts / Video tutorials ==<br />
<br />
Install gtk-recordmydesktop from Synaptic and setup your microphone level in the Sound Preferences. Then record using default options.<br />
<br />
Right click the icon to pause recording and left click to stop recording.<br />
<br />
After compression is finished, you get an high quality OGV video with sound. <br />
<br />
To upload it to Youtube, you need to convert it to AVI format: use this command.<br />
<br />
mencoder foo.ogv -o foo.avi -oac mp3lame -lameopts fast:preset=standard -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=4000<br />
<br />
Then upload the video to Youtube or any other service.<br />
<br />
Finally, you may want to have a lighter copy of the video to propose it for download:<br />
<br />
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.<br />
<br />
Don't forget to upload your video on this wiki as well!!<br />
<br />
<br />
== How to remaster / customize CAELinux 2010/2011 ==<br />
<br />
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.<br />
<br />
1. Install CAELinux of hard disk or in a virtual machine: install in a single root partition of at least 40Gb.<br />
<br />
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.<br />
<br />
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 <br />
<br />
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)...<br />
<br />
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.<br />
<br />
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.</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Doc:FEM_Learning:Finite_Element_Method&diff=7147Doc:FEM Learning:Finite Element Method2011-10-30T17:37:48Z<p>Wikiadmin: </p>
<hr />
<div>[[Image:FEM example of 2D solution.png|thumb|right|2D FEM solution for a magnetostatic configuration (lines denote the direction of calculated [[flux density]] and colour - its magnitude)]]<br />
[[Image:Example of 2D mesh.png|thumb|right|2D mesh for the image above (mesh is denser around the object of interest)]]<br />
<br />
The finite element method (FEM) is used for finding approximate solutions of partial differential equations (PDE) as well as of integral equations such as the heat transport equation. The solution approach is based either on eliminating the differential equation completely (steady state problems), or rendering the PDE into an approximating system of ordinary differential equations, which are then solved using standard techniques such as finite differences, Runge-Kutta, etc.<br />
<br />
In solving partial differential equations, the primary challenge is to create an equation that approximates the equation to be studied, but is numerically stable, meaning that errors in the input data and intermediate calculations do not accumulate and cause the resulting output to be meaningless. There are many ways of doing this, all with advantages and disadvantages. The Finite Element Method is a good choice for solving partial differential equations over complex domains (like cars and oil pipelines), when the domain changes (as during a solid state reaction with a moving boundary), when the desired precision varies over the entire domain, or when the solution lacks smoothness. For instance, in simulating the weather pattern on Earth, it is more important to have accurate predictions over land than over the wide-open sea, a demand that is achievable using the finite element method.<br />
<br />
==History==<br />
<br />
The finite-element method originated from the needs for solving complex elasticity, structural analysis problems in civil engineering and aeronautical engineering. Its development can be traced back to the work by Alexander Hrennikoff (1941) and Richard Courant (1942). While the approaches used by these pioneers are dramatically different, they share one essential characteristic: mesh discretization of a continuous domain into a set of discrete sub-domains. Hrennikoff's work discretizes the domain by using a lattice analogy while Courant's approach divides the domain into finite triangular subregions for solution of second order elliptic partial differential equations (PDEs) that arise from the problem of torsion of a cylinder. Courant's contribution was evolutionary, drawing on a large body of earlier results for PDEs developed by Rayleigh, Ritz, and Galerkin. Development of the finite element method began in earnest in the middle to late 1950s for airframe and structural analysis and gathered momentum at the University of Stuttgart through the work of John Argyris and at Berkeley through the work of Ray W. Clough in the 1960s for use in civil engineering.[1] The method was provided with a rigorous mathematical foundation in 1973 with the publication of Strang and Fix's An Analysis of The Finite Element Method, and has since been generalized into a branch of applied mathematics for numerical modeling of physical systems in a wide variety of engineering disciplines, e.g., electromagnetism and fluid dynamics.<br />
<br />
The development of the finite element method in structural mechanics is often based on an energy principle, e.g., the virtual work principle or the minimum total potential energy principle, which provides a general, intuitive and physical basis that has a great appeal to structural engineers.<br />
<br />
==Technical discussion==<br />
<br />
We will illustrate the finite element method using two sample problems from which the general method can be extrapolated. It is assumed that the reader is familiar with calculus and linear algebra.<br />
<br />
P1 is a one-dimensional problem<br />
<br />
<tex>\Large \mbox{P1}:\begin{cases}u''=f \mbox{ in }(0,1),\\u(0)=u(1)=0,\end{cases}</tex><br />
<br />
where <math> f </math> is given, <math>u</math> is an unknown function of <math>x</math>, and <math>u''</math> is the second derivative of <math>u</math> with respect to <math>x</math>.<br />
<br />
The two-dimensional sample problem is the Dirichlet problem<br />
<br />
<tex>\Large \mbox{P2}:\begin{cases}<br />
u_{xx}+u_{yy}=f & \mbox{ in } \Omega, \\<br />
u=0 & \mbox{ on } \partial \Omega,<br />
\end{cases}</tex><br />
<br />
where <math>\Omega</math> is a connected open region in the <math>(x,y)</math> plane whose boundary <math>\partial \Omega</math> is "nice" (e.g., a smooth manifold or a polygon), and <math>u_{xx}</math> and <math>u_{yy}</math> denote the second derivatives with respect to <math>x</math> and <math>y</math>, respectively.<br />
<br />
The problem P1 can be solved "directly" by computing antiderivatives. However, this method of solving the boundary value problem works only when there is only one spatial dimension and does not generalize to higher-dimensional problems or to problems like <math>u + u'' = f</math>. For this reason, we will develop the finite element method for P1 and outline its generalization to P2.<br />
<br />
Our explanation will proceed in two steps, which mirror two essential steps one must take to solve a boundary value problem (BVP) using the FEM. In the first step, one rephrases the original BVP in its weak, or variational form. Little to no computation is usually required for this step, the transformation is done by hand on paper. The second step is the discretization, where the weak form is discretized in a finite dimensional space. After this second step, we have concrete formulae for a large but finite dimensional linear problem whose solution will approximately solve the original BVP. This finite dimensional problem is then implemented on a computer.<br />
<br />
==Variational formulation==<br />
<br />
The first step is to convert P1 and P2 into their variational equivalents. If <math>u</math> solves P1, then for any smooth function <math>v</math> that satisfies the displacement boundary conditions, i.e. <math>v = 0</math> at <math>x = 0</math> and <math>x = 1</math>,we have<br />
<br />
(1)<tex> \int_0^1 f(x)v(x) \, dx = \int_0^1 u''(x)v(x) \, dx</tex><br />
<br />
Conversely, if for a given <tex>u</tex>, (1) holds for every smooth function <tex>v(x)</tex> then one may show that this <tex>u</tex> will solve P1. (The proof is nontrivial and uses Sobolev spaces.)<br />
<br />
By using integration by parts on the right-hand-side of (1), we obtain<br />
<br />
(2)<tex>\begin{align} \int_0^1 f(x)v(x) \, dx <br />
& = &\int_0^1 u''(x)v(x) \, dx \\ <br />
& = &u'(x)v(x)|_0^1-\int_0^1 u'(x)v'(x) \, dx \\ <br />
& = &-\int_0^1 u'(x)v'(x) \, dx = -\phi (u,v). \end{align}<br />
</tex><br />
<br />
where we have used the assumption that <tex>v(0) = v(1) = 0</tex>.<br />
<br />
===A proof outline of existence and uniqueness of the solution===<br />
<br />
We can define <tex>H_0^1(0,1)</tex> to be the absolutely continuous functions of <tex>(0,1)</tex> that are <tex>0</tex> at <tex>x = 0</tex> and <tex>x = 1</tex>. Such function are "once differentiable" and it turns out that the symmetric bilinear map <tex>\!\,\phi</tex> then defines an inner product which turns <tex>H_0^1(0,1)</tex> into a Hilbert space (a detailed proof is nontrivial.) On the other hand, the left-hand-side <tex>\int_0^1 f(x)v(x)dx</tex> is also an inner product, this time on the Lp space <tex>L2(0,1)</tex>. An application of the Riesz representation theorem for Hilbert spaces shows that there is a unique <tex>u</tex> solving (2) and therefore P1.<br />
<br />
===The variational form of P2===<br />
<br />
If we integrate by parts using a form of Green's theorem, we see that if u solves P2, then for any v,<br />
<br />
<tex>\int_{\Omega} fv\,ds = -\int_{\Omega} \nabla u \cdot \nabla v \, ds = -\phi(u,v),</tex><br />
<br />
where <math>\nabla</math> denotes the gradient and <math>\cdot</math> denotes the dot product in the two-dimensional plane. Once more <math>\,\!\phi</math> can be turned into an inner product on a suitable space <math>H_0^1(\Omega)</math> of "once differentiable" functions of <math>\Omega</math> that are zero on <math>\partial \Omega</math>. We have also assumed that <math>v \in H_0^1(\Omega)</math>. The space <math>H_0^1(\Omega)</math> can no longer be defined in terms of absolutely continuous functions, but see Sobolev spaces. Existence and uniqueness of the solution can also be shown.<br />
<br />
==Discretization==<br />
[[Image:Finite element method 1D illustration1.png|right|thumb|A function in ''H''<sup>1</sup><sub>0</sub>, with zero values at the endpoints (blue), and a piecewise linear approximation (red).]]<br />
[[Image:Piecewise linear function2D.png|right|thumb|A piecewise linear function in two dimensions.]]<br />
[[Image:Finite element method 1D illustration2.png|right|thumb|Basis functions ''v''<sub>''k''</sub> (blue) and a linear combination of them, which is piecewise linear (red).]]<br />
<br />
The basic idea is to replace the infinite dimensional linear problem:<br />
<br />
Find <tex>u \in H_0^1</tex> such that<br />
<tex>\forall v \in H_0^1</tex> ; <tex>-\phi(u,v)=\int fv</tex><br />
<br />
with a finite dimensional version:<br />
<br />
(3)Find <tex>u \in V</tex> such that<br />
<tex>\forall <tex>v \in V</tex> ; <tex>-\phi(u,v)=\int fv</tex><br />
<br />
where V is a finite dimensional subspace of <tex>H_0^1</tex>. There are many possible choices for V (one possibility leads to the spectral method). However, for the finite element method we take V to be a space of piecewise linear functions.<br />
<br />
For problem P1, we take the interval (0,1), choose <tex>x_n</tex> values 0 = <tex>x0</tex> < <tex>x_1</tex> < ... < <tex>x_n</tex> < <tex>x_{n+1}</tex> = 1 and we define V by<br />
<br />
<tex> \begin{matrix} V=\{v:[0,1] \rightarrow \Bbb R\;: v\mbox{ is continuous, }v|_{[x_k,x_{k+1}]} \mbox{ is linear for }\\ k=0,...,n \mbox{, and } v(0)=v(1)=0 \} \end{matrix}</tex><br />
<br />
where we define <tex>x_0 = 0</tex> and <tex>x_{n + 1} = 1</tex>. Observe that functions in V are not differentiable according to the elementary definition of calculus. Indeed, if <tex>v \in V</tex> then the derivative is typically not defined at any <tex>x = x_k, k = 1,...,n</tex>. However, the derivative exists at every other value of x and one can use this derivative for the purpose of integration by parts.<br />
<br />
For problem P2, we need V to be a set of functions of Ω. In the figure on the right, we have illustrated a triangulation of a 15 sided polygonal region Ω in the plane (below), and a piecewise linear function (above, in color) of this polygon which is linear on each triangle of the triangulation; the space V would consist of functions that are linear on each triangle of the chosen triangulation.<br />
<br />
One often reads <tex>V_h</tex> instead of V in the literature. The reason is that one hopes that as the underlying triangular grid becomes finer and finer, the solution of the discrete problem (3) will in some sense converge to the solution of the original boundary value problem P2. The triangulation is then indexed by a real valued parameter h > 0 which one takes to be very small. This parameter will be related to the size of the largest or average triangle in the triangulation. As we refine the triangulation, the space of piecewise linear functions V must also change with h, hence the notation <tex>V_h</tex>. Since we do not perform such an analysis, we will not use this notation.<br />
<br />
===Choosing a basis===<br />
<br />
To complete the discretization, we must select a basis of V. In the one-dimensional case, for each control point <tex>x_k</tex> we will choose the piecewise linear function <tex>v_k \in V</tex> whose value is 1 at <tex>x_k</tex> and zero at every <tex>x_j,\;j \neq k</tex>, i.e.,<br />
<br />
<tex>\Large v_{k}(x)=\begin{cases} {x-x_{k-1} \over x_k\,-x_{k-1}} & \mbox{ if } x \in [x_{k-1},x_k], \\ {x_{k+1}\,-x \over x_{k+1}\,-x_k} & \mbox{ if } x \in [x_k,x_{k+1}], \\ 0 & \mbox{ otherwise},\end{cases}</tex><br />
<br />
for k = 1,...,n; this basis is a shifted and scaled tent function. For the two-dimensional case, we choose again one basis function <tex>v_k</tex> per vertex <tex>x_k</tex> of the triangulation of the planar region Ω. The function <tex>v_k</tex> is the unique function of V whose value is 1 at <tex>x_k</tex> and zero at every <tex>x_j,\;j \neq k</tex>.<br />
<br />
Depending on the author, the word "element" in "finite element method" refers either to the triangles in the domain, the piecewise linear basis function, or both. So for instance, an author interested in curved domains might replace the triangles with curved primitives, in which case he might describe his elements as being curvilinear. On the other hand, some authors replace "piecewise linear" by "piecewise quadratic" or even "piecewise polynomial". The author might then say "higher order element" instead of "higher degree polynomial." Finite element method is not restricted to triangles (or tetrahedra in 3-D, or higher order simplexes in multidimensional spaces), but can be defined on quadrilateral sub-domains (hexahedra, prisms, or pyramids in 3-D, and so on). Higher order shapes (curvilinear elements) can be defined with polynomial and even non-polynomial shapes (e.g. ellipse or circle).<br />
<br />
Methods that use higher degree piecewise polynomial basis functions are often called spectral element methods, especially if the degree of the polynomials increases as the triangulation size h goes to zero.<br />
<br />
More advanced implementations (adaptive finite element methods) utilize a method to assess the quality of the results (based on error estimation theory) and modify the mesh during the solution aiming to achieve approximate solution within some bounds from the 'exact' solution of the continuum problem. Mesh adaptivity may utilize various techniques, the most popular are:<br />
<br />
* moving nodes (r-adaptivity)<br />
* refining (and un-refining) elements (h-adaptivity)<br />
* changing order of base functions (p-adaptivity)<br />
* combinations of the above (e.g. hp-adaptivity)<br />
<br />
===Small support of the basis===<br />
[[Image:Finite element triangulation.png|right|thumb|Solving the two-dimensional problem u_{xx}+u_{yy}=-4 in the disk centered at the origin and radius 1, with zero boundary conditions.(a) The triangulation.]]<br />
[[Image:Finite element sparse matrix.png|right|thumb|(b) The sparse matrix ''L'' of the discretized linear system.]]<br />
[[Image:Finite element solution.png|right|thumb|(c) The computed solution,<br />
u(x, y)=1-x^2-y^2.]]<br />
<br />
The primary advantage of this choice of basis is that the inner products<br />
<br />
<tex>\langle v_j,v_k \rangle=\int_0^1 v_j v_k\,dx</tex><br />
<br />
and<br />
<br />
<tex>\phi(v_j,v_k)=\int_0^1 v_j' v_k'\,dx</tex><br />
<br />
will be zero for almost all j,k. In the one dimensional case, the support of <math>v_k</math> is the interval <tex>[x_{k-1},x_{k+1}]</tex>. Hence, the integrands of <math>\langle v_j,v_k \rangle</math> and <math>Φ(vj,vk)</math> are identically zero whenever <tex>| j - k | > 1</tex>.<br />
<br />
Similarly, in the planar case, if <math>x_j</math> and <math>x_k</math> do not share an edge of the triangulation, then the integrals<br />
<br />
<tex> \int_{\Omega} v_j v_k\,ds</tex><br />
<br />
and<br />
<br />
<tex>\int_{\Omega} \nabla v_j \cdot \nabla v_k\,ds</tex><br />
<br />
are both zero.<br />
<br />
===Matrix form of the problem===<br />
<br />
If we write <math>u(x)=\sum_{k=1}^n u_k v_k(x)</math> and <math>f(x)=\sum_{k=1}^n f_k v_k(x)</math> then problem (3) becomes<br />
<br />
(4)<tex>-\sum_{k=1}^n u_k \phi (v_k,v_j) = \sum_{k=1}^n f_k \int v_k v_j for j = 1,...,n.</tex><br />
<br />
If we denote by <math>\mathbf{u}</math> and <math>\mathbf{f}</math> the column vectors <math>(u_1,...,u_n)t</math> and <math>(f_1,...,f_n)t</math>, and if let <math>L = (L_{ij})</math> and <math>M = (M_{ij})</math> be matrices whose entries are <math>L_{ij} = φ(v_i,v_j)</math> and <math>M_{ij}=\int v_i v_j</math> then we may rephrase (4) as<br />
<br />
(5)<tex>-L \mathbf{u} = M \mathbf{f}.</tex><br />
<br />
As we have discussed before, most of the entries of <math>L</math> and <math>M</math> are zero because the basis functions <math>v_k</math> have small support. So we now have to solve a linear system in the unknown <math>\mathbf{u}</math> where most of the entries of the matrix <math>L</math>, which we need to invert, are zero.<br />
<br />
Such matrices are known as sparse matrices, and there are efficient solvers for such problems (much more efficient than actually inverting the matrix.) In addition, <math>L</math> is symmetric and positive definite, so a technique such as the conjugate gradient method is favored. For problems that are not too large, sparse LU decompositions and Cholesky decompositions still work well. For instance, Matlab's backslash operator (which is based on sparse LU) can be sufficient for meshes with a hundred thousand vertices.<br />
<br />
The matrix <math>L</math> is usually referred to as the stiffness matrix, while the matrix <math>M</math> is dubbed the mass matrix. Compare this to the simplistic case of a single spring governed by the equation is Kx = f, where K is the stiffness, x (or u) is the displacement and f is force.<br />
<br />
===General form of the finite element method===<br />
<br />
In general, the finite element method is characterized by the following process.<br />
<br />
* One chooses a grid for <math>\Omega</math>. In the preceding treatment, the grid consisted of triangles, but one can also use squares or curvilinear polygons.<br />
* Then, one chooses basis functions. In our discussion, we used piecewise linear basis functions, but it is also common to use piecewise polynomial basis functions.<br />
<br />
A separate consideration is the smoothness of the basis functions. For second order elliptic boundary value problems, piecewise polynomial basis function that are merely continuous suffice (i.e., the derivatives are discontinuous.) For higher order partial differential equations, one must use smoother basis functions. For instance, for a fourth order problem such as <math>u_{xxxx} + u_{yyyy} = f</math>, one may use piecewise quadratic basis functions that are C1.<br />
<br />
Typically, one has an algorithm for taking a given mesh and subdividing it. If the main method for increasing precision is to subdivide the mesh, one has an h-method (h is customarily the diameter of the largest element in the mesh.) In this manner, if one shows that the error with a grid h is bounded above by Chp, for some <math>C<\infty</math> and <math>p > 0</math>, then one has an order p method. Under certain hypotheses (for instance, if the domain is convex), a piecewise polynomial of order d method will have an error of order p = d + 1.<br />
<br />
If instead of making h smaller, one increases the degree of the polynomials used in the basis function, one has a p-method. If one simultaneously makes h smaller while making p larger, one has an hp-method. High order method (with large p) are called spectral element methods, which are not to be confused with spectral methods.<br />
<br />
For vector partial differential equations, the basis functions may take values in <math>\mathbb{R}^n</math>.<br />
<br />
==Comparison to the finite difference method==<br />
<br />
The finite difference method (FDM) is an alternative way for solving PDEs. The differences between FEM and FDM are:<br />
<br />
* The finite difference method is an approximation to the differential equation; the finite element method is an approximation to its solution.<br />
<br />
* The most attractive feature of the FEM is its ability to handle complex geometries (and boundaries) with relative ease. While FDM in its basic form is restricted to handle rectangular shapes and simple alterations thereof, the handling of geometries in FEM is theoretically straightforward.<br />
* The most attractive feature of finite differences is that it can be very easy to implement.<br />
<br />
* There are several ways one could consider the FDM a special case of the FEM approach. One might choose basis functions as either piecewise constant functions or Dirac delta functions. In both approaches, the approximations are defined on the entire domain, but need not be continuous. Alternatively, one might define the function on a discrete domain, with the result that the continuous differential operator no longer makes sense, however this approach is not FEM.<br />
<br />
* There are reasons to consider the mathematical foundation of the finite element approximation more sound, for instance, because the quality of the approximation between grid points is poor in FDM.<br />
<br />
* The quality of a FEM approximation is often higher than in the corresponding FDM approach, but this is extremely problem dependent and several examples to the contrary can be provided.<br />
<br />
Generally, FEM is the method of choice in all types of analysis in structural mechanics (i.e. solving for deformation and stresses in solid bodies or dynamics of structures) while computational fluid dynamics (CFD) tends to use FDM or other methods (e.g., finite volume method). CFD problems usually require discretization of the problem into a large number of cells/gridpoints (millions and more), therefore cost of the solution favors simpler, lower order approximation within each cell. This is especially true for 'external flow' problems, like air flow around the car or airplane, or weather simulation in a large area.<br />
<br />
There are many finite element software packages, some free and some proprietary.<br />
<br />
==References==<br />
* [http://www.edwilson.org/History/fe-history.pdf|Clough, Ray W.; Edward L. Wilson. Early Finite Element Research at Berkeley (PDF). Retrieved on 2007-10-25.]<br />
<br />
==Bibliography==<br />
* [http://en.wikipedia.org/wiki/Finite_element_method Wikipedia, the free encyclopdia]</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Proj:CAELinuxWizards2011&diff=7146Proj:CAELinuxWizards20112011-10-30T17:07:13Z<p>Wikiadmin: Undo revision 7145 by Wikiadmin (Talk)</p>
<hr />
<div>Here are some GUI Wizards that I have developed for CAELinux 2011.<br />
<br />
All are coded in Python with TkInter GUI. These are simple applications so it should not be too complicated to understand and improve. Everything is in one file, and variables are defined in the first part of the .py file. Normally, these tools are supposed to be installed in /opt/caelinux, but you can change the paths by editing the files.<br />
<br />
<br />
== Code-Aster Wizard GUI 2011 ==<br />
<br />
This wizard simplifies the creation of an ASTER Job starting from a MED Mesh file produced in Salome. It automates the creation of study folder, a basic ASTK profile and allows to pick one predefined Command (.comm) template to start with. New templates have been added in this release, like for example Thermal analysis and Nonlinear Statics.<br />
<br />
<br />
[[Media:CodeAsterWizard2011.tar.gz]]<br />
<br />
<br />
== Code-Saturne Wizard GUI 2011 ==<br />
<br />
This wizard simplifies the creation of a Code-Saturne study starting from a MED Mesh file produced in Salome. It automates the creation of study folder, copy the the mesh file in the right place and runs Code-Saturne GUI for problem definition. <br />
<br />
<br />
[[Media:CodeSaturneWizard2011.tar.gz]]<br />
<br />
<br />
== OpenFOAM Wizard GUI 2011 ==<br />
<br />
This wizard simplifies the creation of an OpenFOAM steady state flow study (SimpleFOAM solver) starting from a UNV Mesh file produced in Salome. It automates the creation of study folder, copy and import the mesh file and prepares boundary condition files (constant/polyMesh/boundary, 0/U, 0/p, ...) to define Inlet, Outlet, Walls and Symmetry patches. The produced study is then ready to run and shell scripts are predefined to simplify job execution on a single cpu or parallel, to run the post processor and to clean the results.<br />
<br />
<br />
[[Media:SimpleFOAMWizard2011.tar.gz]]<br />
<br />
<br />
<br />
'''Licence: these tools are developed by Joel Cugnoni for CAELinux, they are distributed in GPL v2 licence'''</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Proj:CAELinuxWizards2011&diff=7145Proj:CAELinuxWizards20112011-10-30T17:06:28Z<p>Wikiadmin: </p>
<hr />
<div>Here are some GUI Wizards that I have developed for CAELinux 2011.<br />
<br />
All are coded in Python with TkInter GUI. These are simple applications so it should not be too complicated to understand and improve. Everything is in one file, and variables are defined in the first part of the .py file. Normally, these tools are supposed to be installed in /opt/caelinux, but you can change the paths by editing the files.<br />
<br />
<br />
== Code-Aster Wizard GUI 2011 ==<br />
<br />
This wizard simplifies the creation of an ASTER Job starting from a MED Mesh file produced in Salome. It automates the creation of study folder, a basic ASTK profile and allows to pick one predefined Command (.comm) template to start with. New templates have been added in this release, like for example Thermal analysis and Nonlinear Statics.<br />
<br />
<br />
[[Media:CodeAsterWizard2011.tar.gz]]<br />
<br />
<br />
== Code-Saturne Wizard GUI 2011 ==<br />
<br />
This wizard simplifies the creation of a Code-Saturne study starting from a MED Mesh file produced in Salome. It automates the creation of study folder, copy the the mesh file in the right place and runs Code-Saturne GUI for problem definition. <br />
<br />
<br />
[[Media:CodeSaturneWizard2011.tar.gz]]<br />
<br />
<br />
== OpenFOAM Wizard GUI 2011 ==<br />
<br />
This wizard simplifies the creation of an OpenFOAM steady state flow study (SimpleFOAM solver) starting from a UNV Mesh file produced in Salome. It automates the creation of study folder, copy and import the mesh file and prepares boundary condition files (constant/polyMesh/boundary, 0/U, 0/p, ...) to define Inlet, Outlet, Walls and Symmetry patches. The produced study is then ready to run and shell scripts are predefined to simplify job execution on a single cpu or parallel, to run the post processor and to clean the results.<br />
<br />
<br />
[[Media:SimpleFOAMWizard2011.tar.gz]]<br />
<br />
<br />
<br />
'''Licence: these tools are developed by Joel Cugnoni for CAELinux, they are distributed in GPL v2 licence'''<br />
<br />
<br />
test ConfirmEdit</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Main_Page&diff=7144Main Page2011-10-30T16:53:21Z<p>Wikiadmin: </p>
<hr />
<div>__NOTOC__<br />
= '''Welcome to the CAELinux Community Portal''' =<br />
Welcome to CAELinux Community Portal, the best place to share your experience & knowledge with all the users of CAELinux.<br />
<br /><br />
<!-------------------------------------------------<br />
INDEX<br />
---------------------------------------------------><br />
{| width="100%" style="border-spacing:0px;" style="width: 100%; border:1px solid #190707; background-color:#ffffff; vertical-align:top; -moz-border-radius:10px"<br />
|-<br />
|<br />
<br />
<!-- Nested Table for Index Top --><br />
{| width="100%" cellpadding="1" cellspacing="2" style="vertical-align:top; background-color: #ffffff; -moz-border-radius:10px"<br />
!<br />
== ''Introduction'' ==<br />
|-<br />
| <br />
|}<br />
<br />
This site is based on the model of a collaborative Wiki (like [http://www.wikipedia.com Wikipedia]) and everybody is welcome to contribute to its content. <br />
<br />
The only rule is this: Create an account & start sharing your experience with other users!<br />
<br />
''For Editors, please respect the sections structures by using the correct Section prefix in new page names (like'' '''Doc:MyTutorial''' <br />
'')''<br />
<br />
''If you are planning to edit some page in this wiki and want some help about how to do it , please check this very usefull guide before modify some important resource.''<br />
<br />
''Link: http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page''<br />
<br />
If you don't know what CAELinux is, jump to this site: [http://www.caelinux.com CAELinux.com]<br />
<br />
<!---------------------------------<br />
Design Notes<br />
-----------------------------------><br />
|-<br />
|&nbsp;<br />
|}<br />
<br />
<!-----------------------------<br />
News Styles<br />
-----------------------------------><br />
{| style="border-spacing:8px;margin:0px -8px"<br />
|class="MainPageBG" style="width: 50%; border: 1px solid #190707; background-color: #ffffff; vertical-align: top; -moz-border-radius:10px" | <br />
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background-color:#ffffff; -moz-border-radius:10px"<br />
<!---------------------------------<br />
¿Qué es un Wiki??<br />
-----------------------------------><br />
!<br />
== ''CAELinux Documentation'' ==<br />
<br />
|-<br />
| <br />
''Note: these categories are being reorganized... expect some changes soon''<br />
<br />
* '''[[Doc:Main]]''' This section contains all the tutorial / documents to learn how to use CAELinux in an efficient way <br />
<br />
* '''[[Doc:PCLinuxOS]]''' Contains the documents related to the Linux operating system (PCLinuxOS) used in older CAELinux releases<br />
<br />
* '''[[Doc:CAE]]''' Contains the documents related to the CAE softwares included in CAELinux<br />
<br />
* '''[[Doc:CAETutorials]]''' Contains a list of tutorials related to the CAE softwares included in CAELinux<br />
<br />
* '''[[Doc:FEM Learning]]''' Contains documents about The Finite Element Method<br />
<br />
* '''[[Doc:FAQ]]''' Frequently Asked Questions<br />
<br />
* '''[[Doc:Salome]]''' Salome and Salome-Meca documentation<br />
<br />
* '''[[Doc:Code-Aster]]''' Code-Aster documentation and tutorials<br />
<br />
* '''[[Doc:Code-Saturne]]''' Code-Saturne documentation and tutorials<br />
<br />
* '''[[Doc:OpenFOAM]]''' OpenFOAM documentation and tutorials<br />
<br />
* '''[[Doc:Calculix]]''' Calculix documentation and tutorials<br />
<br />
* '''[[Doc:ElmerFEM]]''' Elmer FEM documentation and tutorials<br />
<br />
* '''[[Doc:Impact]]''' Impact documentation and tutorials<br />
<br />
* '''[[Doc:Interop]]''' Is the section for discussing / sharing experience about CAE software interoperability / file formats conversion <br />
<br />
* '''[[Doc:Trans]]''' Is the main section for finalized translated documents & internationalization patches<br />
<br />
<br />
|}<br />
<!-------------------------------------<br />
Right sided column<br />
----------------------------------------><br />
|class="MainPageBG" style="border:1px solid #190707; background-color:#ffffff; vertical-align:top; -moz-border-radius:10px"| <!-- <div style="margin: 4px 4px 2px 4px; text-align: left;"> --><br />
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align: top; background-color:#ffffff; -moz-border-radius:10px;"<br />
|-<br />
<!---------------------------------<br />
¡Puede comenzar su propio Wiki '''gratis''' ahora!<br />
-----------------------------------><br />
!<br />
<br />
== ''Content'' ==<br />
<br />
|-<br />
| style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size: 100%" |<br />
<br />
== Sections of the Wiki ==<br />
<br />
* '''[[Doc:Main]]''' Main page of the Documentation section.<br />
<br />
* '''[[Proj:Main]]''' Main page of the Project section.<br />
<br />
* '''[[Contrib:Main]]''' Main page of the Contrib section.<br />
<br />
* '''[[Sandbox]]''' Please use this section to learn how to use the Wiki.<br />
<br />
* '''[[Proposed Interface]]''' There is some discussion on how to make the tutorials more assessable, here is one method<br />
<br />
== Development & Projects ==<br />
<br />
* '''[[Proj:Main]]''' This section provides a space for collaborative projects related to CAELinux, like internationalization efforts, file conversion utilities, utilities, etc... <br />
<br />
* '''[[Proj:CodeAsterIntl]]''' The main page for the translation of the documentation & software related to Code_Aster<br />
<br />
* '''[[Proj:UNVConvert]]''' The page of the UNV2X / X2UNV file conversion utilities<br />
<br />
* '''[[Proj:MedAba]]''' Mesh converter from Salomé MED format to Calculix / Abaqus INP format<br />
<br />
* '''[[Proj:CAELinuxWizards2011]]''' CAELinux 2011 GUI Wizards for Code-Aster, Code-Saturne and OpenFOAM SimpleFOAM <br />
|}<br />
|}<br />
<br />
{| width="100%" style="border-spacing:0px;" style="width: 100%; border:1px solid #190707; background-color:#ffffff; vertical-align:top; -moz-border-radius:10px"<br />
|-<br />
|<br />
<table><tr valign="top"><td width="50%"><br />
<div style="font-size: 105%; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold;"><br />
<br />
== ''Special pages'' ==<br />
<br />
* '''[[Special:Allpages]]''': The ideal view to see all the pages of this Wiki.<br />
<br />
* '''[[Special:Recentchanges]]''': View all the recent changes in the pages of this Wiki.<br />
<br />
* '''[[Special:Imagelist]]''': List of all the uploaded files.<br />
<br />
* '''[[Special:Listusers]]''': List of all the registered users / contributors of this Wiki.</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Main_Page&diff=7143Main Page2011-10-30T16:51:52Z<p>Wikiadmin: /* Development & Projects */</p>
<hr />
<div>__NOTOC__<br />
= '''Welcome to the CAELinux Community Portal''' =<br />
Welcome to CAELinux Community Portal, the best place to share your experience & knowledge with all the users of CAELinux.<br />
<br /><br />
<!-------------------------------------------------<br />
INDEX<br />
---------------------------------------------------><br />
{| width="100%" style="border-spacing:0px;" style="width: 100%; border:1px solid #190707; background-color:#ffffff; vertical-align:top; -moz-border-radius:10px"<br />
|-<br />
|<br />
<br />
<!-- Nested Table for Index Top --><br />
{| width="100%" cellpadding="1" cellspacing="2" style="vertical-align:top; background-color: #ffffff; -moz-border-radius:10px"<br />
!<br />
== ''Introduction'' ==<br />
|-<br />
| <br />
|}<br />
<br />
This site is based on the model of a collaborative Wiki (like [http://www.wikipedia.com Wikipedia]) and everybody is welcome to contribute to its content. <br />
<br />
The only rule is this: Create an account & start sharing your experience with other users!<br />
<br />
''For Editors, please respect the sections structures by using the correct Section prefix in new page names (like'' '''Doc:MyTutorial''' <br />
'')''<br />
<br />
''If you are planning to edit some page in this wiki and want some help about how to do it , please check this very usefull guide before modify some important resource.''<br />
<br />
''Link: http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page''<br />
<br />
If you don't know what CAELinux is, jump to this site: [http://www.caelinux.com CAELinux.com]<br />
<br />
<!---------------------------------<br />
Design Notes<br />
-----------------------------------><br />
|-<br />
|&nbsp;<br />
|}<br />
<br />
<!-----------------------------<br />
News Styles<br />
-----------------------------------><br />
{| style="border-spacing:8px;margin:0px -8px"<br />
|class="MainPageBG" style="width: 50%; border: 1px solid #190707; background-color: #ffffff; vertical-align: top; -moz-border-radius:10px" | <br />
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background-color:#ffffff; -moz-border-radius:10px"<br />
<!---------------------------------<br />
¿Qué es un Wiki??<br />
-----------------------------------><br />
!<br />
== ''CAELinux Documentation'' ==<br />
<br />
|-<br />
| <br />
''Note: these categories are being reorganized... expect some changes soon''<br />
<br />
* '''[[Doc:Main]]''' This section contains all the tutorial / documents to learn how to use CAELinux in an efficient way <br />
<br />
* '''[[Doc:PCLinuxOS]]''' Contains the documents related to the Linux operating system (PCLinuxOS) used in older CAELinux releases<br />
<br />
* '''[[Doc:CAE]]''' Contains the documents related to the CAE softwares included in CAELinux<br />
<br />
* '''[[Doc:CAETutorials]]''' Contains a list of tutorials related to the CAE softwares included in CAELinux<br />
<br />
* '''[[Doc:FEM Learning]]''' Contains documents about The Finite Element Method<br />
<br />
* '''[[Doc:FAQ]]''' Frequently Asked Questions<br />
<br />
* '''[[Doc:Salome]]''' Salome and Salome-Meca documentation<br />
<br />
* '''[[Doc:Code-Aster]]''' Code-Aster documentation and tutorials<br />
<br />
* '''[[Doc:Code-Saturne]]''' Code-Saturne documentation and tutorials<br />
<br />
* '''[[Doc:OpenFOAM]]''' OpenFOAM documentation and tutorials<br />
<br />
* '''[[Doc:Calculix]]''' Calculix documentation and tutorials<br />
<br />
* '''[[Doc:ElmerFEM]]''' Elmer FEM documentation and tutorials<br />
<br />
* '''[[Doc:Impact]]''' Impact documentation and tutorials<br />
<br />
* '''[[Doc:Interop]]''' Is the section for discussing / sharing experience about CAE software interoperability / file formats conversion <br />
<br />
* '''[[Doc:Trans]]''' Is the main section for finalized translated documents & internationalization patches<br />
<br />
<br />
|}<br />
<!-------------------------------------<br />
Right sided column<br />
----------------------------------------><br />
|class="MainPageBG" style="border:1px solid #190707; background-color:#ffffff; vertical-align:top; -moz-border-radius:10px"| <!-- <div style="margin: 4px 4px 2px 4px; text-align: left;"> --><br />
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align: top; background-color:#ffffff; -moz-border-radius:10px;"<br />
|-<br />
<!---------------------------------<br />
¡Puede comenzar su propio Wiki '''gratis''' ahora!<br />
-----------------------------------><br />
!<br />
<br />
== ''Content'' ==<br />
<br />
|-<br />
| style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size: 100%" |<br />
<br />
== Sections of the Wiki ==<br />
<br />
* '''[[Doc:Main]]''' Main page of the Documentation section.<br />
<br />
* '''[[Proj:Main]]''' Main page of the Project section.<br />
<br />
* '''[[Contrib:Main]]''' Main page of the Contrib section.<br />
<br />
* '''[[Sandbox]]''' Please use this section to learn how to use the Wiki.<br />
<br />
* '''[[Proposed Interface]]''' There is some discussion on how to make the tutorials more assessable, here is one method<br />
<br />
== Development & Projects ==<br />
<br />
* '''[[Proj:Main]]''' This section provides a space for collaborative projects related to CAELinux, like internationalization efforts, file conversion utilities, utilities, etc... <br />
<br />
* '''[[Proj:CodeAsterIntl]]''' The main page for the translation of the documentation & software related to Code_Aster<br />
<br />
* '''[[Proj:UNVConvert]]''' The page of the UNV2X / X2UNV file conversion utilities<br />
<br />
* '''[[Proj:MedAba]]''' Mesh converter from Salomé MED format to Calculix / Abaqus INP format<br />
<br />
* '''[[Proj:CAELinuxWizards2011]]''' CAELinux 2011 GUI Wizards for Code-Aster, Code-Saturne and OpenFOAM SimpleFOAM |}<br />
|}<br />
<br />
{| width="100%" style="border-spacing:0px;" style="width: 100%; border:1px solid #190707; background-color:#ffffff; vertical-align:top; -moz-border-radius:10px"<br />
|-<br />
|<br />
<table><tr valign="top"><td width="50%"><br />
<div style="font-size: 105%; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold;"><br />
<br />
== ''Special pages'' ==<br />
<br />
* '''[[Special:Allpages]]''': The ideal view to see all the pages of this Wiki.<br />
<br />
* '''[[Special:Recentchanges]]''': View all the recent changes in the pages of this Wiki.<br />
<br />
* '''[[Special:Imagelist]]''': List of all the uploaded files.<br />
<br />
* '''[[Special:Listusers]]''': List of all the registered users / contributors of this Wiki.</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Proj:CAELinuxWizards2011&diff=7142Proj:CAELinuxWizards20112011-10-30T16:49:11Z<p>Wikiadmin: </p>
<hr />
<div>Here are some GUI Wizards that I have developed for CAELinux 2011.<br />
<br />
All are coded in Python with TkInter GUI. These are simple applications so it should not be too complicated to understand and improve. Everything is in one file, and variables are defined in the first part of the .py file. Normally, these tools are supposed to be installed in /opt/caelinux, but you can change the paths by editing the files.<br />
<br />
<br />
== Code-Aster Wizard GUI 2011 ==<br />
<br />
This wizard simplifies the creation of an ASTER Job starting from a MED Mesh file produced in Salome. It automates the creation of study folder, a basic ASTK profile and allows to pick one predefined Command (.comm) template to start with. New templates have been added in this release, like for example Thermal analysis and Nonlinear Statics.<br />
<br />
<br />
[[Media:CodeAsterWizard2011.tar.gz]]<br />
<br />
<br />
== Code-Saturne Wizard GUI 2011 ==<br />
<br />
This wizard simplifies the creation of a Code-Saturne study starting from a MED Mesh file produced in Salome. It automates the creation of study folder, copy the the mesh file in the right place and runs Code-Saturne GUI for problem definition. <br />
<br />
<br />
[[Media:CodeSaturneWizard2011.tar.gz]]<br />
<br />
<br />
== OpenFOAM Wizard GUI 2011 ==<br />
<br />
This wizard simplifies the creation of an OpenFOAM steady state flow study (SimpleFOAM solver) starting from a UNV Mesh file produced in Salome. It automates the creation of study folder, copy and import the mesh file and prepares boundary condition files (constant/polyMesh/boundary, 0/U, 0/p, ...) to define Inlet, Outlet, Walls and Symmetry patches. The produced study is then ready to run and shell scripts are predefined to simplify job execution on a single cpu or parallel, to run the post processor and to clean the results.<br />
<br />
<br />
[[Media:SimpleFOAMWizard2011.tar.gz]]<br />
<br />
<br />
<br />
'''Licence: these tools are developed by Joel Cugnoni for CAELinux, they are distributed in GPL v2 licence'''</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=File:SimpleFOAMWizard2011.tar.gz&diff=7141File:SimpleFOAMWizard2011.tar.gz2011-10-30T16:48:41Z<p>Wikiadmin: OpenFOAM SimpleFOAM GUI Wizard 2011</p>
<hr />
<div>OpenFOAM SimpleFOAM GUI Wizard 2011</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=File:CodeSaturneWizard2011.tar.gz&diff=7140File:CodeSaturneWizard2011.tar.gz2011-10-30T16:48:06Z<p>Wikiadmin: Code-Saturne GUI Wizard 2011</p>
<hr />
<div>Code-Saturne GUI Wizard 2011</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=File:CodeAsterWizard2011.tar.gz&diff=7139File:CodeAsterWizard2011.tar.gz2011-10-30T16:47:30Z<p>Wikiadmin: Code-Aster GUI Wizard 2011</p>
<hr />
<div>Code-Aster GUI Wizard 2011</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Proj:CAELinuxWizards2011&diff=7138Proj:CAELinuxWizards20112011-10-30T16:33:40Z<p>Wikiadmin: New page: Here are some GUI Wizards that I have developed for CAELinux 2011. All are coded in Python with TkInter GUI. These are simple applications so it should not be too complicated to understan...</p>
<hr />
<div>Here are some GUI Wizards that I have developed for CAELinux 2011.<br />
<br />
All are coded in Python with TkInter GUI. These are simple applications so it should not be too complicated to understand and improve. Everything is in one file, and variables are defined in the first part of the .py file. Normally, these tools are supposed to be installed in /opt/caelinux, but you can change the paths by editing the files.<br />
<br />
<br />
== Code-Aster Wizard GUI 2011 ==<br />
<br />
This wizard simplifies the creation of an ASTER Job starting from a MED Mesh file produced in Salome. It automates the creation of study folder, a basic ASTK profile and allows to pick one predefined Command (.comm) template to start with. New templates have been added in this release, like for example Thermal analysis and Nonlinear Statics.<br />
<br />
<br />
[[Media:CodeAsterWizard2011]]<br />
<br />
<br />
== Code-Saturne Wizard GUI 2011 ==<br />
<br />
This wizard simplifies the creation of a Code-Saturne study starting from a MED Mesh file produced in Salome. It automates the creation of study folder, copy the the mesh file in the right place and runs Code-Saturne GUI for problem definition. <br />
<br />
<br />
[[Media:CodeSaturneWizard2011]]<br />
<br />
<br />
== OpenFOAM Wizard GUI 2011 ==<br />
<br />
This wizard simplifies the creation of an OpenFOAM steady state flow study (SimpleFOAM solver) starting from a UNV Mesh file produced in Salome. It automates the creation of study folder, copy and import the mesh file and prepares boundary condition files (constant/polyMesh/boundary, 0/U, 0/p, ...) to define Inlet, Outlet, Walls and Symmetry patches. The produced study is then ready to run and shell scripts are predefined to simplify job execution on a single cpu or parallel, to run the post processor and to clean the results.<br />
<br />
<br />
[[Media:SimpleFOAMWizard2011]]<br />
<br />
<br />
<br />
'''Licence: these tools are developed by Joel Cugnoni for CAELinux, they are distributed in GPL v2 licence'''</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Proj:Main&diff=7137Proj:Main2011-10-30T16:20:04Z<p>Wikiadmin: </p>
<hr />
<div>=== 2. Projects ===<br />
[[Proj:Main]] This section provides a space for collaborative projects related to CAELinux, like internationalization efforts, file conversion utilities, utilities etc...<br />
<br />
==== 2.1 Code-Aster Internationalization projects ====<br />
[[Proj:CodeAsterIntl]] The main page for the translation of the documentation & softwares related to Code-Aster <br />
<br />
==== 2.2 Mesh conversion utilities ====<br />
[[Proj:UNVConvert]] UNV2X is a collection of simple python scripts for conversion of I-Deas UNV meshes to "whatever format"<br />
<br />
[[Proj:MedAba]] MedAba (by Otto Ernst Bernhardi): a tool to convert Salome MED Meshes to Calculix INP format<br />
<br />
==== 2.3 "Helpers": a collection of tools to simplify the interoperability of OpenSource CAE softwares (CAELinux 2007) ====<br />
[[Proj:HelpersTools]] This page describes a set of tools / wizards designed to simplify the work with OpenSource CAE softwares.<br />
Visit this page to download the latest version of these tools (corresponds to the directory "/opt/helpers" of CAELinux).<br />
<br />
==== 2.4 "CAELinux Wizards": a collection of GUI Wizards tools to simplify the use of OpenSource CAE softwares (CAELinux 2011) ====<br />
[[Proj:CAELinuxWizards2011]] This page describes a set of wizards designed to simplify the work with OpenSource CAE softwares like Code-Aster, Code-Saturne or OpenFOAM. These tools correspond to what is installed in the directory "/opt/caelinux" of CAELinux.</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Main_Page&diff=7136Main Page2011-10-30T16:15:45Z<p>Wikiadmin: /* ''Content'' */</p>
<hr />
<div>__NOTOC__<br />
= '''Welcome to the CAELinux Community Portal''' =<br />
Welcome to CAELinux Community Portal, the best place to share your experience & knowledge with all the users of CAELinux.<br />
<br /><br />
<!-------------------------------------------------<br />
INDEX<br />
---------------------------------------------------><br />
{| width="100%" style="border-spacing:0px;" style="width: 100%; border:1px solid #190707; background-color:#ffffff; vertical-align:top; -moz-border-radius:10px"<br />
|-<br />
|<br />
<br />
<!-- Nested Table for Index Top --><br />
{| width="100%" cellpadding="1" cellspacing="2" style="vertical-align:top; background-color: #ffffff; -moz-border-radius:10px"<br />
!<br />
== ''Introduction'' ==<br />
|-<br />
| <br />
|}<br />
<br />
This site is based on the model of a collaborative Wiki (like [http://www.wikipedia.com Wikipedia]) and everybody is welcome to contribute to its content. <br />
<br />
The only rule is this: Create an account & start sharing your experience with other users!<br />
<br />
''For Editors, please respect the sections structures by using the correct Section prefix in new page names (like'' '''Doc:MyTutorial''' <br />
'')''<br />
<br />
''If you are planning to edit some page in this wiki and want some help about how to do it , please check this very usefull guide before modify some important resource.''<br />
<br />
''Link: http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page''<br />
<br />
If you don't know what CAELinux is, jump to this site: [http://www.caelinux.com CAELinux.com]<br />
<br />
<!---------------------------------<br />
Design Notes<br />
-----------------------------------><br />
|-<br />
|&nbsp;<br />
|}<br />
<br />
<!-----------------------------<br />
News Styles<br />
-----------------------------------><br />
{| style="border-spacing:8px;margin:0px -8px"<br />
|class="MainPageBG" style="width: 50%; border: 1px solid #190707; background-color: #ffffff; vertical-align: top; -moz-border-radius:10px" | <br />
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background-color:#ffffff; -moz-border-radius:10px"<br />
<!---------------------------------<br />
¿Qué es un Wiki??<br />
-----------------------------------><br />
!<br />
== ''CAELinux Documentation'' ==<br />
<br />
|-<br />
| <br />
''Note: these categories are being reorganized... expect some changes soon''<br />
<br />
* '''[[Doc:Main]]''' This section contains all the tutorial / documents to learn how to use CAELinux in an efficient way <br />
<br />
* '''[[Doc:PCLinuxOS]]''' Contains the documents related to the Linux operating system (PCLinuxOS) used in older CAELinux releases<br />
<br />
* '''[[Doc:CAE]]''' Contains the documents related to the CAE softwares included in CAELinux<br />
<br />
* '''[[Doc:CAETutorials]]''' Contains a list of tutorials related to the CAE softwares included in CAELinux<br />
<br />
* '''[[Doc:FEM Learning]]''' Contains documents about The Finite Element Method<br />
<br />
* '''[[Doc:FAQ]]''' Frequently Asked Questions<br />
<br />
* '''[[Doc:Salome]]''' Salome and Salome-Meca documentation<br />
<br />
* '''[[Doc:Code-Aster]]''' Code-Aster documentation and tutorials<br />
<br />
* '''[[Doc:Code-Saturne]]''' Code-Saturne documentation and tutorials<br />
<br />
* '''[[Doc:OpenFOAM]]''' OpenFOAM documentation and tutorials<br />
<br />
* '''[[Doc:Calculix]]''' Calculix documentation and tutorials<br />
<br />
* '''[[Doc:ElmerFEM]]''' Elmer FEM documentation and tutorials<br />
<br />
* '''[[Doc:Impact]]''' Impact documentation and tutorials<br />
<br />
* '''[[Doc:Interop]]''' Is the section for discussing / sharing experience about CAE software interoperability / file formats conversion <br />
<br />
* '''[[Doc:Trans]]''' Is the main section for finalized translated documents & internationalization patches<br />
<br />
<br />
|}<br />
<!-------------------------------------<br />
Right sided column<br />
----------------------------------------><br />
|class="MainPageBG" style="border:1px solid #190707; background-color:#ffffff; vertical-align:top; -moz-border-radius:10px"| <!-- <div style="margin: 4px 4px 2px 4px; text-align: left;"> --><br />
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align: top; background-color:#ffffff; -moz-border-radius:10px;"<br />
|-<br />
<!---------------------------------<br />
¡Puede comenzar su propio Wiki '''gratis''' ahora!<br />
-----------------------------------><br />
!<br />
<br />
== ''Content'' ==<br />
<br />
|-<br />
| style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size: 100%" |<br />
<br />
== Sections of the Wiki ==<br />
<br />
* '''[[Doc:Main]]''' Main page of the Documentation section.<br />
<br />
* '''[[Proj:Main]]''' Main page of the Project section.<br />
<br />
* '''[[Contrib:Main]]''' Main page of the Contrib section.<br />
<br />
* '''[[Sandbox]]''' Please use this section to learn how to use the Wiki.<br />
<br />
* '''[[Proposed Interface]]''' There is some discussion on how to make the tutorials more assessable, here is one method<br />
<br />
== Development & Projects ==<br />
<br />
* '''[[Proj:Main]]''' This section provides a space for collaborative projects related to CAELinux, like internationalization efforts, file conversion utilities, utilities, etc... <br />
<br />
* '''[[Proj:CodeAsterIntl]]''' The main page for the translation of the documentation & software related to Code_Aster<br />
<br />
* '''[[Proj:UNVConvert]]''' The page of the UNV2X / X2UNV file conversion utilities<br />
<br />
* '''[[Proj:MedAba]]''' Mesh converter from Salomé MED format to Calculix / Abaqus INP format<br />
<br />
|}<br />
|}<br />
<br />
{| width="100%" style="border-spacing:0px;" style="width: 100%; border:1px solid #190707; background-color:#ffffff; vertical-align:top; -moz-border-radius:10px"<br />
|-<br />
|<br />
<table><tr valign="top"><td width="50%"><br />
<div style="font-size: 105%; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold;"><br />
<br />
== ''Special pages'' ==<br />
<br />
* '''[[Special:Allpages]]''': The ideal view to see all the pages of this Wiki.<br />
<br />
* '''[[Special:Recentchanges]]''': View all the recent changes in the pages of this Wiki.<br />
<br />
* '''[[Special:Imagelist]]''': List of all the uploaded files.<br />
<br />
* '''[[Special:Listusers]]''': List of all the registered users / contributors of this Wiki.</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Doc:CAETutorials&diff=7135Doc:CAETutorials2011-10-30T16:12:28Z<p>Wikiadmin: /* CAELinux 2011 tutorials */</p>
<hr />
<div>=== Find tutorials and examples on LiveCD or installed CAELinux distro ===<br />
<br />
You can find all of these tutorials on the LiveCD or your local installed copy of CAELinux. Log in using the caelinux username account and you will have access to all of this in one spot. At the CAELinux KDE desktop you will find the "CAELinux Docs" lightning bolt icon with a yellow background. Double-click the icon and choose the "Tutorials" directory. Here you will find a directory with all of the necessary files and flash videos. The path to this location is /opt/helpers/docs/tutorials/. They are also available here via the web but will generally load slower than a local source.<br />
<br />
=== CAELinux 2011 video tutorials ===<br />
<br />
You can find the new video tutorials for CAELinux 2011 on that page of the Wiki [[Doc:CAELinux2011_Tutorials]]<br />
<br />
If you want to contribute and prepare new video / screencast tutorials, you can follow this guide: [[Contrib:JCugnoni#How_to_create_Screencasts_.2F_Video_tutorials]]<br />
<br />
=== Introduction tutorial: general use of Salome & Code_Aster (CAELinux2008 / CAELinux 2007)===<br />
This is the first tutorial on the use of Salomé & Code_Aster. <br />
The example case study treated here is a linear statics analysis of a piston.<br />
<br />
In this tutorial, you will learn to:<br />
# import & mesh a STEP geometry in Salomé<br />
# create & edit the options of a FE study in Code_Aster<br />
# solve the FE problem<br />
# load results in Salomé & post-process the data<br />
Duration approx. 30 min.<br />
<br />
Interactive Flash tutorial (CAELinux 2007): [http://www.caelinux.org/wiki/downloads/docs/Piston2007/PistonTutorial.htm PistonTutorial2007 on the web] or [http://www.caelinux.org/wiki/downloads/docs/Piston2007/PistonTutorial.swf Download PistonTutorial.swf]<br />
<br />
Piston geometry in STEP format: [[Media:piston.zip]]<br />
<br />
Tutorial in PDF format - '''Updated for SaloméMECA 2010.2''' [[Media:Piston_tutorial.pdf]] <br />
<br />
[http://www.youtube.com/watch?v=dQBHNKnSzIQ Video showing the steps in the piston tutorial]<br />
<br />
''Older versions:''<br />
<br />
Tutorial in PDF format (CAELinux beta 2): [[Media:IntroductionTutorial1.pdf]] <br />
<br />
Video tutorial in CAELinux beta 3b: [http://www.caelinux.com/downloads/docs/IntroductionCAELinux-part1.avi IntroductionVideoPart1] and [http://www.caelinux.com/downloads/docs/IntroductionCAELinux-part2.avi IntroductionVideoPart2]<br />
<br />
=== Salome & OpenFOAM tutorial: 3D CFD analysis of a Y-shaped pipe (CAELinux 2008 / CAELinux 2007)===<br />
<br />
This tutorial shows how to use Salome & OpenFOAM to:<br />
<br />
# create the 3D CAD geometry of a Y-shaped pipe in Salome<br />
# generate a free tetrahedral mesh for the CFD analysis in Salome<br />
# create an OpenFOAM simulation case and import the mesh from UNV file<br />
# model the transient incompressible fluid flow in the pipe<br />
# visualize the results in ParaView <br />
<br />
This tutorial is subdivided in three parts: Geometry, Meshing & CFD analysis.<br />
<br />
'''Flash video tutorials:'''<br />
<br />
Part 1 notes for CEALinux 2008 users: This tutorial video was created with the CAELinux 2007 version software packages. This<br />
includes Salome-Meca version 3.2.6. While this tutorial is still applicable to CAELinux 2008<br />
there is a known software bug in Salome-Meca 3.2.9. This will not allow you to use the<br />
"Extrude along a path" functionality with a wire type selection for the path of the swept<br />
circular face. There is a file packaged with the CAELinux2008 distro at this location /opt/helpers/docs/tutorials/pipe/Pipe1.hdf.<br />
The geometry is fully created in this file and can be used as a workaround if you don't figure out a different way to model the<br />
shape in the geometry mode of Salome.<br />
<br />
Part 3 notes for CAELinux 2008 users: When creating the 13 isosurfaces for the pipe example in paraview it may not correctly set the default range. If you notice in the tutorial the range of the iso surfaces is between 0 and 0.13872. You may need to adjust this range setting in order to follow along with the tutorial.<br />
<br />
#''Part 1, Geometry modelling in Salome'' : [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeGeom.htm PipeGeom2007 on the web] or [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeGeom.swf Download PipeGeom.swf]<br />
#''Part 2, Meshing in Salome'' : [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeMesh.htm PipeMesh2007] or [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeMesh.swf Download PipeMesh.swf]<br />
#''Part 3, CFD analysis in OpenFOAM'' : [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeOpenFoam.htm PipeOpenFOAM2007] or [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeOpenFoam.swf Download PipeOpenFOAM.swf]<br />
<br />
=== Salome & Elmer tutorial: 3D thermal analysis of a piston (CAELinux 2008 / CAELinux 2007)===<br />
<br />
This tutorial shows how to use Salome & Elmer together to:<br />
<br />
# import 3D CAD geometry from a Step file & define groups for boundary conditions<br />
# generate a free tetrahedral mesh for the thermal analysis in Salome<br />
# export the mesh in UNV format and convert it to GMSH format<br />
# convert the GMSH mesh to the native Elmer format<br />
# model the heat transfer problem in ElmerFront<br />
# solve the problem with ElmerSolver and visualize results in ElmerPost<br />
<br />
This tutorial is presented in one single Flash video. <br />
<br />
Flash video tutorial: [http://www.caelinux.org/wiki/downloads/docs/PistonElmer2007/pistonElmer.htm pistonElmer.htm] (55 Mb)<br />
<br />
RAR archive : [http://www.caelinux.org/wiki/downloads/docs/PistonElmer2007/pistonElmer.rar pistonElmer.rar] (16 Mb)<br />
<br />
Piston geometry in STEP format: [[Media:piston.zip]]<br />
<br />
<br />
<br />
<br />
=== Code-Saturne & Salome: 2D flow around a step (CAELinux 2008) ===<br />
<br />
This tutorial will give you an overview of the modelling workflow of Salome & Code-Saturne. It shows how to use an existing mesh in Salome (here a back facing step channel) to run a CFD simulation in Code-Saturne and how to post-process the results back in Salome.<br />
<br />
Topics covered: Mesh preparation & export, CFD Wizard, Code-Saturne GUI, Code-Saturne solution, Post-processing in Salome<br />
<br />
Video Tutorial & Files: <br />
<br />
[[Media:FlowStep.tar.gz]]<br />
<br />
[[Media:FlowStepFlashVideo.zip]] <br />
<br />
Some additionnal informations:<br />
<br />
- this archive should be decompressed in /tmp to work properly without modifications<br />
<br />
- you will need Salome 3.2.9 and Code-Saturne 1.3.1<br />
<br />
- the Salome FlowStep.hdf contains the geometry, mesh and some post pro results<br />
<br />
- to edit the Code-Saturne input file, open CAEKonsole, move to '/ tmp / FLOWSTEP / CASE1 / DATA' and run '. / SalomeGUI'<br />
<br />
<br />
=== Salome: Extrusion Geometry and Extrusion meshing (CAELinux 2008) ===<br />
<br />
This small video tutorial will teach you how to model extrusion geometry in Salome and how to mesh this type of geometry by extrusion meshing (prismatic elements). <br />
<br />
Topics covered: 2D sketch, extrusion, global mesh definition, local mesh (submesh), extrusion meshing, quadratic elements<br />
<br />
Video Tutorial & Salome HDF file: [[Media:ExtrusionTutorial.zip]]<br />
<br />
<br />
=== Salome: Geometry & meshing tutorial 1 (CAELinux beta 2) ===<br />
<br />
This is a tutorial on the use of Salome for 3D geometry modelling (CAD-like) & meshing. <br />
<br />
Topics covered: 2D sketch, extrusion, boolean operations, array of features, partitionning, global & local mesh definition, mesh quality check, ...<br />
<br />
Duration approx. 60 min.<br />
<br />
Tutorial & HDF geometry in ZIP format: [[Media:TutorialGEOM1.zip]]<br />
<br />
<br />
=== Salome & Code-Aster JML's Tutorials (CAELinux beta 2) ===<br />
Thanks to the kind contribution of Mr Jean-Marc LICHTLE (original french tutorials) and Mr Laurent MALOD-PANISSET (translation to english), there are now 4 completely new beginners tutorials available in both french and english.<br />
<br />
For questions / comments about these tutorials, feel free to mail to the authors:<br />
<br />
''jean-marc [dot] lichtle [at] gadz [dot] com'' (french and german)<br />
<br />
''laluciol [at] club-internet [dot] fr'' (english)<br />
<br />
Note that these tutorials are also available at [http://www.mirabellug.org www.mirabellug.org]<br />
<br />
'''Downloads'''<br />
<br />
Zip Archive containing all pdf files (french & english): [[Media:JMLTutorials.zip]]<br />
<br />
Please note that at the moment only the first two tutorials are translated in english.<br />
<br />
<br />
=== P. Carrico's Tutorials (CAELinux beta 3, Code-Aster 9) ===<br />
Another great contribution to Code-Aster tutorials by P. Carrico.<br />
These tutorials will give you a more in-depth and detailed view of the possibilities of Code-Aster and other related tools (Gibi, Salome).<br />
<br />
For comments, please contact the author at: <br />
<br />
''paul [dot] carrico [at] free [dot] fr ''<br />
<br />
Please note that :<br />
# These tutorials are under continuous development and any contribution or feedback is welcome. At the moment, these tutorials are available in French only, but translation is on the way,<br />
# <font color="red">New !!</font> An HTML version of the tutorials in now online [http://www.caelinux.org/wiki/downloads/docs/PCarrico HERE] with the possibility to automatically translate the documents from French to English or German.<br />
# All the calculations were performed under 8.3 release of Code Aster - for the 9.0 one, you can use the automatic traducteur/translator menu that works fine (tested for all the tutorials) ... but you've to adapt the .export file for the new release.<br />
<br />
<br />
'''Tutorial 1: Post-processing / Post-traitements'''<br />
<br />
In this tutorial, you will learn how to post-process & visualize the results of a Code-Aster simulation with external tools like GMSH, GIBI, Salome or GRACE. <br />
<br />
Tutorial 1 PDF file (FR): [[Media:CAELINUX_post_traitement.pdf]], HTML (FR/EN/DE): [http://www.caelinux.org/wiki/downloads/docs/PCarrico Link]<br />
<br />
'''Tutorial 2: Cyclic symmetry'''<br />
<br />
In this tutorial, you will learn how to model & analyze a cyclic symmetric part in Code-Aster. <br />
<br />
Tutorial 2 RAR archive (FR): [[Media:CAELINUX_symetrie_cyclique.rar]], HTML (FR/EN/DE): [http://www.caelinux.org/wiki/downloads/docs/PCarrico Link]<br />
<br />
'''Tutorial 3: Thermo-mechanics'''<br />
<br />
In this tutorial, you will learn how to model & analyze a thermo-mechanical problem in Code-Aster (using two different meshes : tetrahedra based mesh for the thermal calculation and hexahedra based one for the mechanical calculation). <br />
<br />
Tutorial 3 RAR archive (FR): [[Media:CAELINUX_thermomecanique.rar]], HTML (FR/EN/DE): [http://www.caelinux.org/wiki/downloads/docs/PCarrico Link]<br />
<br />
'''Tutorial 4: Shells'''<br />
<br />
In this tutorial, you will learn how to model & analyze a linear statics problem of a shell structure with Code-Aster (using the upper skin, the lower one and the middle surface to perform the linear static calculation). <br />
<br />
Tutorial 4 RAR archive (FR): [[Media:CAELINUX_coques.rar]], HTML (FR/EN/DE): [http://www.caelinux.org/wiki/downloads/docs/PCarrico Link]<br />
<br />
'''Tutorial 5: Plasticity'''<br />
<br />
In this tutorial, you will learn how to model & analyze a nonlinear statics problem of a 3D structure subjected to plastic deformations with Code-Aster. <br />
<br />
Tutorial 5 RAR archive (FR): [[Media:CAELINUX_plasticite.rar]], HTML (FR/EN/DE): [http://www.caelinux.org/wiki/downloads/docs/PCarrico Link]<br />
<br />
<br />
=== Advanced Examples (CAELinux beta 3b)===<br />
<br />
A set of advanced FE modelling examples with Salome & Code-Aster is proposed here.<br />
These archives contains all the geometric models & input files but are not commented thoroughly as they are intended to serve as a basis for specialized analysis.<br />
<br />
The topics convered by these examples are: plastic deformations, thermo-mechanics, contacts, modal analysis, composite materials and FE modelling of assemblies!!<br />
<br />
For more information or for downloads, see this page: [http://www.caelinux.com/CMS/index.php?option=com_content&task=view&id=25&Itemid=40 CAELinux Advanced Examples] or [[Doc:AdvancedExamples]]<br />
<br />
<br />
=== A few test cases for Code_Aster 9.4 and 10.1.X among other documentation===<br />
[http://www.caelinux.org/wiki/index.php/Contrib:Claws/Code_Aster Contrib:Claws/Code_Aster]<br />
<br />
<br />
=== Assembly analysis of a little press frame (Salome 3.2.9 on Caelinux 2008) ===<br />
[http://www.caelinux.org/wiki/index.php/Contrib:Cacciatorino Contrib:Cacciatorino]<br />
<br />
Here you will find a tutorial and all files needed to perform the fem analysis of the frame of a little hydraulic press<br />
<br />
<br />
=== An short introduction to Geometry modelling & FE analysis in Salome-Meca 2008.1 ===<br />
<br />
The object of this tutorial is to build a solid object using a number of graphical techniques, then to mesh it, solve, and finally to display the solution. Author: Andy Foan<br />
<br />
[[Media:Study04a.pdf]]<br />
<br />
=== An tutorial on script-based model generation in Salome-Meca 2008.1 ===<br />
<br />
This tutorial aims at giving an example of use of Python scripts to build a "parametric" solid object in Salome and then analyse its mechanical response with Code-Aster. This example also shows how to modify the Aster command file to use different materials in the FE model. Author: Andy Foan<br />
<br />
[[Media:Study08b.zip]]<br />
<br />
<br />
=== Guide to composite analysis ===<br />
<br />
In this document you will find a guide to analize composite behavior.<br />
<br />
[[Composite analysis]]<br />
<br />
=== Another introductory tutorial: Salome-Meca 2008.1 GPL ===<br />
<br />
This tutorial shows how to use Salome-Meca to analyse a '''very''' simple geometry subjected to tension (linear static analysis). The geometry is a rectangular filleted bar. The results are compared with stress values obtained from the literature for geometries with notches/fillets where stress concentrations will be present:<br />
# Import 3D STEP geometry (created with ''VariCAD'' for GNU/Linux),<br />
# create a mesh,<br />
# apply boundary constraints and loads,<br />
# analyse,<br />
# and finally post-process (visualize) the results.<br />
<br />
[[Another simple tutorial]]<br />
<br />
=== Step-by-step guide for the modeling of a simple geometry and solving for its electric field with CAELinux ===<br />
<br />
A guide for the absolute CAELinux beginners. You create a simple geometry with Salome, solve it with OpenFOAM and view it with Paraview. It also includes advanced post processing, which incorporates the calculation of the total energy of the electric field and its capacitance and the use of the sample utility to extract the field along a path.<br />
<br />
[[Media:electrostatic_guide.pdf]]<br />
<br />
=== Getting Started with DynELA - a dynamic finite element solver ===<br />
<br />
This is a very brief introduction to setting up and running DynELA.<br />
<br />
[[DynELA Quick-Start]]<br />
<br />
<br />
=== Other important contributions on the Wiki (examples, tutorials) ===<br />
<br />
Don't miss the Contribution section of the wiki. It references an impressive number of tutorials on Salome, Code-Aster, Code-Saturne and other codes. For further details, have a look at the pages under the "Contrib" section : <br />
<br />
Link: [[Contrib:Main]]<br />
<br />
As an example, here is a small list of available tutorials in the Contrib section:<br />
<br />
# Real world CFD study with Code Saturne, see: [[Contrib:Claws]]<br />
# Laminar pipe flow (Code-Saturne), see: [[Contrib:BondMatt]]<br />
# Salome + Code-Aster examples (shell, plasticity, buckling, modal, dynamics, ...), see: [[Contrib:KeesWouters]]</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Doc:CAELinux2011_Tutorials&diff=7133Doc:CAELinux2011 Tutorials2011-10-30T16:10:43Z<p>Wikiadmin: CAELinux2011 Tutorials moved to Doc:CAELinux2011 Tutorials: moved to Doc section</p>
<hr />
<div>= CAELinux 2011 Tutorials =<br />
<br />
== CFD Simulation using Code-Saturne and Salome ==<br />
<br />
''Summary:'' <br />
<br />
This tutorial shows how to use Salome & Code-Saturne to:<br />
<br />
# create the 3D CAD geometry of a Y-shaped pipe in Salome<br />
# generate a free tetrahedral mesh for the CFD analysis in Salome<br />
# create an Code-Saturne simulation case and import the mesh from MED file<br />
# model the steady state incompressible fluid flow in the pipe<br />
# visualize the results in Salome <br />
<br />
''Geometry (based on a previous version of Salome)''<br />
<br />
[http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeGeom.htm PipeGeom2007 on the web] or [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeGeom.swf Download PipeGeom.swf]<br />
<br />
''Meshing in Salome (based on a previous version of Salome)''<br />
<br />
[http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeMesh.htm PipeMesh2007] or [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeMesh.swf Download PipeMesh.swf]<br />
<br />
''Salome file with geometry and mesh''<br />
<br />
[http://www.caelinux.org/wiki/downloads/docs/CAETutorials2011/Pipe1mesh.hdf.zip Download Pipe1mesh.hdf.zip]<br />
<br />
''CFD analysis in Code-Saturne (CAELinux 2011 only)''<br />
<br />
[http://youtu.be/2caHYngtTmM Video Tutorial on Youtube] or [http://www.caelinux.org/wiki/downloads/docs/CAETutorials2011/PipeSaturneAll.m4v Download PipeSaturneAll.m4v]<br />
<br />
== CFD Simulation using OpenFOAM and Salome ==<br />
<br />
<br />
''Summary:'' <br />
<br />
This tutorial shows how to use Salome & OpenFOAM to:<br />
<br />
# create the 3D CAD geometry of a Y-shaped pipe in Salome<br />
# generate a free tetrahedral mesh for the CFD analysis in Salome<br />
# create an OpenFOAM simulation case and import the mesh from UNV file<br />
# model the steady state incompressible fluid flow in the pipe<br />
# visualize the results in Paraview <br />
<br />
''Geometry (based on a previous version of Salome)''<br />
<br />
[http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeGeom.htm PipeGeom2007 on the web] or [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeGeom.swf Download PipeGeom.swf]<br />
<br />
''Meshing in Salome (based on a previous version of Salome)''<br />
<br />
[http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeMesh.htm PipeMesh2007] or [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeMesh.swf Download PipeMesh.swf]<br />
<br />
''Salome file with geometry and mesh''<br />
<br />
[http://www.caelinux.org/wiki/downloads/docs/CAETutorials2011/Pipe1mesh.hdf.zip Download Pipe1mesh.hdf.zip]<br />
<br />
''CFD analysis in OpenFOAM (CAELinux 2011 only)''<br />
<br />
[http://youtu.be/ElOt9qzXQ7k Video Tutorial on Youtube] or [http://www.caelinux.org/wiki/downloads/docs/CAETutorials2011/PipeOpenFOAM.m4v Download PipeOpenFOAM.m4v]<br />
<br />
== CFD Simulation using Elmer and Salome ==<br />
<br />
to be added soon</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=CAELinux2011_Tutorials&diff=7134CAELinux2011 Tutorials2011-10-30T16:10:43Z<p>Wikiadmin: CAELinux2011 Tutorials moved to Doc:CAELinux2011 Tutorials: moved to Doc section</p>
<hr />
<div>#REDIRECT [[Doc:CAELinux2011 Tutorials]]</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Doc:CAETutorials&diff=7132Doc:CAETutorials2011-10-30T16:10:09Z<p>Wikiadmin: /* Find tutorials and examples on LiveCD or installed CAELinux distro */</p>
<hr />
<div>=== Find tutorials and examples on LiveCD or installed CAELinux distro ===<br />
<br />
You can find all of these tutorials on the LiveCD or your local installed copy of CAELinux. Log in using the caelinux username account and you will have access to all of this in one spot. At the CAELinux KDE desktop you will find the "CAELinux Docs" lightning bolt icon with a yellow background. Double-click the icon and choose the "Tutorials" directory. Here you will find a directory with all of the necessary files and flash videos. The path to this location is /opt/helpers/docs/tutorials/. They are also available here via the web but will generally load slower than a local source.<br />
<br />
=== CAELinux 2011 tutorials ===<br />
<br />
You can find the new video tutorials for CAELinux 2011 on that page of the Wiki [[Doc:CAELinux2011_Tutorials]]<br />
<br />
=== Introduction tutorial: general use of Salome & Code_Aster (CAELinux2008 / CAELinux 2007)===<br />
This is the first tutorial on the use of Salomé & Code_Aster. <br />
The example case study treated here is a linear statics analysis of a piston.<br />
<br />
In this tutorial, you will learn to:<br />
# import & mesh a STEP geometry in Salomé<br />
# create & edit the options of a FE study in Code_Aster<br />
# solve the FE problem<br />
# load results in Salomé & post-process the data<br />
Duration approx. 30 min.<br />
<br />
Interactive Flash tutorial (CAELinux 2007): [http://www.caelinux.org/wiki/downloads/docs/Piston2007/PistonTutorial.htm PistonTutorial2007 on the web] or [http://www.caelinux.org/wiki/downloads/docs/Piston2007/PistonTutorial.swf Download PistonTutorial.swf]<br />
<br />
Piston geometry in STEP format: [[Media:piston.zip]]<br />
<br />
Tutorial in PDF format - '''Updated for SaloméMECA 2010.2''' [[Media:Piston_tutorial.pdf]] <br />
<br />
[http://www.youtube.com/watch?v=dQBHNKnSzIQ Video showing the steps in the piston tutorial]<br />
<br />
''Older versions:''<br />
<br />
Tutorial in PDF format (CAELinux beta 2): [[Media:IntroductionTutorial1.pdf]] <br />
<br />
Video tutorial in CAELinux beta 3b: [http://www.caelinux.com/downloads/docs/IntroductionCAELinux-part1.avi IntroductionVideoPart1] and [http://www.caelinux.com/downloads/docs/IntroductionCAELinux-part2.avi IntroductionVideoPart2]<br />
<br />
=== Salome & OpenFOAM tutorial: 3D CFD analysis of a Y-shaped pipe (CAELinux 2008 / CAELinux 2007)===<br />
<br />
This tutorial shows how to use Salome & OpenFOAM to:<br />
<br />
# create the 3D CAD geometry of a Y-shaped pipe in Salome<br />
# generate a free tetrahedral mesh for the CFD analysis in Salome<br />
# create an OpenFOAM simulation case and import the mesh from UNV file<br />
# model the transient incompressible fluid flow in the pipe<br />
# visualize the results in ParaView <br />
<br />
This tutorial is subdivided in three parts: Geometry, Meshing & CFD analysis.<br />
<br />
'''Flash video tutorials:'''<br />
<br />
Part 1 notes for CEALinux 2008 users: This tutorial video was created with the CAELinux 2007 version software packages. This<br />
includes Salome-Meca version 3.2.6. While this tutorial is still applicable to CAELinux 2008<br />
there is a known software bug in Salome-Meca 3.2.9. This will not allow you to use the<br />
"Extrude along a path" functionality with a wire type selection for the path of the swept<br />
circular face. There is a file packaged with the CAELinux2008 distro at this location /opt/helpers/docs/tutorials/pipe/Pipe1.hdf.<br />
The geometry is fully created in this file and can be used as a workaround if you don't figure out a different way to model the<br />
shape in the geometry mode of Salome.<br />
<br />
Part 3 notes for CAELinux 2008 users: When creating the 13 isosurfaces for the pipe example in paraview it may not correctly set the default range. If you notice in the tutorial the range of the iso surfaces is between 0 and 0.13872. You may need to adjust this range setting in order to follow along with the tutorial.<br />
<br />
#''Part 1, Geometry modelling in Salome'' : [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeGeom.htm PipeGeom2007 on the web] or [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeGeom.swf Download PipeGeom.swf]<br />
#''Part 2, Meshing in Salome'' : [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeMesh.htm PipeMesh2007] or [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeMesh.swf Download PipeMesh.swf]<br />
#''Part 3, CFD analysis in OpenFOAM'' : [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeOpenFoam.htm PipeOpenFOAM2007] or [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeOpenFoam.swf Download PipeOpenFOAM.swf]<br />
<br />
=== Salome & Elmer tutorial: 3D thermal analysis of a piston (CAELinux 2008 / CAELinux 2007)===<br />
<br />
This tutorial shows how to use Salome & Elmer together to:<br />
<br />
# import 3D CAD geometry from a Step file & define groups for boundary conditions<br />
# generate a free tetrahedral mesh for the thermal analysis in Salome<br />
# export the mesh in UNV format and convert it to GMSH format<br />
# convert the GMSH mesh to the native Elmer format<br />
# model the heat transfer problem in ElmerFront<br />
# solve the problem with ElmerSolver and visualize results in ElmerPost<br />
<br />
This tutorial is presented in one single Flash video. <br />
<br />
Flash video tutorial: [http://www.caelinux.org/wiki/downloads/docs/PistonElmer2007/pistonElmer.htm pistonElmer.htm] (55 Mb)<br />
<br />
RAR archive : [http://www.caelinux.org/wiki/downloads/docs/PistonElmer2007/pistonElmer.rar pistonElmer.rar] (16 Mb)<br />
<br />
Piston geometry in STEP format: [[Media:piston.zip]]<br />
<br />
<br />
<br />
<br />
=== Code-Saturne & Salome: 2D flow around a step (CAELinux 2008) ===<br />
<br />
This tutorial will give you an overview of the modelling workflow of Salome & Code-Saturne. It shows how to use an existing mesh in Salome (here a back facing step channel) to run a CFD simulation in Code-Saturne and how to post-process the results back in Salome.<br />
<br />
Topics covered: Mesh preparation & export, CFD Wizard, Code-Saturne GUI, Code-Saturne solution, Post-processing in Salome<br />
<br />
Video Tutorial & Files: <br />
<br />
[[Media:FlowStep.tar.gz]]<br />
<br />
[[Media:FlowStepFlashVideo.zip]] <br />
<br />
Some additionnal informations:<br />
<br />
- this archive should be decompressed in /tmp to work properly without modifications<br />
<br />
- you will need Salome 3.2.9 and Code-Saturne 1.3.1<br />
<br />
- the Salome FlowStep.hdf contains the geometry, mesh and some post pro results<br />
<br />
- to edit the Code-Saturne input file, open CAEKonsole, move to '/ tmp / FLOWSTEP / CASE1 / DATA' and run '. / SalomeGUI'<br />
<br />
<br />
=== Salome: Extrusion Geometry and Extrusion meshing (CAELinux 2008) ===<br />
<br />
This small video tutorial will teach you how to model extrusion geometry in Salome and how to mesh this type of geometry by extrusion meshing (prismatic elements). <br />
<br />
Topics covered: 2D sketch, extrusion, global mesh definition, local mesh (submesh), extrusion meshing, quadratic elements<br />
<br />
Video Tutorial & Salome HDF file: [[Media:ExtrusionTutorial.zip]]<br />
<br />
<br />
=== Salome: Geometry & meshing tutorial 1 (CAELinux beta 2) ===<br />
<br />
This is a tutorial on the use of Salome for 3D geometry modelling (CAD-like) & meshing. <br />
<br />
Topics covered: 2D sketch, extrusion, boolean operations, array of features, partitionning, global & local mesh definition, mesh quality check, ...<br />
<br />
Duration approx. 60 min.<br />
<br />
Tutorial & HDF geometry in ZIP format: [[Media:TutorialGEOM1.zip]]<br />
<br />
<br />
=== Salome & Code-Aster JML's Tutorials (CAELinux beta 2) ===<br />
Thanks to the kind contribution of Mr Jean-Marc LICHTLE (original french tutorials) and Mr Laurent MALOD-PANISSET (translation to english), there are now 4 completely new beginners tutorials available in both french and english.<br />
<br />
For questions / comments about these tutorials, feel free to mail to the authors:<br />
<br />
''jean-marc [dot] lichtle [at] gadz [dot] com'' (french and german)<br />
<br />
''laluciol [at] club-internet [dot] fr'' (english)<br />
<br />
Note that these tutorials are also available at [http://www.mirabellug.org www.mirabellug.org]<br />
<br />
'''Downloads'''<br />
<br />
Zip Archive containing all pdf files (french & english): [[Media:JMLTutorials.zip]]<br />
<br />
Please note that at the moment only the first two tutorials are translated in english.<br />
<br />
<br />
=== P. Carrico's Tutorials (CAELinux beta 3, Code-Aster 9) ===<br />
Another great contribution to Code-Aster tutorials by P. Carrico.<br />
These tutorials will give you a more in-depth and detailed view of the possibilities of Code-Aster and other related tools (Gibi, Salome).<br />
<br />
For comments, please contact the author at: <br />
<br />
''paul [dot] carrico [at] free [dot] fr ''<br />
<br />
Please note that :<br />
# These tutorials are under continuous development and any contribution or feedback is welcome. At the moment, these tutorials are available in French only, but translation is on the way,<br />
# <font color="red">New !!</font> An HTML version of the tutorials in now online [http://www.caelinux.org/wiki/downloads/docs/PCarrico HERE] with the possibility to automatically translate the documents from French to English or German.<br />
# All the calculations were performed under 8.3 release of Code Aster - for the 9.0 one, you can use the automatic traducteur/translator menu that works fine (tested for all the tutorials) ... but you've to adapt the .export file for the new release.<br />
<br />
<br />
'''Tutorial 1: Post-processing / Post-traitements'''<br />
<br />
In this tutorial, you will learn how to post-process & visualize the results of a Code-Aster simulation with external tools like GMSH, GIBI, Salome or GRACE. <br />
<br />
Tutorial 1 PDF file (FR): [[Media:CAELINUX_post_traitement.pdf]], HTML (FR/EN/DE): [http://www.caelinux.org/wiki/downloads/docs/PCarrico Link]<br />
<br />
'''Tutorial 2: Cyclic symmetry'''<br />
<br />
In this tutorial, you will learn how to model & analyze a cyclic symmetric part in Code-Aster. <br />
<br />
Tutorial 2 RAR archive (FR): [[Media:CAELINUX_symetrie_cyclique.rar]], HTML (FR/EN/DE): [http://www.caelinux.org/wiki/downloads/docs/PCarrico Link]<br />
<br />
'''Tutorial 3: Thermo-mechanics'''<br />
<br />
In this tutorial, you will learn how to model & analyze a thermo-mechanical problem in Code-Aster (using two different meshes : tetrahedra based mesh for the thermal calculation and hexahedra based one for the mechanical calculation). <br />
<br />
Tutorial 3 RAR archive (FR): [[Media:CAELINUX_thermomecanique.rar]], HTML (FR/EN/DE): [http://www.caelinux.org/wiki/downloads/docs/PCarrico Link]<br />
<br />
'''Tutorial 4: Shells'''<br />
<br />
In this tutorial, you will learn how to model & analyze a linear statics problem of a shell structure with Code-Aster (using the upper skin, the lower one and the middle surface to perform the linear static calculation). <br />
<br />
Tutorial 4 RAR archive (FR): [[Media:CAELINUX_coques.rar]], HTML (FR/EN/DE): [http://www.caelinux.org/wiki/downloads/docs/PCarrico Link]<br />
<br />
'''Tutorial 5: Plasticity'''<br />
<br />
In this tutorial, you will learn how to model & analyze a nonlinear statics problem of a 3D structure subjected to plastic deformations with Code-Aster. <br />
<br />
Tutorial 5 RAR archive (FR): [[Media:CAELINUX_plasticite.rar]], HTML (FR/EN/DE): [http://www.caelinux.org/wiki/downloads/docs/PCarrico Link]<br />
<br />
<br />
=== Advanced Examples (CAELinux beta 3b)===<br />
<br />
A set of advanced FE modelling examples with Salome & Code-Aster is proposed here.<br />
These archives contains all the geometric models & input files but are not commented thoroughly as they are intended to serve as a basis for specialized analysis.<br />
<br />
The topics convered by these examples are: plastic deformations, thermo-mechanics, contacts, modal analysis, composite materials and FE modelling of assemblies!!<br />
<br />
For more information or for downloads, see this page: [http://www.caelinux.com/CMS/index.php?option=com_content&task=view&id=25&Itemid=40 CAELinux Advanced Examples] or [[Doc:AdvancedExamples]]<br />
<br />
<br />
=== A few test cases for Code_Aster 9.4 and 10.1.X among other documentation===<br />
[http://www.caelinux.org/wiki/index.php/Contrib:Claws/Code_Aster Contrib:Claws/Code_Aster]<br />
<br />
<br />
=== Assembly analysis of a little press frame (Salome 3.2.9 on Caelinux 2008) ===<br />
[http://www.caelinux.org/wiki/index.php/Contrib:Cacciatorino Contrib:Cacciatorino]<br />
<br />
Here you will find a tutorial and all files needed to perform the fem analysis of the frame of a little hydraulic press<br />
<br />
<br />
=== An short introduction to Geometry modelling & FE analysis in Salome-Meca 2008.1 ===<br />
<br />
The object of this tutorial is to build a solid object using a number of graphical techniques, then to mesh it, solve, and finally to display the solution. Author: Andy Foan<br />
<br />
[[Media:Study04a.pdf]]<br />
<br />
=== An tutorial on script-based model generation in Salome-Meca 2008.1 ===<br />
<br />
This tutorial aims at giving an example of use of Python scripts to build a "parametric" solid object in Salome and then analyse its mechanical response with Code-Aster. This example also shows how to modify the Aster command file to use different materials in the FE model. Author: Andy Foan<br />
<br />
[[Media:Study08b.zip]]<br />
<br />
<br />
=== Guide to composite analysis ===<br />
<br />
In this document you will find a guide to analize composite behavior.<br />
<br />
[[Composite analysis]]<br />
<br />
=== Another introductory tutorial: Salome-Meca 2008.1 GPL ===<br />
<br />
This tutorial shows how to use Salome-Meca to analyse a '''very''' simple geometry subjected to tension (linear static analysis). The geometry is a rectangular filleted bar. The results are compared with stress values obtained from the literature for geometries with notches/fillets where stress concentrations will be present:<br />
# Import 3D STEP geometry (created with ''VariCAD'' for GNU/Linux),<br />
# create a mesh,<br />
# apply boundary constraints and loads,<br />
# analyse,<br />
# and finally post-process (visualize) the results.<br />
<br />
[[Another simple tutorial]]<br />
<br />
=== Step-by-step guide for the modeling of a simple geometry and solving for its electric field with CAELinux ===<br />
<br />
A guide for the absolute CAELinux beginners. You create a simple geometry with Salome, solve it with OpenFOAM and view it with Paraview. It also includes advanced post processing, which incorporates the calculation of the total energy of the electric field and its capacitance and the use of the sample utility to extract the field along a path.<br />
<br />
[[Media:electrostatic_guide.pdf]]<br />
<br />
=== Getting Started with DynELA - a dynamic finite element solver ===<br />
<br />
This is a very brief introduction to setting up and running DynELA.<br />
<br />
[[DynELA Quick-Start]]<br />
<br />
<br />
=== Other important contributions on the Wiki (examples, tutorials) ===<br />
<br />
Don't miss the Contribution section of the wiki. It references an impressive number of tutorials on Salome, Code-Aster, Code-Saturne and other codes. For further details, have a look at the pages under the "Contrib" section : <br />
<br />
Link: [[Contrib:Main]]<br />
<br />
As an example, here is a small list of available tutorials in the Contrib section:<br />
<br />
# Real world CFD study with Code Saturne, see: [[Contrib:Claws]]<br />
# Laminar pipe flow (Code-Saturne), see: [[Contrib:BondMatt]]<br />
# Salome + Code-Aster examples (shell, plasticity, buckling, modal, dynamics, ...), see: [[Contrib:KeesWouters]]</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Main_Page&diff=7131Main Page2011-10-30T16:06:02Z<p>Wikiadmin: /* ''CAELinux Documentation'' */</p>
<hr />
<div>__NOTOC__<br />
= '''Welcome to the CAELinux Community Portal''' =<br />
Welcome to CAELinux Community Portal, the best place to share your experience & knowledge with all the users of CAELinux.<br />
<br /><br />
<!-------------------------------------------------<br />
INDEX<br />
---------------------------------------------------><br />
{| width="100%" style="border-spacing:0px;" style="width: 100%; border:1px solid #190707; background-color:#ffffff; vertical-align:top; -moz-border-radius:10px"<br />
|-<br />
|<br />
<br />
<!-- Nested Table for Index Top --><br />
{| width="100%" cellpadding="1" cellspacing="2" style="vertical-align:top; background-color: #ffffff; -moz-border-radius:10px"<br />
!<br />
== ''Introduction'' ==<br />
|-<br />
| <br />
|}<br />
<br />
This site is based on the model of a collaborative Wiki (like [http://www.wikipedia.com Wikipedia]) and everybody is welcome to contribute to its content. <br />
<br />
The only rule is this: Create an account & start sharing your experience with other users!<br />
<br />
''For Editors, please respect the sections structures by using the correct Section prefix in new page names (like'' '''Doc:MyTutorial''' <br />
'')''<br />
<br />
''If you are planning to edit some page in this wiki and want some help about how to do it , please check this very usefull guide before modify some important resource.''<br />
<br />
''Link: http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page''<br />
<br />
If you don't know what CAELinux is, jump to this site: [http://www.caelinux.com CAELinux.com]<br />
<br />
<!---------------------------------<br />
Design Notes<br />
-----------------------------------><br />
|-<br />
|&nbsp;<br />
|}<br />
<br />
<!-----------------------------<br />
News Styles<br />
-----------------------------------><br />
{| style="border-spacing:8px;margin:0px -8px"<br />
|class="MainPageBG" style="width: 50%; border: 1px solid #190707; background-color: #ffffff; vertical-align: top; -moz-border-radius:10px" | <br />
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background-color:#ffffff; -moz-border-radius:10px"<br />
<!---------------------------------<br />
¿Qué es un Wiki??<br />
-----------------------------------><br />
!<br />
== ''CAELinux Documentation'' ==<br />
<br />
|-<br />
| <br />
''Note: these categories are being reorganized... expect some changes soon''<br />
<br />
* '''[[Doc:Main]]''' This section contains all the tutorial / documents to learn how to use CAELinux in an efficient way <br />
<br />
* '''[[Doc:PCLinuxOS]]''' Contains the documents related to the Linux operating system (PCLinuxOS) used in older CAELinux releases<br />
<br />
* '''[[Doc:CAE]]''' Contains the documents related to the CAE softwares included in CAELinux<br />
<br />
* '''[[Doc:CAETutorials]]''' Contains a list of tutorials related to the CAE softwares included in CAELinux<br />
<br />
* '''[[Doc:FEM Learning]]''' Contains documents about The Finite Element Method<br />
<br />
* '''[[Doc:FAQ]]''' Frequently Asked Questions<br />
<br />
* '''[[Doc:Salome]]''' Salome and Salome-Meca documentation<br />
<br />
* '''[[Doc:Code-Aster]]''' Code-Aster documentation and tutorials<br />
<br />
* '''[[Doc:Code-Saturne]]''' Code-Saturne documentation and tutorials<br />
<br />
* '''[[Doc:OpenFOAM]]''' OpenFOAM documentation and tutorials<br />
<br />
* '''[[Doc:Calculix]]''' Calculix documentation and tutorials<br />
<br />
* '''[[Doc:ElmerFEM]]''' Elmer FEM documentation and tutorials<br />
<br />
* '''[[Doc:Impact]]''' Impact documentation and tutorials<br />
<br />
* '''[[Doc:Interop]]''' Is the section for discussing / sharing experience about CAE software interoperability / file formats conversion <br />
<br />
* '''[[Doc:Trans]]''' Is the main section for finalized translated documents & internationalization patches<br />
<br />
<br />
|}<br />
<!-------------------------------------<br />
Right sided column<br />
----------------------------------------><br />
|class="MainPageBG" style="border:1px solid #190707; background-color:#ffffff; vertical-align:top; -moz-border-radius:10px"| <!-- <div style="margin: 4px 4px 2px 4px; text-align: left;"> --><br />
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align: top; background-color:#ffffff; -moz-border-radius:10px;"<br />
|-<br />
<!---------------------------------<br />
¡Puede comenzar su propio Wiki '''gratis''' ahora!<br />
-----------------------------------><br />
!<br />
<br />
== ''Content'' ==<br />
<br />
|-<br />
| style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size: 90%" | <br />
<br />
== Sections of the Wiki ==<br />
<br />
* '''[[Doc:Main]]''' Main page of the Documentation section.<br />
<br />
* '''[[Proj:Main]]''' Main page of the Project section.<br />
<br />
* '''[[Contrib:Main]]''' Main page of the Contrib section.<br />
<br />
* '''[[Sandbox]]''' Please use this section to learn how to use the Wiki.<br />
<br />
* '''[[Proposed Interface]]''' There is some discussion on how to make the tutorials more assessable, here is one method<br />
<br />
== Development & Projects ==<br />
<br />
* '''[[Proj:Main]]''' This section provides a space for collaborative projects related to CAELinux, like internationalization efforts, file conversion utilities, utilities, etc... <br />
<br />
* '''[[Proj:CodeAsterIntl]]''' The main page for the translation of the documentation & software related to Code_Aster<br />
<br />
* '''[[Proj:UNVConvert]]''' The page of the UNV2X / X2UNV file conversion utilities<br />
<br />
* '''[[Proj:MedAba]]''' Mesh converter from Salomé MED format to Calculix / Abaqus INP format<br />
<br />
|}<br />
|}<br />
<br />
{| width="100%" style="border-spacing:0px;" style="width: 100%; border:1px solid #190707; background-color:#ffffff; vertical-align:top; -moz-border-radius:10px"<br />
|-<br />
|<br />
<table><tr valign="top"><td width="50%"><br />
<div style="font-size: 105%; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold;"><br />
<br />
== ''Special pages'' ==<br />
<br />
* '''[[Special:Allpages]]''': The ideal view to see all the pages of this Wiki.<br />
<br />
* '''[[Special:Recentchanges]]''': View all the recent changes in the pages of this Wiki.<br />
<br />
* '''[[Special:Imagelist]]''': List of all the uploaded files.<br />
<br />
* '''[[Special:Listusers]]''': List of all the registered users / contributors of this Wiki.</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=File:HowToInstallUbuntu.pdf&diff=7130File:HowToInstallUbuntu.pdf2011-10-30T16:01:41Z<p>Wikiadmin: How To Install Ubuntu: a simple manual</p>
<hr />
<div>How To Install Ubuntu: a simple manual</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Doc:InstallationGuide&diff=7129Doc:InstallationGuide2011-10-30T16:00:01Z<p>Wikiadmin: </p>
<hr />
<div>'''Installation Guide CAELinux 2009/2010/2011 (Ubuntu based)'''<br />
<br />
To install CAELinux 2009 and later to HDD, you can follow those instructions. As CAELinux 2009 and later are based on Ubuntu, any tutorial on how to use and install Ubuntu is appropriate. For example, you can follow this guide: [http://www.caelinux.org/wiki/downloads/docs/CAETutorials2011/HowToInstallUbuntu.pdf HowToInstallUbuntu.pdf]<br />
<br />
However, once in the Ubuntu installer, we recommend to use a Manual partitioning method, and to create one root (/) partition of at least 20Gb (50Gb is recommended if you plan to use it everyday). Ext3 or Ext4 partitions are recommended. Don't forget to create a Swap partition of at least 2Gb but ideally equal to 1.5 times your RAM memory space.<br />
<br />
<br />
<br />
'''Installation Guide CAELinux 2007/2008 (PCLinuxOS)'''<br />
<br />
In this PDF, you will learn how to start CAELinux 2007 in LiveDVD mode to install the distribution to your hard-disk. <br />
<br />
Two installation scenarios are presented:<br />
<br />
# Installation on a blank hard disk<br />
# Installation in Dual-Boot along Windows (by resizing the Windows partition)<br />
<br />
<br />
Download the document here : [[Media:CAELinux2007InstallationGuide.pdf]]<br />
<br />
<br />
'''Installation Guide for Linux Server (Web, FTP, File) on Vmware performed with CAELinux2008'''<br />
<br />
The following chapters are in the .pdf file that you can dowload here : [[Media:Install_CAELinux2008_on_VMware.pdf]]<br />
<br />
# Softwares References<br />
# Software comparison Linux-Windows<br />
# VM: Create a new virtual machine on Vmware<br />
# VM: Load the CAELinux2008.iso file<br />
# Install Linux: Run the Live CD CAE Linux 2008<br />
# Install Linux: Install the CAE Linux 2008 on hard drive<br />
# Install Linux: Restart CAE Linux 2008 from live to hard drive system<br />
# Install Linux: Update CAE Linux 2008<br />
# Web Server: Setup<br />
# FTP Server: Setup<br />
# File server: Setup<br />
# Figure</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Doc:GettingStarted&diff=7128Doc:GettingStarted2011-10-30T15:50:35Z<p>Wikiadmin: </p>
<hr />
<div>For CAELinux 2011 please have a look at this file: [http://www.caelinux.org/wiki/downloads/docs/CAETutorials2011/GettingStarted.html GettingStarted2011]<br />
<br />
For CAELinux 2007 see this: [[Doc:GettingStarted2007]]</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Doc:GettingStarted&diff=7127Doc:GettingStarted2011-10-30T15:49:46Z<p>Wikiadmin: </p>
<hr />
<div>For CAELinux 2011 please have a look at this file: [http://www.caelinux.org/wiki/downloads/docs/CAEtutorials2011/GettingStarted.html GettingStarted2011]<br />
<br />
For CAELinux 2007 see this: [[Doc:GettingStarted2007]]</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Doc:GettingStarted2007&diff=7125Doc:GettingStarted20072011-10-30T15:16:29Z<p>Wikiadmin: Doc:GettingStarted moved to Doc:GettingStarted2007: update</p>
<hr />
<div>== Getting started with CAELinux 2007 ==<br />
J.Cugnoni, [http://www.caelinux.com www.caelinux.com], 2007<br />
<br />
=== Content: ===<br />
# Welcome &amp; Licence terms<br />
# Introduction tutorial<br />
# Softwares included in CAELinux Beta 2007<br />
# Installing &amp; upgrading CAELinux<br />
<br />
=== Welcome &amp; Licence terms: ===<br />
First of all, we would like to thank you for your interest in CAELinux which we hope will fullfill your needs in Computer Aided Engineering. This Linux distribution is based on the excellent PCLinuxOS 2007 system and includes an allways increasing number of open source modelling, simulation & design softwares. Most of the content (99%) of CAELinux is provided under the well known GPL or LGPL (Gnu Public Licence) which allows you to freely use and redistribute these softwares. But as it is nearly impossible to check the licenses of all included packages, it is your responsibility to verify the licencing terms of the softwares that you are using. The authors of the distribution are not responsible for these licencing aspects and this distribution and all the included softwares are provided without any warranty.<br />
<br />
=== Introduction ===<br />
<br />
==== User accounts ====<br />
The predefined login and passwords for CAELinux are:<br />
<br />
'''Normal user account (recommended):'''<br />
<br />
user: ''caelinux''; password: ''caelinux'' <br />
<br />
'''Root user account (not recommended for everyday use):'''<br />
<br />
user: ''root''; password: ''root''<br />
<br />
==== Documentation ====<br />
<br />
For a very quick introduction to CAELinux capabilities, you should follow the Installation Manual and the Videos Tutorials.<br />
<br />
'''Introduction / Installation manual (PDF):'''<br />
<br />
See: [[Doc:InstallationGuide]]<br />
<br />
==== Video / interactive Tutorials ====<br />
<br />
'''Linear static stress analysis of a piston (Salome_Meca / Code-Aster)'''<br />
<br />
Interactive tutorial: [[Doc:PistonTutorial]]<br />
<br />
'''Simple 3D fluid dynamics analysis of a Y-shaped pipe (Salome & OpenFOAM)'''<br />
<br />
Video tutorial: [[Doc:PipeTutorial]]<br />
<br />
<br />
=== Softwares included in CAELinux Beta 3 ===<br />
Here is a non exhaustive list of CAE software packages included in<br />
CAELinux as well as some key informations to get started. Some of the<br />
softwares can be started from Desktop shortcuts or from the CAE start<br />
menu, but most of the console based tools will require that you use our<br />
special shell called 'Command line tools' (in CAE start menu).<br><br />
<br><br />
<br />
<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"><br />
<tr><br />
<td style="font-weight: bold; font-style: italic;">Software</td><br />
<td style="font-weight: bold; font-style: italic;">Use</td><br />
<td style="font-weight: bold; font-style: italic; width: 203px;">How to start</td><br />
<td style="font-weight: bold; font-style: italic; width: 134px;">Installation<br><br />
directory</td><br />
<td style="font-weight: bold; font-style: italic;">Documentation</td><br />
</tr><br />
<tr><br />
<td><span style="font-weight: bold; font-style: italic;">Salome_Meca_2007.1</span></td><br />
<td>3D CAD,Meshing<br><br />
Post Processing,<br><br />
Multiphysics FE analysis</td><br />
<td>Salome_Meca in CAE start menu</td><br />
<td>/opt/SALOME-MECA-2007.1-GPL</td><br />
<td>- HTML doc accessible inside the application<br><br />
- Tutorials in /opt/helpers/docs</td><br />
</tr><br />
<tr><br />
<td style="font-weight: bold; font-style: italic;">Salome v3.2.6</td><br />
<td>3D CAD,<br><br />
Meshing<br><br />
Post Processing</td><br />
<td style="width: 203px;">Salome_Meca in CAE start menu</td><br />
<td style="width: 134px;">/opt/SALOME-MECA-2007.1-GPL/SALOME</td><br />
<td>- HTML doc accessible inside the application<br><br />
- Tutorials in /opt/helpers/docs</td><br />
</tr><br />
<tr><br />
<td style="font-weight: bold; font-style: italic;">Code Aster v9.1</td><br />
<td>multiphysics FE analysis</td><br />
<td style="width: 203px;">Can be used from within Salome_Meca &nbsp; <br><br />
<div style="text-align: center;">or&nbsp;&nbsp;<br><br />
</div><br />
with the New-FE-analysis wizard &nbsp;&amp;&nbsp; the ASTK &nbsp;/ Eficas interfaces</td><br />
<td style="width: 134px;">/opt/SALOME-MECA-2007.1-GPL/aster</td><br />
<td>- French documentation available from EFICAS.<br>-English doc (automatic translations) in /opt/helpers/docs/CodeAsterEnDoc, use SearchHelp.py from this directory to search for keywords in the English docs.<br><br />
- Tutorials in /opt/helpers/docs<br><br />
</td><br />
</tr><br />
<tr><br />
<td style="font-weight: bold; font-style: italic;">Impact</td><br />
<td>explicit&nbsp;FE&nbsp;dynamics </td><br />
<td style="width: 203px;">use shortcut in CAE start menu or start /opt/Impact.sh</td><br />
<td style="width: 134px;">/opt/impact</td><br />
<td>- Documentation available from the interface <br><br />
- Examples in installation directory</td><br />
</tr><br />
<tr><br />
<td style="font-weight: bold; font-style: italic;">OpenFOAM<br><br />
v1.4.1</td><br />
<td>multipurpose CFD oriented solvers</td><br />
<td style="width: 203px;">use 'CAE console' from CAE start menu or start FoamX interface from CAE menu or /opt/FoamX.sh</td><br />
<td style="width: 134px;">/opt/OpenFOAM</td><br />
<td>- Examples &amp; tutorials in /opt/OpenFOAM/OpenFOAM-1.4.1</td><br />
</tr><br />
<tr><br />
<td style="font-weight: bold; font-style: italic;">Elmer v5.3</td><br />
<td>multiphysics FE package</td><br />
<td style="width: 203px;">use the shortcut from CAE start menu or start 'ElmerFront' from CAE Console</td><br />
<td style="width: 134px;">/opt/elmer</td><br />
<td>- Documentation in /opt/elmer<br><br />
- Examples in /opt/elmer<br><br />
- mesh converter from Salome:&nbsp;<br><br />
&nbsp; &nbsp;/opt/helpers/unv2gmsh.py &nbsp;<br><br />
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; or<br><br />
&nbsp; &nbsp;/opt/helpers/unv2ElmerUNV.py &nbsp;<br><br />
</td><br />
</tr><br />
<tr><br />
<td style="font-weight: bold; font-style: italic;">Calculix 1.7</td><br />
<td>pre-post &amp; FE solver,&nbsp;Abaqus-like<br><br />
syntax</td><br />
<td style="width: 203px;">from CAE Console: <br><br />
start 'ccx' for Calculix solver &amp; 'cgx' for pre-post GUI</td><br />
<td style="width: 134px;">/opt/CalculiX</td><br />
<td>- Documentation in /opt/CalculiX/ccx_1.7/doc and&nbsp; <br><br />
/opt/CalculiX/cgx_1.7/doc<br><br />
- Examples in&nbsp;/opt/CalculiX/ccx_1.7/test and /opt/CalculiX/cgx_1.7/examples<br><br />
- mesh converter from Salome:<br><br />
&nbsp; /opt/helpers/UNV2X-GUI.wish <br><br />
&nbsp; &nbsp; or <br><br />
&nbsp; /opt/helpers/unv2abaqus.py</td><br />
</tr><br />
<tr><br />
<td><span style="font-style: italic; font-weight: bold;">Code-Saturne</span></td><br />
<td>&nbsp;3D CFD/combustion solver</td><br />
<td>from CAE Console: <br><br />
run /opt/saturne/set_env.sh<br><br />
and use the different utilities (ecs, ics, ncs ...)</td><br />
<td>/opt/saturne</td><br />
<td>- Documentation in installation directory, no example available at present time</td><br />
</tr><br />
<tr><br />
<td style="font-weight: bold; font-style: italic;">GMSH 1.65 &amp; 2.0</td><br />
<td>Scriptable &amp; general purpose geometry modelling, meshing and post processing</td><br />
<td style="width: 203px;">use shortcut on desktop &amp; start menu, or type 'gmsh' from 'CAE Console'</td><br />
<td style="width: 134px;">/opt/SALOME-MECA-2007.1-GPL/aster/outils/<br>(gmsh v1.65)<br><br>/opt/gmsh/gmsh2 &nbsp;(gmsh v2)</td><br />
<td>- tutorials &amp; demos in installation directory</td><br />
</tr><br />
<tr><br />
<td style="font-weight: bold; font-style: italic;">Gerris flow solver v0.6.0</td><br />
<td>2D / 3D&nbsp; CFD solvers based on automatic octree mesh refinement</td><br />
<td style="width: 203px;">use from&nbsp;'CAE Console'&nbsp;:<br>gerris2D, gerris3D, ...</td><br />
<td style="width: 134px;">/opt/gerris</td><br />
<td>- examples &amp; tests in installation directory</td><br />
</tr><br />
<tr><br />
<td style="font-weight: bold; font-style: italic;">MBDyn</td><br />
<td>multibody dynamics</td><br />
<td style="width: 203px;">use from&nbsp;'CAE Console'&nbsp;: <br>start 'mbdyn'&nbsp;</td><br />
<td style="width: 134px;">/opt/mbdyn</td><br />
<td>- Documentation &amp; examples in installation directory<br>- use 'mbdyn2easyanim.sh' &amp; 'EasyAnimx' for visualization</td><br />
</tr><br />
<tr><br />
<td style="font-weight: bold; font-style: italic;">Tochnog</td><br />
<td>statics &amp; dynamics FE solver</td><br />
<td style="width: 203px;">use from&nbsp;'CAE Console'&nbsp;: <br>start 'tochnog'</td><br />
<td style="width: 134px;">/opt/tochnog</td><br />
<td>- Documentation &amp; examples in installation directory<br><br />
</td><br />
</tr><br />
<tr><br />
<td style="font-weight: bold; font-style: italic;">OpenFlower</td><br />
<td>3D&nbsp;CFD solver</td><br />
<td style="width: 203px;">use from&nbsp;'CAE Console'&nbsp;:<br>&nbsp;start interface 'OpenFlowerGUI' <br>or solver 'OpenFlower'</td><br />
<td style="width: 134px;">/opt/openflower</td><br />
<td>- Documentation &amp; examples in installation directory</td><br />
</tr><br />
<tr><br />
<td><span style="font-weight: bold; font-style: italic;">Dynela</span></td><br />
<td>non-linear explicit dynamics</td><br />
<td>use from&nbsp;'CAE Console'&nbsp;:<br>&nbsp;start interface 'DynELA_gui' <br>or solver 'Dynela_solve'</td><br />
<td>/opt/dynela</td><br />
<td>- Documentation &amp; examples in installation directory</td><br />
</tr><br />
<tr><br />
<td><span style="font-weight: bold; font-style: italic;">Dolfyn CFD</span></td><br />
<td>2D/3D CFD solver</td><br />
<td>use from 'CAE Console'&ouml;<br>&nbsp;run 'dolfyn'</td><br />
<td>/opt/dolfyn</td><br />
<td>- Documentation &amp; examples in installation directory</td><br />
</tr><br />
<tr><br />
<td style="font-weight: bold; font-style: italic;">GetDP</td><br />
<td>general PDE solver</td><br />
<td style="width: 203px;">&nbsp;from 'Command line tools' console: start solver 'getdp'</td><br />
<td style="width: 134px;">/opt/getdp</td><br />
<td>- Documentation &amp; examples in installation directory<br>- can be started from GMSH</td><br />
</tr><br />
<tr><br />
<td style="font-weight: bold; font-style: italic;">Octave + Octave-Forge</td><br />
<td>MATLAB compatible mathematical programming</td><br />
<td style="width: 203px;">from CAE menu, or type 'octave' in any console</td><br />
<td style="width: 134px;">/usr/local/bin</td><br />
<td>- Help available from within the octave shell, with the 'help' command</td><br />
</tr><br />
<tr><br />
<td style="font-weight: bold; font-style: italic;">Scilab</td><br />
<td>Matlab/Simulink-like mathematical programming environment</td><br />
<td style="width: 203px;">from&nbsp; CAE menu, or type 'scilab' in any console</td><br />
<td style="width: 134px;">/opt/scilab/scilab-4.1</td><br />
<td>- Help, examples, demos available from within the Scilab GUI</td><br />
</tr><br />
<tr><br />
<td style="font-weight: bold; font-style: italic;">wxMaxima</td><br />
<td>Maple like symbolic computing environment</td><br />
<td style="width: 203px;">from shortcuts on desktop or CAE menu, or type 'wxmaxima' in any console</td><br />
<td style="width: 134px;">/usr/local/bin</td><br />
<td>- Help, examples, demos available from within the wxMaxima GUI</td><br />
</tr><br />
<tr><br />
<td><span style="font-weight: bold; font-style: italic;">R and RKWard</span></td><br />
<td>Mathematical modelling &amp; statistics (similar to S-Plus)</td><br />
<td>from CAE softwares/Math start menu <br>or from a console with 'rkward'</td><br />
<td>/usr/bin</td><br />
<td>&nbsp;- Help available from within the RKWard interface</td><br />
</tr><br />
<tr><br />
<td style="font-weight: bold; font-style: italic;">Paraview</td><br />
<td>general purpose 3D visualization software</td><br />
<td style="width: 203px;">from 'CAE Console': <br>start 'paraview' &nbsp;or 'paraFoam' for OpenFOAM specific post pro</td><br />
<td style="width: 134px;">/opt/OpenFOAM/linux/<br>paraview-2.4.4</td><br />
<td>- Basic help in OpenFOAM documentation </td><br />
</tr><br />
<tr><br />
<td style="font-weight: bold; font-style: italic;">QCAD</td><br />
<td>2D CAD program</td><br />
<td style="width: 203px;">from Multimedia/Graphics start menu or type 'qcad' from any console</td><br />
<td style="width: 134px;">/usr/bin</td><br />
<td></td><br />
</tr><br />
<tr><br />
<td><span style="font-weight: bold; font-style: italic;">Netgen </span></td><br />
<td>3D mesh generator</td><br />
<td>from CAE Console: run 'ng'</td><br />
<td>/opt/netgen</td><br />
<td>&nbsp;- In installation directory</td><br />
</tr><br />
<tr><br />
<td><span style="font-weight: bold; font-style: italic;">Tetgen</span></td><br />
<td>3D mesh generator</td><br />
<td>from CAE Console: run 'tetgen'</td><br />
<td>/opt/tetgen</td><br />
<td>&nbsp;- In installation directory</td><br />
</tr><br />
<tr><br />
<td style="font-weight: bold; font-style: italic;">other usefull tools</td><br />
<td colspan="4" rowspan="1">Several usefull tools, documents and examples&nbsp;are provided in /opt/helpers directory:<br><br />
<br>- CreateJob.py: GUI to create a Code-Aster FE analysis from template &amp; Salome MED mesh<br><br>- Unv2X, unv2abaqus, ...: a set of python scripts to facilitate mesh conversion from UNV (Salome for example) to other solvers like Calculix, Elmer or OpenFOAM.<br><br />
<br><br />
- GenEnsightCase.py: a python script to generate an Ensight .case file from an Ensight ouput directory generated by Code-Aster.<br><br><br />
- /opt/helpers/docs/CodeAsterEnDoc/SearchHelp.py: a simple GUI to search for strings in the English Doc of Code Aster<br><br><br />
- /opt/helpers/docs/tutorials and /opt/helpers/docs/examples contains some interesting tutorials on combined use of Salome &amp; Code-Aster<br><br />
</td><br />
</tr><br />
</table><br />
<br />
=== Installing & upgrading CAELinux ===<br />
<br />
Thanks to the very simple PCLinuxOS installer, you can very quickly turn your LiveDVD based CAELinux environment to a full featured hard disk install which will let you customize and update your system as you may want. We will not detail the installation steps here, but we highly recommend that you read the documentation in /opt/helpers/docs/CAELinux2007Install.pdf or in [[Doc:InstallationGuide]] . To install CAELinux 2007 on hard disk, you will need at least 15Gb of free space on an ext3 partition and preferably 1Gb on a Linux Swap partition. You can also use PCLinuxOS disk partitionning tool to resize Windows partitions or create new partitions. But do not forget: BACKUP your data FIRST!!<br />
<br />
<br />
After installation, you will be able to customize your OS, install new packages & update your system (kernel, 3D drivers etc...) with the very efficient PCLinuxOS Control Center (in Menu->Configuration). From there, you will be able to configure all the aspects of the system and directly install & update softwares from Internet with the Synaptics software package manager.<br><br />
<br />
=== Hardware support: 3D Drivers ===<br />
<br />
For a better hardware support / performance, you may need to install specific "proprietary" drivers (hardware 3D acceleration, Wifi). Specific proprietary drivers are not preinstalled but are provided on the LiveDVD in /opt/helpers/drivers. The drivers are provided either precompiled in the kernel or in Xorg or as dkms modules. DKMS modules are dynamically compiled with your kernel, the compilation of the modules being made at the first boot with a new kernel. So be patient at the first boot, as compiling the modules may take a a while.<br />
<br />
==== 3D Graphics Drivers ====<br />
<br />
Here is the procedure to install a 3D driver (can be done in LiveDVD mode or after install):<br />
<br />
1. Identify your hardware (vendor, chipset version) : ATI or NVIDIA? <br />
2. Check if you have a "legacy" or a "recent" supported card (see www.nvidia.com or www.ati.com to distiguish)<br />
3. In a terminal, move to the corresponding folder in /opt/helpers/drivers and run "./install.sh" to install the driver<br />
<br />
<br />
For example to install the proprietary NVidia driver for a recent NVidia 3D chipset (like Geforce FX or higher), type the following in a Konsole:<br />
<br />
cd /opt/helpers/drivers/nvidia/recent<br />
./install.sh<br />
<br />
And the 3D driver will be installed and configured directly (note that you can even do this in LiveDVD mode!!)<br />
<br />
==== Other Drivers ====<br />
<br />
Other proprietary drivers / firmware (for USB Wifi adapters) are available in /opt/helpers/drivers/others as rpm packages. To install these drivers, use the command 'rpm -ivh MyPackageName.rpm' from a Unix shell.<br />
<br />
==== Troubleshooting ====<br />
<br />
If you encounter problems with the liveDVD, you can try the following:<br><br />
<ul><br />
<li>Boot in an alternate mode: in&nbsp; the&nbsp; boot menu of the liveDVD, choose one of the alternate mode like <span style="font-style: italic;">VideoSafeModeVESA</span> or <span style="font-style: italic;">VideoSafeModeFBDev</span> for example.</li><br />
<li>If the system hangs during startup, try to press ESC key to enter<br />
"verbose" mode and try to identify the possible error messages.</li><br />
<li>If the system hangs during installation or during a normal use in<br />
LiveDVD mode, try to run "MediaCheck" option in the DVD boot menu</li><br />
<li>If after boot up you are left in a console (failed to start X server), you can try the following:</li><br />
<ul><br />
<li>Login as <span style="font-style: italic;">root</span> / password <span style="font-style: italic;">root</span></li><br />
</ul><br />
<ul><br />
<li>Type<span style="font-style: italic;"> "video</span>" to open the Video card configuration tool</li><br />
</ul><br />
<ul><br />
<li>Select the settings for your video card and monitor. If you<br />
don't know what to select, choose the following settings: Video driver:<br />
Xorg / Generic-VESA, &nbsp;monitor: 1024x768 16bpp</li><br />
</ul><br />
<ul><br />
<li>Test these settings and if successfull, exit the video configuration application</li><br />
</ul><br />
<ul><br />
<li>once back in the console, type "<span style="font-style: italic;">startx</span>" to launch the graphic environment</li><br />
</ul><br />
</ul><br />
<ol><br />
</ol><br />
<br />
For more information about the OS, drivers, kernels, etc.. please visit [http://www.pclinuxos.com www.pclinuxos.com]<br />
<br />
For any other question regarding CAELinux or one of the included software, you can visit our forums at [http://www.caelinux.com www.caelinux.com]<br />
<br />
=== Supporting the development of CAELinux ===<br />
<br />
CAELinux is a collection of a large number of Open Source programs, so first of all, we should all be very gratefull to the many developers that have spent a lot oftheir time on the development of these great softwares. CAELinux is based on PCLinuxOS distribution, and both CAELinux & PCLinuxOS are developed by passionnate developers without any external financial support. If you like CAELinux, we really encourage you to support the development of both CAELinux and PCLinuxOS with a donation (even small). For more information about donation to the CAELinux or PCLinuxOS developer, just visit these websites: http://www.caelinux.com and http://www.pclinuxos.com<br />
<br />
Additionnally, the documentation / translation / tutorials are essential to help beginners in their learning process. If you feel like contributing to CAELinux Documentation or if you are developing a small utility that would be usefull to all of us, you should participate and share your experience in the CAELinux Wiki at : http://www.caelinux.org<br />
<br />
An remember, making Open Source software grow and improve is a dynamic process, where the most critical point is probably to create an active community of users and developers:<br />
in this sense any question / interaction is vital to the development of open source codes!! The CAELinux websites are here to create this common "share point" where developers & users can interact.<br />
So if you like CAELinux, the most important contribution that you could bring is probably to keep its community alive by posting/answering questions on the forums or the wiki, and by spreading the distribution among your friends and colleagues.</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Doc:GettingStarted&diff=7126Doc:GettingStarted2011-10-30T15:16:29Z<p>Wikiadmin: Doc:GettingStarted moved to Doc:GettingStarted2007: update</p>
<hr />
<div>#REDIRECT [[Doc:GettingStarted2007]]</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Doc:OpenFOAM&diff=7112Doc:OpenFOAM2011-10-28T13:39:25Z<p>Wikiadmin: /* Tutorials */</p>
<hr />
<div>== Documentation ==<br />
<br />
=== Official OpenFOAM Documentation ===<br />
<br />
The original online documentation of OpenFOAM can be found here:<br />
<br />
Link: [http://www.openfoam.com/docs/ OpenFOAM Official Website]<br />
<br />
=== OpenFOAM wikis and forums ===<br />
<br />
Here is a list of other Wikis and Forums dealing with OpenFOAM:<br />
<br />
* [http://openfoam.cfd-online.com/forum OpenFOAM Discussion Forum]<br />
* [http://openfoamwiki.net/ OpenFOAM Wiki]<br />
* [http://www.foamcfd.org/ FoamCFD.org]<br />
<br />
== Tutorials ==<br />
there are OF-Tutorials in the Web<br />
<br />
http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2010/ MSc/PhD course in CFD with OpenSource software<br />
<br />
A good start is Basic_Training<br />
<br />
http://web.student.chalmers.se/groups/ofw5/Basic_Training/gettingStarted.pdf <br/><br />
http://web.student.chalmers.se/groups/ofw5/Basic_Training/ofAppsLucchini.pdf<br/><br />
http://web.student.chalmers.se/groups/ofw5/Basic_Training/runningTutorialsLucchini.pdf<br/><br />
http://web.student.chalmers.se/groups/ofw5/Basic_Training/runningInParallelLucchini.pdf<br/><br />
http://web.student.chalmers.se/groups/ofw5/Basic_Training/ofPostProcessingLucchini.pdf<br/><br />
<br />
Advanced Training<br />
<br />
http://web.student.chalmers.se/groups/ofw5/Advanced_Training/DynamicMesh.pdf<br/><br />
http://web.student.chalmers.se/groups/ofw5/Advanced_Training/FiveBasicClasses.pdf<br/><br />
http://web.student.chalmers.se/groups/ofw5/Advanced_Training/OscillatingCylinderWithGit.pdf<br/><br />
http://web.student.chalmers.se/groups/ofw5/Advanced_Training/pyFoamAdvanced.pdf<br/><br />
http://web.student.chalmers.se/groups/ofw5/Advanced_Training/ScalarTransportWalkThrough.pdf<br/><br />
http://web.student.chalmers.se/groups/ofw5/Advanced_Training/SwirlTestWithGit.pdf<br/><br />
http://web.student.chalmers.se/groups/ofw5/Advanced_Training/UserView.pdf<br/><br />
<br />
----<br />
<br />
=== CFD Simulation using OpenFOAM and Salome in CAELinux 2011 ===<br />
<br />
''Summary:'' <br />
<br />
This tutorial shows how to use Salome & OpenFOAM to:<br />
<br />
# create the 3D CAD geometry of a Y-shaped pipe in Salome<br />
# generate a free tetrahedral mesh for the CFD analysis in Salome<br />
# create an OpenFOAM simulation case and import the mesh from UNV file<br />
# model the steady state incompressible fluid flow in the pipe<br />
# visualize the results in Paraview <br />
<br />
''Geometry (based on a previous version of Salome)''<br />
<br />
[http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeGeom.htm PipeGeom2007 on the web] or [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeGeom.swf Download PipeGeom.swf]<br />
<br />
''Meshing in Salome (based on a previous version of Salome)''<br />
<br />
[http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeMesh.htm PipeMesh2007] or [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeMesh.swf Download PipeMesh.swf]<br />
<br />
''Salome file with geometry and mesh''<br />
<br />
[http://www.caelinux.org/wiki/downloads/docs/CAETutorials2011/Pipe1mesh.hdf.zip Download Pipe1mesh.hdf.zip]<br />
<br />
''CFD analysis in OpenFOAM (CAELinux 2011 only)''<br />
<br />
[http://youtu.be/ElOt9qzXQ7k Video Tutorial on Youtube] or [http://www.caelinux.org/wiki/downloads/docs/CAETutorials2011/PipeOpenFOAM.m4v Download PipeOpenFOAM.m4v]<br />
<br />
----<br />
<br />
''section to complete...''<br />
<br />
=== Tutorial title===<br />
<br />
'''subtitle'''<br />
<br />
Tutorial description<br />
<br />
Covers:<br />
* list of points<br />
<br />
Link:''' insert link here'''<br />
<br />
----<br />
<br />
== Related Projects ==</div>Wikiadminhttps://caelinux.org/wiki/index.php?title=Doc:Code-Saturne&diff=7111Doc:Code-Saturne2011-10-28T13:37:13Z<p>Wikiadmin: </p>
<hr />
<div>== Documentation ==<br />
<br />
=== Official Code-Saturne Documentation ===<br />
<br />
The original online documentation of Code-Saturne can be found here:<br />
<br />
Link: [http://research.edf.com/research-and-the-scientific-community/softwares/code-saturne/download-80059.html Code-Saturne Official Website]<br />
<br />
=== Code-Saturne Users Wiki at the University of Manchester ===<br />
<br />
A great Wiki about the use of Code-Saturne maintained by the University of Manchester<br />
<br />
Link: [http://cfd.mace.manchester.ac.uk/twiki/bin/view/Saturne/WebHome Saturne Users Wiki @ U. Manchester]<br />
<br />
== Tutorials ==<br />
<br />
=== Tutorials by EDF ===<br />
<br />
'''Code Saturne version 2.0.0rc2 Tutorial'''<br />
<br />
Includes<br />
* The present document is a tutorial for Code Saturne version 2.0.0-rc1. It presents ﬁve simple test cases<br />
and guides the future Code Saturne user step by step into the preparation and the computation of the<br />
cases.<br />
* The test case directories, containing the necessary meshes and data are available in the examples<br />
directory.<br />
* This tutorial focuses on the procedure and the preparation of the Code Saturne computations. For<br />
more elements on the structure of the code and the deﬁnition of the diﬀerent variables, it is higly<br />
recommended to refer to the user manual.<br />
<br />
Link: [https://code-saturne.info/products/code-saturne/forums/announces/715855256/471755313/tutorial.pdf tutorial.pdf]<br />
Others docs from [https://code-saturne.info/products/code-saturne/forums/announces/715855256 Code_Saturne 2.0-rc2 released]:<br />
Link: [https://code-saturne.info/products/code-saturne/forums/announces/715855256/471755313/user.pdf user.pdf]<br />
Link: [https://code-saturne.info/products/code-saturne/forums/announces/715855256/471755313/theory.pdf theory.pdf]<br />
Link: [https://code-saturne.info/products/code-saturne/forums/announces/715855256/471755313/refcard.pdf refcard.pdf]<br />
<br />
<br />
'''Code Saturne version 1.3.2 Tutorial'''<br />
<br />
Includes<br />
* The aim of this case is to train the user of Code Saturne on a simpliﬁed but real 3D compu-<br />
tation. It corresponds to a stratiﬁed ﬂow in a T-junction.<br />
<br />
Link: [http://cfd.mace.manchester.ac.uk/twiki/pub/Main/JuanUribe/tutorial.pdf tutorial.pdf]<br />
<br />
=== Tutorials by J.C. Uribe ===<br />
<br />
'''Code Saturne Tutorial: Asymmetric plane diffuser (v2.0rc2, no graphical interface)''' <br />
<br />
Includes<br />
The aim of this tutorial is to give an insight of Code Saturne to new users by solving the asym-<br />
metric plane diffuser case. The case was done experimentally by Buice and Eaton [1]. This<br />
ﬂow in a planar asymmetric diffuser is a challenging test case since its adverse pressure gradient<br />
makes the ﬂow separate from an inclined surface.<br />
<br />
Link: [http://cfd.mace.manchester.ac.uk/twiki/pub/Main/DiffuserTutorial/diffuser_tutorial.pdf diffuser_tutorial.pdf]<br />
<br />
<br />
=== Tutorials by somebody in MSc/4th Year Aerospace Advanced CFD Laboratory ===<br />
<br />
'''Laminar Flow in tube bundlusing with Code Saturne 1.3.2'''<br />
<br />
Includes<br />
* One of the objectives of this exercise is to compare the three different types of mesh-<br />
ing techniques described above for a complex curved geometry, and assess their relative<br />
strengths and weaknesses in terms of solution accuracy.<br />
* A second objective is to gain more experience in using a wider range of CFD and<br />
other software tools for simulations and post-processing; in particular here using the<br />
Code Saturne program to perform the ﬂow simulations.<br />
<br />
Link: [http://cfd.mace.manchester.ac.uk/twiki/pub/Main/TubeBundleTutorial/tutorial-1.pdf tutorial-1.pdf]<br />
<br />
<br />
=== Heat transfer in rect. channel flow: a case study ===<br />
<br />
Tutorial description<br />
We have put together a "case study" that explores the application of several different packages included with CAELinux (Salome, Elmer, Code_Saturne, Paraview, RKWard), and a couple of additional packages that we would recommend be incorporated into future releases of CAELinux (g3data for extracting data from published graphs, and Eureqa, a package for developing mathematical relationships from raw data, both of which are Open Source). The document includes a list of links that users might find useful...<br />
<br />
Link: [[Contrib:CWarner]]<br />
<br />
----<br />
<br />
=== GuideLines on How to Chain Code-Aster and Code-Saturne ===<br />
by Bracchesimo<br />
<br />
Level: advanced<br />
<br />
Covers:<br />
* Setting up the Aster-Job<br />
* Setting up the Saturne-Job<br />
* Setting up a chaining python script<br />
<br />
<br />
Link: [http://www.advancedmcode.org/open-source-fluid-structure-interaction-chaining-code_aster-and-code_saturne.html GuideLines on How to Chain Code-Aster and Code-Saturne ]<br />
<br />
----<br />
<br />
=== CFD Simulation using Code-Saturne and Salome in CAELinux 2011 ===<br />
<br />
''Summary:'' <br />
<br />
This tutorial shows how to use Salome & Code-Saturne to:<br />
<br />
# create the 3D CAD geometry of a Y-shaped pipe in Salome<br />
# generate a free tetrahedral mesh for the CFD analysis in Salome<br />
# create an Code-Saturne simulation case and import the mesh from MED file<br />
# model the steady state incompressible fluid flow in the pipe<br />
# visualize the results in Salome <br />
<br />
''Geometry (based on a previous version of Salome)''<br />
<br />
[http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeGeom.htm PipeGeom2007 on the web] or [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeGeom.swf Download PipeGeom.swf]<br />
<br />
''Meshing in Salome (based on a previous version of Salome)''<br />
<br />
[http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeMesh.htm PipeMesh2007] or [http://www.caelinux.org/wiki/downloads/docs/Pipe2007/PipeMesh.swf Download PipeMesh.swf]<br />
<br />
''Salome file with geometry and mesh''<br />
<br />
[http://www.caelinux.org/wiki/downloads/docs/CAETutorials2011/Pipe1mesh.hdf.zip Download Pipe1mesh.hdf.zip]<br />
<br />
''CFD analysis in Code-Saturne (CAELinux 2011 only)''<br />
<br />
[http://youtu.be/2caHYngtTmM Video Tutorial on Youtube] or [http://www.caelinux.org/wiki/downloads/docs/CAETutorials2011/PipeSaturneAll.m4v Download PipeSaturneAll.m4v]<br />
<br />
<br />
----<br />
<br />
<br />
''section to complete...''<br />
<br />
=== Tutorial title===<br />
<br />
'''subtitle'''<br />
<br />
Tutorial description<br />
<br />
Covers:<br />
* list of points<br />
<br />
Link:''' insert link here'''<br />
<br />
----<br />
<br />
== Related Projects ==</div>Wikiadmin