Professional Documents
Culture Documents
Salome Code Aster User Manual PDF
Salome Code Aster User Manual PDF
Introduction
Salome & Code_Aster provides user a option to mesh , analyze, modify and validate
various CAD/CAM geometry.
FIGURE 1
CollabCAD GUI interface has been designed to access and run Salome, Translator and
Code_Aster from the Analysis menubar.
September 2008 1
Salome/Code-Aster System User Manual
Illustration: As shown in the above figure user need to follow the systematic procedure,
since all the three application Salome, Translator & Code_Aster together give the user a
complete solution to deal with CAD geometry, modify, enrich it by applying various
algorithms and hypothesis, can perform numerical analysis though some easy steps , and
finally can obtain different views, graphs.
FIGURE 2
Illustration:
IGES/STEP/BREP/AICS : Geometry developed by CAD software
.MED : Data Exchange Format supported by Salome
.ASTK : Input file Format for Code_Aster
res.MED : Result file Format Exported by Code_Aster and also
Input File Format for Salome Post-Process
September 2008 2
Salome/Code-Aster System User Manual
1. SALOME
Salome is a free software provides a generic platform for pre and post processing for
numerical simulation has been developed on open-cascade technology, serves as a
Pre/Post Processor. It supports inter portability between CAD modelling and
Computation software (CAD-CAE link).
NOTE: Salome has been configured only for Linux based distribution not for windows
based platform
1.1 Pre-Requisites:
1.2 Configuration:
OR
vi env_products.sh [ for bash]
September 2008 3
Salome/Code-Aster System User Manual
OR
vi ../../collacad/tools/Salome/KERNEL_3.2.6/salome.sh [ for bash]
export INSTALL_ROOT=../../collabcad/tools/FEA/Salome
1.2.3 vi [collabcad_home]/collabcad/tool/Salome/CCADSalome
source [collabcad_home]/collabcad/tools/FEA/Salome/env_products.csh
OR
source [collabcad_home]/collabcad/tools/FEA/Salome/env_products.sh
# rm -rf ../../../salome/omni
ln -s ../../../salome/omniORB-4.0.7 omni
September 2008 4
Salome/Code-Aster System User Manual
- Before starting Salome application make sure that you have made all the settings
correctly
- To start Salome select
CollabCADAnalysis Salome/Code_Aster Salome
1.4.1 To Load Geometry module select Geometry in the main window, and then
select New to open a new application, wait till it load.
FIGURE 3
1.4.2 In Geometry you can import geometry (IGES, STEP , BREP ) files/structures
September 2008 5
Salome/Code-Aster System User Manual
1.4.3
How To Load Geometry Module :
File --> Import --> IGES Files(*.iges , *.igs)
BREP Files(*.brep)
ACIS Files(*.sat)
STEP Files(*. Step,*.Stp)
FIGURE 4
September 2008 6
Salome/Code-Aster System User Manual
FIGURE 5
FIGURE 6
September 2008 7
Salome/Code-Aster System User Manual
2. Translator
As the name defines, this is nothing but a open source free translator developed by
CAElinux team available ,which translates [xxx.med] file to [xxx.astk] file.
FIGURE 7
2.4
2.4.1 Here project Name is Name of folder where xx.astk, xx.comm and
xxmesh.med file will be store.
2.4.2 Base Directory : is the directory where your xx.med file present
2.4.3 MED Mesh file is the med file which you want to translate to .astk format
2.4.4 Template is type of xx.comm file user want to Create coresponding to the
type of Structure, which is to be treated with EFICAS -a application of
Code_Aster
2.5 User can set all the above fields by browsing the correct option (click the browse
button provided at end of each field.
September 2008 8
Salome/Code-Aster System User Manual
FIGURE 8
2.6 A success message will get displayed - instructing the user that xx.astk file has
been created successfully and user can open the .astk file with ASTK module of
Code_Aster to continue the analysis.
2.7 Now just click OK to finish the job.
3. Code_Aster
Code_Aster serves as a finite element solver. It is a open source software, offers a full
range of multi-physical analysis and modeling methods that go well beyond the standard
functions of thermo mechanical calculations .
3.1 Prerequisites:
3.1.1 Python
3.1.2 gcc (C, C++/g++,g77 compiler)
3.1.3 Xmgrace
3.1.4 lapack, blas Math Kernel Libraries
3.2.Settings:
To set environment for code aster follow the instruction below
Replace collabcad_HOME with the directory where you have kept collabcad
September 2008 9
Salome/Code-Aster System User Manual
(downloded one)
i.e, collabcad_HOME = ...../../collabcad in the following line:
Inside Code_Aster INSTALL_ROOT directory there will be 4 directories and one .sh
file as given below
ASTK/
STA9.0/
aster_profile.sh@
outils/
public/
ASTK - the main GUI interface, is responsible for networking capabilities. ASTK
folder conatains both ASTK_CLIENT and ASTK_SERV
While upgrading astk your previous installation is saved in
ASTER_ROOT/ASTK/ASTK_{CLIENT,SERV}.old.
September 2008 10
Salome/Code-Aster System User Manual
FIGURE 9
Set the Base path browsing the folder containing xxxxxx.astk file.
e.g. Suppose /disk1/box
select File Open
September 2008 11
Salome/Code-Aster System User Manual
FIGURE 10
Read the comments in the .comm file, explore the details of the commands and try to
understand the structure of the proposed FE modelling
e.g. Expand Defi_Materiau command select E and enter 70e3 and to validate press
ENTER
NOTE: Take special care while performing operations with EFICAS , understand each
and every operations carefully related mechanical, physical and thermal
conditions and then proceed.
Now Go to File Menu click Enregister to save the operations you operated
Now Go back to ASTK and press the RUN button and to follow the resolution
process as shown below and wait till it completes. After completion the editor
will vanish
September 2008 12
Salome/Code-Aster System User Manual
FIGURE 11
4 . Salome Post-Processing
After the completion of analysis with Code_Aster, post processing has to be carried out
with Salome application.
4.1 Start a New Salome application
4.2 Load Post -Pro Module
4.3 Import the [xxxres.med] file created with Code_Aster application
4.4 Now move to the object browser, right click on the multi-colored icon
Post-Pro, finally select Expand All as shown below.
September 2008 13
Salome/Code-Aster System User Manual
FIGURE 12
4.5 User will be able to see three sections in the object browser
Families
Groups
Fields
Select Fields SolLin_DEPL user can see two sub options
- onNodes
- 0.INCONNUE
4.6 Right click on 0,INCONNUE - user will see a lot of options. Select the option as per
your requirement.
4.7 Examples
September 2008 14
Salome/Code-Aster System User Manual
FIGURE 13
FIGURE 14
September 2008 15
Salome/Code-Aster System User Manual
FIGURE 15
FIGURE 16
September 2008 16
Salome/Code-Aster System User Manual
FIGURE 17
For details about these option please refer the user manual for post-Pro modules.
Supervisor Module:
Supervisor module is useful full for graphical representation purpose
With Supervisor module user can -
1. Construct and edit graphs
2. Initialize graphs
3. Execute and control the activity of a graph
Med Module:
MED module is basically used for data exchange purpose
5. System Settings
5.1 User have to create the following links to run Salome ,code-Aster.Helper
respectively
5.2 While running Collabcad ,runcollabcad script unset the system paths to avoid
conflict. Hence to enable the required system paths follow the following steps.
vi runcollabcad
comment the following line
# unsetnv PATH
5.3 while running Salome,it user the /tmp folder for Naming Service and to create log
files as well. So User should be the owner of /tmp folder (OR should have
permission).
Note: All the above cases has been tested for Linux System
September 2008 18