04-A Simple Mechanical Study
04-A Simple Mechanical Study
mechanical study
Inlet pipe
Outlet pipe
Intake
Simplify the fixation :
Exhaust
Face_Bas
Mesh in code_aster
Mesh consists of
Coordinates of nodes
Mesh in code_aster
Mesh in code_aster
Finite elements
Shape functions
Degrees of freedom
Unknowns fields
Finite elements
Finite elements
/ '3D_THM' / 'DKT' / …
/ … / …
Finite elements
Materials – Definition
Example:
Applied force N N
Materials – Definition
Materials – Assignment
Example: GR2
1 2
Materials – Assignment
Example:
STEEL1 = DEFI_MATERIAU( ELAS = _F( E = 205000.0E6, NU = 0.3, ), )
STEEL2 = DEFI_MATERIAU( ELAS = _F( E = 305000.0E6, NU = 0.3, ), )
STEEL3 = DEFI_MATERIAU( ELAS = _F( E = 405000.0E6, NU = 0.3, ), )
mater=AFFE_MATERIAU(MAILLAGE=mesh,
AFFE=_F(TOUT='OUI', MATER=steel,),)
Loadings: EXCIT
Direct solvers
MUMPS (MUltifrontal Massively Parallel sparse direct Solver): Default method. external
solver. Slightly broader scope than MULT_FRONT. Provides access to parallelism.
MULT_FRONT (multi-frontal): Universal solver, very robust. Not recommended for mixed
models of X-FEM, incompressible ...
Iterative solvers
GCPC (Preconditioned conjugate gradient): recommended method for thermics. Useful for
well conditioned, large problems.
PETSC: external multi-method solver. Very fast and robust when associated with pre-
conditioner LDLT_SP. Provides access to parallelism.
Use of parallelism
Choose SOLVEUR=_F(METHODE=‘MUMPS’) or
SOLVEUR=_F(METHODE=‘PETSC’)
Moderate parallelism: Up to 8 processors, the gains are virtually guaranteed for large
enough problems (50000 unknowns)
Massive parallelism: for huge studies (Exemple, 200 millions DOF and 2000 time steps
during 5h with 2000 processors
Results in code_aster
Functions: RECU_FONCTION
IMPR_RESU
Meshes / Fields / Data contained in a result data structure.
IMPR_TABLE
Different formats: Print the contents of a table in a listing or an Excel file, also plot
curves
IMPR_FONCTION
Extract the evolution of a quantity as a function of another
Results in code_aster
Several components;
Examples:
Exception! DEPL, VITE, ACCE
SIEQ_ELNO, SIGM_ELNO
Calculation information
Follow-up
Calculation information
Calculation information
(Post-Process =>)ParaVIS
ADAO
OpenTurns
Variables
Special commands
DEBUT command
Begins execution, previous lines are ignored
POURSUITE command
Restarts execution from a database provided as an input
Useful to continue a calculation initiated with the same version of code_aster
Recommended to separate the calculation from the post-processing
Calculation: DEBUT() … FIN()
FIN command Post-processing: POURSUITE() … FIN()
Ends the command file and ends the run, following lines are ignored
Closes the database at the end of execution
Specifies the format used for the produced base: HDF or Aster
Functions
Define a real or complex function of a real variable
Usually for the loading or boundary conditions, which depends on space or time
FUNC = DEFI_FONCTION( NOM_PARA = ‘Y’,
VALE = ( 0.0, 200000.0, 4.0, 0.0) )
Time stepping
Time list for the calculation