Doc:CAETutorials

From CAELinuxWiki
Jump to: navigation, search

Contents

Find tutorials and examples on LiveCD or installed CAELinux distro

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.

CAELinux 2011 video tutorials

You can find the new video tutorials for CAELinux 2011 on that page of the Wiki Doc:CAELinux2011_Tutorials

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

Introduction tutorial: general use of Salome & Code_Aster (CAELinux2008 / CAELinux 2007)

This is the first tutorial on the use of Salomé & Code_Aster. The example case study treated here is a linear statics analysis of a piston.

In this tutorial, you will learn to:

  1. import & mesh a STEP geometry in Salomé
  2. create & edit the options of a FE study in Code_Aster
  3. solve the FE problem
  4. load results in Salomé & post-process the data

Duration approx. 30 min.

Interactive Flash tutorial (CAELinux 2007): PistonTutorial2007 on the web or Download PistonTutorial.swf

Piston geometry in STEP format: Media:piston.zip

Tutorial in PDF format - Updated for SaloméMECA 2010.2 Media:Piston_tutorial.pdf

Video showing the steps in the piston tutorial

Older versions:

Tutorial in PDF format (CAELinux beta 2): Media:IntroductionTutorial1.pdf

Video tutorial in CAELinux beta 3b: IntroductionVideoPart1 and IntroductionVideoPart2

Salome & OpenFOAM tutorial: 3D CFD analysis of a Y-shaped pipe (CAELinux 2008 / CAELinux 2007)

This tutorial shows how to use Salome & OpenFOAM to:

  1. create the 3D CAD geometry of a Y-shaped pipe in Salome
  2. generate a free tetrahedral mesh for the CFD analysis in Salome
  3. create an OpenFOAM simulation case and import the mesh from UNV file
  4. model the transient incompressible fluid flow in the pipe
  5. visualize the results in ParaView

This tutorial is subdivided in three parts: Geometry, Meshing & CFD analysis.

Flash video tutorials:

Part 1 notes for CEALinux 2008 users: This tutorial video was created with the CAELinux 2007 version software packages. This includes Salome-Meca version 3.2.6. While this tutorial is still applicable to CAELinux 2008 there is a known software bug in Salome-Meca 3.2.9. This will not allow you to use the "Extrude along a path" functionality with a wire type selection for the path of the swept circular face. There is a file packaged with the CAELinux2008 distro at this location /opt/helpers/docs/tutorials/pipe/Pipe1.hdf. 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 shape in the geometry mode of Salome.

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.

  1. Part 1, Geometry modelling in Salome : PipeGeom2007 on the web or Download PipeGeom.swf
  2. Part 2, Meshing in Salome : PipeMesh2007 or Download PipeMesh.swf
  3. Part 3, CFD analysis in OpenFOAM : PipeOpenFOAM2007 or Download PipeOpenFOAM.swf

Salome & Elmer tutorial: 3D thermal analysis of a piston (CAELinux 2008 / CAELinux 2007)

This tutorial shows how to use Salome & Elmer together to:

  1. import 3D CAD geometry from a Step file & define groups for boundary conditions
  2. generate a free tetrahedral mesh for the thermal analysis in Salome
  3. export the mesh in UNV format and convert it to GMSH format
  4. convert the GMSH mesh to the native Elmer format
  5. model the heat transfer problem in ElmerFront
  6. solve the problem with ElmerSolver and visualize results in ElmerPost

This tutorial is presented in one single Flash video.

Flash video tutorial: pistonElmer.htm (55 Mb)

RAR archive : pistonElmer.rar (16 Mb)

Piston geometry in STEP format: Media:piston.zip



Code-Saturne & Salome: 2D flow around a step (CAELinux 2008)

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.

Topics covered: Mesh preparation & export, CFD Wizard, Code-Saturne GUI, Code-Saturne solution, Post-processing in Salome

Video Tutorial & Files:

Media:FlowStep.tar.gz

Media:FlowStepFlashVideo.zip

Some additionnal informations:

- this archive should be decompressed in /tmp to work properly without modifications

- you will need Salome 3.2.9 and Code-Saturne 1.3.1

- the Salome FlowStep.hdf contains the geometry, mesh and some post pro results

- to edit the Code-Saturne input file, open CAEKonsole, move to '/ tmp / FLOWSTEP / CASE1 / DATA' and run '. / SalomeGUI'


Salome: Extrusion Geometry and Extrusion meshing (CAELinux 2008)

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).

Topics covered: 2D sketch, extrusion, global mesh definition, local mesh (submesh), extrusion meshing, quadratic elements

Video Tutorial & Salome HDF file: Media:ExtrusionTutorial.zip


Salome: Geometry & meshing tutorial 1 (CAELinux beta 2)

This is a tutorial on the use of Salome for 3D geometry modelling (CAD-like) & meshing.

Topics covered: 2D sketch, extrusion, boolean operations, array of features, partitionning, global & local mesh definition, mesh quality check, ...

Duration approx. 60 min.

Tutorial & HDF geometry in ZIP format: Media:TutorialGEOM1.zip


Salome & Code-Aster JML's Tutorials (CAELinux beta 2)

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.

For questions / comments about these tutorials, feel free to mail to the authors:

jean-marc [dot] lichtle [at] gadz [dot] com (french and german)

laluciol [at] club-internet [dot] fr (english)

Note that these tutorials are also available at www.mirabellug.org

Downloads

Zip Archive containing all pdf files (french & english): Media:JMLTutorials.zip

Please note that at the moment only the first two tutorials are translated in english.


P. Carrico's Tutorials (CAELinux beta 3, Code-Aster 9)

Another great contribution to Code-Aster tutorials by P. Carrico. These tutorials will give you a more in-depth and detailed view of the possibilities of Code-Aster and other related tools (Gibi, Salome).

For comments, please contact the author at:

paul [dot] carrico [at] free [dot] fr

Please note that :

  1. 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,
  2. New !! An HTML version of the tutorials in now online HERE with the possibility to automatically translate the documents from French to English or German.
  3. 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.


Tutorial 1: Post-processing / Post-traitements

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.

Tutorial 1 PDF file (FR): Media:CAELINUX_post_traitement.pdf, HTML (FR/EN/DE): Link

Tutorial 2: Cyclic symmetry

In this tutorial, you will learn how to model & analyze a cyclic symmetric part in Code-Aster.

Tutorial 2 RAR archive (FR): Media:CAELINUX_symetrie_cyclique.rar, HTML (FR/EN/DE): Link

Tutorial 3: Thermo-mechanics

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).

Tutorial 3 RAR archive (FR): Media:CAELINUX_thermomecanique.rar, HTML (FR/EN/DE): Link

Tutorial 4: Shells

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).

Tutorial 4 RAR archive (FR): Media:CAELINUX_coques.rar, HTML (FR/EN/DE): Link

Tutorial 5: Plasticity

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.

Tutorial 5 RAR archive (FR): Media:CAELINUX_plasticite.rar, HTML (FR/EN/DE): Link


Advanced Examples (CAELinux beta 3b)

A set of advanced FE modelling examples with Salome & Code-Aster is proposed here. 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.

The topics convered by these examples are: plastic deformations, thermo-mechanics, contacts, modal analysis, composite materials and FE modelling of assemblies!!

For more information or for downloads, see this page: CAELinux Advanced Examples or Doc:AdvancedExamples


A few test cases for Code_Aster 9.4 and 10.1.X among other documentation

Contrib:Claws/Code_Aster


Assembly analysis of a little press frame (Salome 3.2.9 on Caelinux 2008)

Contrib:Cacciatorino

Here you will find a tutorial and all files needed to perform the fem analysis of the frame of a little hydraulic press


An short introduction to Geometry modelling & FE analysis in Salome-Meca 2008.1

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

Media:Study04a.pdf

An tutorial on script-based model generation in Salome-Meca 2008.1

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

Media:Study08b.zip


Guide to composite analysis

In this document you will find a guide to analize composite behavior.

Composite analysis

Another introductory tutorial: Salome-Meca 2008.1 GPL

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:

  1. Import 3D STEP geometry (created with VariCAD for GNU/Linux),
  2. create a mesh,
  3. apply boundary constraints and loads,
  4. analyse,
  5. and finally post-process (visualize) the results.

Another simple tutorial

Step-by-step guide for the modeling of a simple geometry and solving for its electric field with CAELinux

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.

Media:electrostatic_guide.pdf

Beam & plate structure analysis using GMSH / Salome & Code-Aster

Exploring the world of beams, plates, rods and cables structures in a linear and non linear fashion with Gmsh, Code_Aster and Salome-Meca.

by Jean-Pierre Aubry

With about 70 pages it is more than a simple tutorial, hence the pdf format.

File:Beam-cable-gmsh-aster.pdf


Getting Started with DynELA - a dynamic finite element solver

This is a very brief introduction to setting up and running DynELA.

DynELA Quick-Start

Other important contributions on the Wiki (examples, tutorials)

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 :

Link: Contrib:Main

As an example, here is a small list of available tutorials in the Contrib section:

  1. Real world CFD study with Code Saturne, see: Contrib:Claws
  2. Laminar pipe flow (Code-Saturne and OpenFOAM (added 2013)), see: Contrib:BondMatt
  3. Turbulent pipe flow (Code-Saturne and OpenFOAM (added 2013)), see: Contrib:BondMatt
  4. Salome + Code-Aster examples (shell, plasticity, buckling, modal, dynamics, ...), see: Contrib:KeesWouters
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox