0% found this document useful (0 votes)
130 views

01 Overview 2

The document discusses the code_aster finite element analysis software and its integration with the Salome pre/post-processing platform Salome-Meca. It provides an overview of code_aster's capabilities for linear and nonlinear static/dynamic analysis across various solvers, materials, and element types.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
130 views

01 Overview 2

The document discusses the code_aster finite element analysis software and its integration with the Salome pre/post-processing platform Salome-Meca. It provides an overview of code_aster's capabilities for linear and nonlinear static/dynamic analysis across various solvers, materials, and element types.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 39

Presentation of code_aster and Salome-

Meca

Code_Aster, Salome-Meca course material


GNU FDL licence (http://www.gnu.org/copyleft/fdl.html)
Outline

General principles of code and platform

Presentation of code_aster

General information for computation

2 - Code_Aster and Salome-Meca course material GNU FDL Licence


Outline

General principles of code and platform

Presentation of code_aster

General information for computation

3 - Code_Aster and Salome-Meca course material GNU FDL Licence


General principles of code and platform (1/4)
code_aster is a stand-alone thermo-mechanical solver
No integrated GUI to create geometries and meshes
No colourful post-processing
With the data settings prepared in a text file

Pre-processing
(CAD, meshes)

u, s, e
Post-processing
Creation of finite of results
element model and
resolution
Data setting of the
mechanical problem

Input: mesh and data setting


Output: physical fields (displacement, strain, stress, temperature )

4 - Code_Aster and Salome-Meca course material GNU FDL Licence


General principles of code and platform (2/4)
SALOME is a generic framework for pre- and post-processing

Various
Med physical code_aster Solver X Solver Y
Job
format solvers manager

Supervision, GUI and SDM

Salome
Data Math. Visuali-
generic CAD Mesh
services setting operations zation

5 - Code_Aster and Salome-Meca course material GNU FDL Licence


General principles of code and platform (3/4)

code_aster is a thermo-mechanical solver


SALOME is a generic platform for physical simulations

Salome-Meca = SALOME + code_aster (software integration)

Advantages
Easy installation of a complete environment (linux only)
A consistent and continuous user experience
Access from different modules to main SALOME study elements: meshes, results
Graphical selection of topological entities for data setting of code_aster
Possibility of using different pre- and post-processing tools
Importation of meshes and geometries prepared by Geometry and Mesh modules of SALOME
Importation of different input mesh formats and output result formats
Possibility for a stand-alone use of code_aster solver
6 - Code_Aster and Salome-Meca course material GNU FDL Licence
General principles of code and platform (4/4)

Salome-Meca is the integration of the code_aster solver in the


SALOME platform including the AsterStudy module for
Computer Aided Engineering (CAE)

code_aster GUI module


AsterStudy
Visualization module
CAD module Mesh module ParaViS
Geometry Mesh

7 - Code_Aster and Salome-Meca course material GNU FDL Licence


Outline

General principles of code and platform

Presentation of code_aster

General information for computation

8 - Code_Aster and Salome-Meca course material GNU FDL Licence


Presentation of code_aster
An all-purpose code for themo-mechanical study of structures
With a wide variety of models
More than 400 finite elements: 3D, 2D, shells, beams, pipes
More than 200 constitutive laws
A wide range of solvers: mechanical statics and dynamics, vibrations, modal and harmonic analysis,
thermo-hydro-mechanical coupled problems, thermics, metallurgy, acoustics

A computational software used by engineers, experts and researchers


Studies: a need of a robust, reliable, tested and qualified mechanical simulation software at EDF
Researches: continuous integration of new models in the development version

9 - Code_Aster and Salome-Meca course material GNU FDL Licence


code_aster for advanced simulations
Solving three types of non-linear problems
Material behaviour: around two hundred nonlinear constitutive laws
Kinematics: large displacements, large strains, large rotations
Contact and/or friction

Advanced features in mechanics


Porous media, fracture mechanics, fatigue, damage, metallurgy, seismic analysis,
rotating systems ...

10 - Code_Aster and Salome-Meca course material GNU FDL Licence


code_aster: a wide range of behaviours
Elasticity and elasto-plasticity
'ELAS, ELAS_HYPER, 'VMIS_ISOT_TRAC, 'VMIS_ISOT_PUIS, 'VMIS_ISOT_LINE, 'VMIS_CINE_LINE, 'VMIS_ECMI_TRAC, 'VMIS_ECMI_LINE, 'VMIS_CIN1_CHAB,
'VMIS_CIN2_CHAB, 'VMIS_CIN2_MEMO, 'DIS_CHOC, 'VMIS_POU_LINE, 'VMIS_POU_FLEJOU, 'ARME, 'ASSE_CORN, 'DIS_GOUJ2E_PLAS, 'DIS_GOUJ2E_ELAS,
'VMIS_ASYM_LINE, 'DIS_ECRO_CINE , 'DIS_BILI_ELAS

Elasto-viscoplasticity
'VISC_ISOT_LINE, 'VISC_ISOT_TRAC, 'LEMAITRE, 'DIS_VISC, 'VISC_CIN1_CHAB, 'VISC_CIN2_CHAB, 'VISC_CIN2_MEMO, 'VISCOCHAB , 'NORTON_HOFF,
'VISC_TAHERI, 'MONOCRISTAL, 'POLYCRISTAL

Materials for nuclear fuel and metals under irradiation


'VISC_IRRA_LOG, 'GRAN_IRRA_LOG, 'GATT_MONERIE, 'LEMAITRE_IRRA, 'LMARC_IRRA, 'LEMA_SEUIL, 'IRRAD3M, 'DIS_GRICRA

Models with mechanical effects of metallurgical transformations


Fracture mechanics and damage models
'ENDO_FRAGILE, 'ROUSSELIER', 'ROUSS_PR', 'ROUSS_VISC, 'VENDOCHAB, 'VISC_ENDO_LEMA, 'CZM_EXP_REG, 'CZM_LIN_REG, 'CZM_EXP, 'CZM_OUV_MIX' ,
'CZM_TAC_MIX, 'CZM_TRA_MIX' , 'CZM_FAT_MIX, 'RUPT_FRAG, 'JOINT_MECA_RUPT, 'JOINT_MECA_FROT,'ENDO_HETEROGENE

Concrete, reinforced concrete, civil engineering models


'ENDO_ISOT_BETON, 'ENDO_SCALAIRE,'ENDO_CARRE' , 'ENDO_ORTH_BETON, 'MAZARS, 'BETON_DOUBLE_DP, 'LABORD_1D, 'GRILLE_ISOT_LINE,
'GRILLE_CINE_LINE, 'GRILLE_PINTO_MEN, 'PINTO_MENEGOTTO, 'GLRC_DAMAGE, 'GLRC_DM' , 'CORR_ACIER' , 'BETON_REGLE_PR, 'JOINT_BA' , 'GRANGER_FP,
'GRANGER_FP_V, 'GRANGER_FP_INDT' , 'BETON_UMLV_FP, 'BETON_RAG'

Geomaterials
'ELAS_GONF , 'CJS ' , 'LAIGLE , 'LETK , 'HOEK_BROWN' , 'HOEK_BROWN_EFF, HOEK_BROWN_TOT , 'CAM_CLAY , 'BARCELONE , 'DRUCK_PRAGER' ,
'DRUCK_PRAG_N_A' , 'VISC_DRUC_PRAG, 'HUJEUX , 'JOINT_BANDIS '

Multi-physics: thermo-hydro-mechanical, concrete, metallurgy


User materials : UMAT, MFront, Aster

11 - Code_Aster and Salome-Meca course material GNU FDL Licence


code_aster: a wide range of finite elements
Continuum mechanics
3D
Linear, quadratic, reduced or full integration
2D
plane strain, plane stress, axi-symmetry
Integration of non-linear behaviour in plane stress

Structural elements
2D elements : shells, plates
1D elements : beams, bars, cables, pipes
Discrete elements : masses, springs, dashpots

Connections and assemblies


Linear relationships between degrees of freedom, transmission of torque

Discontinuous media (cracks and joints)


XFEM level-sets
Joint elements and CZM (Cohesive Zone Model)
12 - Code_Aster and Salome-Meca course material GNU FDL Licence
code_aster: algorithms and analysis methods
Mechanical solvers
Linear or non-linear statics : MECA_STATIQUE, STAT_NON_LINE
Dynamics on physical basis : DYNA_VIBRA, DYNA_NON_LINE
Modal analysis : CALC_MODES
Dynamic on modal basis : DYNA_VIBRA

Other physics
Thermics : THER_LINEAIRE, THER_NON_LINE
Acoustics : PHENOMENE=ACOUSTIQUE
Metallurgy (for welding applications)
FSI : fluid-structure interaction
Thermo-hydro-mechanical coupling (porous media modelling)

Tools for resolution


Substructuring, control of the nonlinear algorithms
Several algebraic solvers, sequential or parallel, direct or iterative
Post-processing tools : CALC_CHAMP, POST_CHAMP,
13 - Code_Aster and Salome-Meca course material GNU FDL Licence
Outline

General principles of code and platform

Presentation of code_aster

General information for computation

14 - Code_Aster and Salome-Meca course material GNU FDL Licence


Stages of a study
Step Salome-Meca code_aster standalone
Geometry definition SALOME (Geometry) CAD modeller

Mesh generation SALOME (Mesh) Mesh tool

Data settings Text editor


SALOME (AsterStudy)

Computation launching
and survey
Result analysis SALOME (ParaViS) Visualization application,
spreadsheet

MED mesh MED result


code_aster
solving

15 - Code_Aster and Salome-Meca course material GNU FDL Licence


AsterStudy integrated GUI for code_aster in
SALOME Platform (1/2)
Case management:

Data settings:
Graphical data setting with strong mesh
interaction
Text mode with custom embedded text
editor for high level command file edition
(python loops, code_aster data structure
introspection )

Data files:
Automatic input and output files
management in graphical mode
Custom management by user in advanced
text mode

16 - Code_Aster and Salome-Meca course material GNU FDL Licence


AsterStudy Integrated GUI for code_aster in
SALOME Platform (2/2)
Case computation:

Launch computation:
Choose which stages of a
study case to launch
Set properties for a run
(code_aster version, memory
allocation, cluster or localhost
execution)

Survey and management of running case:


Interactive follow up of computation
Graphical display of relation between running cases
Access to output and message file from a run case

17 - Code_Aster and Salome-Meca course material GNU FDL Licence


Case View tab overview :

Main commands
sort in categories

Show all commands


available

Stage management

Stages 1 and 2: stages are used to


divide a case, here thermal analysis and
Data Files management then mechanical analysis
Data Settings management

18 - Code_Aster and Salome-Meca course material GNU FDL Licence


Data settings: Add
Graphical command edition commentary Switch
Aster/Skill-
oriented
language

Show only filled


keyword

Information on
keyword

Go to
documentation

Rules
representation

Mandatory keyword

19 - Code_Aster and Salome-Meca course material GNU FDL Licence


Graphical command edition
Search tool
for keyword Depth of edition

Unfold the list of


factor keyword
occurrences

Add factor Factor keyword


keyword summary and
occurence edition button

20 - Code_Aster and Salome-Meca course material GNU FDL Licence


Graphical mesh interaction Available meshes
from Mesh module

Add mesh from a


file

Group selection
widget, with automatic
group detection

Group selection
synchronized with
group visualization

21 - Code_Aster and Salome-Meca course material GNU FDL Licence


Graphical Python variables definition

Add simple Python variable

Python variable edition panel

All Python variables are stored at


the beginning of each stage

22 - Code_Aster and Salome-Meca course material GNU FDL Licence


Case View:
Advanced text mode command file edition
Switch to text mode for advanced
command file edition

Custom embedded editor (command completion, syntax


coloring)

23 - Code_Aster and Salome-Meca course material GNU FDL Licence


Data setting and command language (1/3)
Command file is ALSO a python
script
However, we should only focus on the
code_aster commands

Command file composes of a


sequence of code_aster specific
commands
Each specific command composes of keywords
and defines, assigns or uses data as input

Most of the commands produce


"concepts"
On the left side of the equal sign ( = )
The concepts generated by one command can
be used as an input to the following command

Command file contains no geometry


description

24 - Code_Aster and Salome-Meca course material GNU FDL Licence


Data setting and command language (2/3)
An example of a command

STEEL = DEFI_MATERIAU (ELAS = _F ( E=205000.E6, NU=0.3 ) )

Name of the concept Command Factor Simple keyword Argument


User choice keyword of the simple keyword

An other example
IMPR_RESU( RESU = _F ( RESULTAT = RESU ) )

Command Factor Simple keyword Argument


keyword of the simple keyword
No concept
is produced
25 - Code_Aster and Salome-Meca course material GNU FDL Licence
Data setting and command language (3/3)
reuse keyword is used to extend an existing concept
MESH = LIRE_MAILLAGE ( FORMAT = MED )
MESH = DEFI_GROUP ( reuse = MESH,
MAILLAGE = MESH,
CREA_GROUP_NO = _F (GROUP_MA = upper ))

Reuse of the MA concept


defined by LIRE_MAILLAGE Indicator of a factor keyword

Since commands are sequential, a concept must be created before


being used
MESH = LIRE_MAILLAGE()
STEEL = DEFI_MATERIAU(ELAS = _F( E = 205000.0E6,
NU = 0.3, ),)
CHMAT = AFFE_MATERIAU(MAILLAGE=MESH,
AFFE =_F(TOUT='OUI',
MATER=STEEL,),)

26 - Code_Aster and Salome-Meca course material GNU FDL Licence


Data Settings: code_aster input and output files

Input files: Output files:


Command file Aster Message file
Meshes: Aster Result file
Aster (.mail) Output format:
Med (.med) Med (.med)
Gibi (.mgib) Ideas (.unv)
Ideas (.unv) GMSH (.msh)
GMSH (.msh) others
Bases (folder): Bases (folder):
Aster base or HDF Aster base or HDF
Various data in text format Various results in text
format

27 - Code_Aster and Salome-Meca course material GNU FDL Licence


Data files: Graphical mode

Directly add files in


command edition panel

File summary for stage forma01a

Command related with the file


forma01a.mmed

28 - Code_Aster and Salome-Meca course material GNU FDL Licence


Data files: Advanced Text Mode

Pay attention to the


correspondance between data
files and command files for
logical units

Manage file manually

29 - Code_Aster and Salome-Meca course material GNU FDL Licence


Case management:
History view tab overview: Create and import case
Switch to History View

List of
previous run
cases

Current case
(needs to be
selected for
edition and
launch to be Automatically refreshed output
possible) of the calculation for the currently
selected case

Selection of
stages to be run
30 - Code_Aster and Salome-Meca course material GNU FDL Licence
Selection of the stages to be run
Stage 1 will be run ( ) and may be used to
restart a computation ( Reusable )

Neither stage 2 nor stage 3 will be run ( )

Stage 1 wont be executed, only its results


will be reused ( )

Stage 2 will be executed and may be reused


afterwards
Stage 3 wont be run

Stage 1 wont be executed, only its results


will be reused

Stage 2 and 3 will be executed jointly and


the results of stage 3 will be reusable

31 - Code_Aster and Salome-Meca course material GNU FDL Licence


Launching of calculations

Standard
parameters
Server on which the Parallel calculations
calculation is run settings
Free field to
describe the
case to be run

Location of
outputs and logs
for each run case

32 - Code_Aster and Salome-Meca course material GNU FDL Licence


Representation of previously run cases

1st run case

2nd run case

3rd run case

33 - Code_Aster and Salome-Meca course material GNU FDL Licence


Follow-up of calculations

Tool tip with the metadata


of a previously run case To search
including the free the output
comment field

Hyperlinks to easily browse


through the ASCII output of
the calculation by stage

34 - Code_Aster and Salome-Meca course material GNU FDL Licence


ASTK standalone GUI for computation launching
(1/4)
GUI Management Study

Files of
current
study

File settings ; unit, data file, result file, compression, Run settings
35 - Code_Aster and Salome-Meca course material GNU FDL Licence
ASTK standalone GUI for computation launching
(2/4)
Each file has an associated "type"

Command file

Mesh file
Here in MED format

base
Folder containing files (compressed or not) allowing the
recovery of the calculation

Message file
Verbatim report of the computation, information, alarms and
errors

Result file
Text file containing the prints in this format

File containing calculated fields


Here in MED format

36 - Code_Aster and Salome-Meca course material GNU FDL Licence


ASTK standalone GUI for computation launching
(3/4) Input file

Output file

Compressed file

Each file can be input (data),


output (result), or both (case of the
base)

Each type of file has a "logical unit"


assigned by default. The value can be
changed with caution.
37 - Code_Aster and Salome-Meca course material GNU FDL Licence
ASTK standalone GUI for computation launching
(4/4)

File forma01a.comm
DEBUT()
MESH1 = LIRE_MAILLAGE( UNITE = 20 )
MESH2 = LIRE_MAILLAGE( FORMAT = 'MED',
UNITE = 21 )
FIN()

In case of multiple files of the same type (mesh, command file,


results), attention to conflicts of "logical units"
38 - Code_Aster and Salome-Meca course material GNU FDL Licence
End of presentation

Is something missing or unclear in this document?


Or feeling happy to have read such a clear tutorial?

Please, we welcome any feedbacks about Code_Aster training materials.


Do not hesitate to share with us your comments on the Code_Aster forum
dedicated thread.

39 - Code_Aster and Salome-Meca course material GNU FDL Licence

You might also like