Code_Aster ®
Version
7.4
Titrate:
Macro-command INCLUDE_MATERIAU
Date:
25/01/05
Author (S):
C. DURAND, A. Key M. DONORE
:
U4.43.02-C Page
: 1/6
Organization (S): EDF-R & D/AMA
Handbook of Utilization
U4.4- booklet: Modeling
Document: U4.43.02
Macro-command INCLUDE_MATERIAU
1 Goal
To recover the characteristics of a material in Catalog Matériaux Aster.
This macro-command makes it possible to define a material via DEFI_MATERIAU, of which characteristics
physics is taken or evaluated according to the temperature in a data base.
The name of the concept material produced and usable in the continuation of the command file is specified by
key word NOM_MATER.
For the executions on the internal server of calculation EDF, the catalogs materials are located in
repertory/aster/v7/sta7/material. In the sources published, only a catalog is given to
titrate example: A42_REF_A. NOMI.
In ASTK, the access path to the catalogs materials is skeletal in the menu
Options/Arguments/rep_mat.
Handbook of Utilization
U4.4- booklet: Modeling
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Macro-command INCLUDE_MATERIAU
Date:
25/01/05
Author (S):
C. DURAND, A. Key M. DONORE
:
U4.43.02-C Page
: 2/6
2 Syntax
INCLUDE_MATERIAU
(
NOM_AFNOR
=
nomafnor,
[K8]
TYPE_MODELE
=/“ref.”,
/
“PAR”
,
VARIANTE
=
/
“A”
,
/“B”,
/“It,
/“Of,
/“E”,
/“F”,
/“G”,
/“H”,
/“I”,
/“I,
/“K”,
/“It,
/“Me,
/“,
/“O”,
/“P”,
/“Q”,
/“R”,
/“,
/“You,
/“U”,
/“V”,
/“W”,
/“X”,
/“Y”,
/“Z”,
TYPE_VALE
=
/
“NOMI”
,
/“MAXI”,
/“MINI”,
NOM_MATER
=
to subdue,
[K8]
EXTRACTION =
(_F (
COMPOR
=
compor,
[K16]
TEMP_EVAL
=
temp, [R8]
))
UNITE_LONGUEUR =/“Me
,
[DEFAUT]
/
“MM”,
INFO =/
1
,
[DEFAUT]
/2,
)
Handbook of Utilization
U4.4- booklet: Modeling
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Macro-command INCLUDE_MATERIAU
Date:
25/01/05
Author (S):
C. DURAND, A. Key M. DONORE
:
U4.43.02-C Page
: 3/6
3
Catalog Matériaux Aster
Code_Aster has Catalog Matériaux whose objectives are:
·
to provide the users, the data materials necessary to the realization of studies
numerical,
·
to ensure the perenniality of information,
·
to guarantee the reliability and the coherence of the data available,
·
and to facilitate and automate the access to the data.
In Code_Aster, the material is defined by a whole of characteristics necessary to the setting
in work of a law of behavior, which is introduced by the general command
DEFI_MATERIAU.
In Catalog Matériaux, the material is indexed by its designation in standard AFNOR.
Catalog Matériaux distinguishes two types of materials according to the type of study:
·
the “material of reference” for generic studies. It corresponds to a whole of
products manufactured according to the same well defined specification. It is characterized by
values median, minimal and maximum typical of the population concerned. It is it
material which it is advised to use if one does not have a perfect description of
material to be modelled,
·
the “particular material” for specific studies. It corresponds to a product well
identified or with a concept of material given. This material is characterized by values
specific of its properties, together with extreme values related to the heterogeneity of
material and/or with uncertainty on the values. This material is finely documented so
to avoid its systematic use without precaution.
In addition, one can index various materials (of reference or private individual) corresponding to
even designation AFNOR. The RCC-M distinguishes, for the same designation AFNOR, them
characteristics material following the technical specification of reference, the type of product (forged,
rolled-iron product, tube, sheet,…) and dimensions of the component. In order to take account of this dimension
additional, in Catalog Matériaux, one associates each material a letter of the alphabet.
To summarize, in Catalog Matériaux the materials are indexed by a chain of
characters which is composed of the concatenation:
·
designation in standard AFNOR,
·
word ref. (if material of reference) or PAR (if particular material),
·
of a letter of the alphabet.
For example: 18MND5_REF_A
Catalog Matériaux is presented in two distinct forms:
·
a form “files” usable by Code_Aster by command INCLUDE_MATERIAU.
It is a whole of files having for name the character string previously
described (for example 18MND5_REF_A) and for extension one of the character strings
following: NOMI (for the median values), MINI (for the minimal values) and MAXI
(for the maximum values),
·
a form “cards”, where the user can consult the characteristics materials in form
tables and to obtain the origin of the characteristics. This shape of the catalog is accessible
on the site of Code_Aster: www.code-aster.org under the miter “Utilization”. Each card
material is the subject of an independent validation by department MMC.
Handbook of Utilization
U4.4- booklet: Modeling
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Macro-command INCLUDE_MATERIAU
Date:
25/01/05
Author (S):
C. DURAND, A. Key M. DONORE
:
U4.43.02-C Page
: 4/6
4 Operands
NOM_AFNOR/TYPE_MODELE/ALTERNATIVE/
TYPE_VALE
These operands make it possible to choose material to be used and thus to define its name according to the rule
presented in [§3].
NOM_AFNOR
=
nomafnor
[K8]
Allows to specify the designation of material in standard AFNOR (for example: 18MND5).
TYPE_MODELE =/
“Ref.”,
/
“PAR”,
Allows to specify if they are the characteristics of material of reference or those of
particular material which one wishes to use.
VARIANTE
=
/
“A”,
......
/
“Z”,
Allows to specify the alternative of the material which one wishes to use (the characteristics are
in general different according to the thickness or the diameter and this for the same designation
in standard AFNOR). The paragraph of description of material of the card material
allows to know the alternative interesting the user.
TYPE_VALE
=
/
“NOMI”,
/“MAXI”,
/“MINI”,
Allows to specify if one wants to use the median values, minimal or maximum.
5 Operand
NOM_MATER
NOM_MATER
=
to subdue
[K8]
Allows the user to specify the name which will be affected with the MATER concept used in Aster.
The user can thus carry out several INCLUDE_MATERIAU in the same Aster calculation, with
condition of giving different names of MATER concept to each call to
INCLUDE_MATERIAU.
Handbook of Utilization
U4.4- booklet: Modeling
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Macro-command INCLUDE_MATERIAU
Date:
25/01/05
Author (S):
C. DURAND, A. Key M. DONORE
:
U4.43.02-C Page
: 5/6
6 Word
key
EXTRACTION
The values of characteristics material contained in Catalog Matériaux are generally
tables of values depending on the temperature. So one did not inform in Catalog
Materials that certain key words control ratios DEFI_MATERIAU: those for which
operands are defined by functions (for example: ELAS_FO, THER_NL,…). On the other hand, words
key factors for which the operands are defined by realities (for example: ELAS,…) are not
not well informed in the various files composing the form “files” of Catalog Matériaux.
One can however generate these key words in command DEFI_MATERIAU by the key word
EXTRACTION by specifying the behavior which one wishes to generate and by specifying the value of
temperature to which one wishes to extract the values from the function.
6.1 Operand
COMPOR
COMPOR
=
compor
[K16]
Behavior to be created in command DEFI_MATERIAU (for example ELAS from
ELAS_FO for a given temperature) (must correspond to a key word factor of
DEFI_MATERIAU).
6.2 Operand
TEMP_EVAL
TEMP_EVAL
=
temp
[R8]
Temperature to which, one wishes to extract the values from the characteristics materials. By
example, one creates in command DEFI_MATERIAU the operand E = E under the key word
0
factor ELAS by extracting the value with T from the operand E = E (T) definite under the key word
0
factor ELAS_FO. To be able to carry out such an operation, it is necessary of course, that the word
key ELAS_FO is defined in the file associated with selected material. The interpolation, if
need is, is linear, except if it is not authorized.
7 Operand
UNITE_LONGUEUR
UNITE_LONGUEUR =/“Me
,
[DEFAUT]
/
“MM”,
Allows to use the data of the catalog material with the millimetre like unit of length.
The values indicated in the catalog material are and remain in meters. If the user specifies
UNITE_LONGUEUR = “MM” in the command INCLUDE_MATERIAU, that means that
the user wishes to handle units of length in millimetres, and orders it
INCLUDE_MATERIAU carries out the transformation of the units.
8 Operand
INFO
INFO
=
/
1, [DEFAUT]
/
2,
1
no impression of the contents of the file included,
2
impression of the contents of the file included, in file “MESSAGE”.
Handbook of Utilization
U4.4- booklet: Modeling
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Macro-command INCLUDE_MATERIAU
Date:
25/01/05
Author (S):
C. DURAND, A. Key M. DONORE
:
U4.43.02-C Page
: 6/6
9 Example
of use
·
Command file
DEBUT ()
…. …. .....
….
INCLUDE_MATERIAU
(NOM_AFNOR = “18MND5”, TYPE_MODELE = “REF.”,
ALTERNATIVE = “A”
, TYPE_VALE
= “NOMI”,
NOM_MATER
=
“MAT3”
,
INFO =
2
)
chmat3 = AFFE_MATERIAU (MAILLAGE = my,
AFFE=_F (GROUP_MA= (“STRIA1”., “SQUA”), MATER=MAT3, TEMP_REF =20.))
…. …. .....
….
FIN ()
·
File material associated with/aster/v7/STA7/material/18MND5_REF_A. NOMI
#
# LAMBDA according to the temperature
#
A0 = DEFI_FONCTION (
NOM_PARA
=
“TEMP”
,
PROL_DROITE
=
“EXCLU”
,
PROL_GAUCHE
=
“EXCLU”
,
VALE =
(
20.
,
37.7,
50.
, 38.6,
.
.
.
.
600.,
33.0,
650.,
31.8
))
…. …. .....
….
#
# ALPHA according to the temperature
#
A4 = DEFI_FONCTION (
NOM_PARA
=
“TEMP”
,
PROL_DROITE
=
“EXCLU”
,
PROL_GAUCHE
=
“EXCLU”
,
VALE =
(
20.
, 11.22E-6, 50.
, 11.45E-6,
.
.
.
.
400.,
13.72E-6
,
450.,
14.02E-6,
))
…. …. .....
….
chechmate = DEFI_MATERIAU (
THER_NL =_F (#
SUBST
THER
RHO_CP
=
A1,
#
EVAL
Z1
LAMBDA
=
A0,
#
EVAL
Z0
)
ELAS_FO =_F (#
SUBST
ELAS
E
=
A2 #
EVAL
Z2
NAKED
=
A3 #
EVAL
Z3
ALPHA
=
A4 #
EVAL
Z4
TEMP_DEF_ALPHA
=
20.
#
SUPPR
)
)
RETOUR ()
Handbook of Utilization
U4.4- booklet: Modeling
HT-66/05/004/A
Outline document