Code_Aster ®
Version
7.4
Titrate:
Macro command MACRO_ELAS_MULT


Date:
11/02/05
Author (S):
X. DESROCHES, L. VIVAN Key
:
U4.51.02-E Page
: 1/6

Organization (S): EDF-R & D/AMA, CS IF

Handbook of Utilization
U4.5- booklet: Methods of resolution
Document: U4.51.02

Macro command MACRO_ELAS_MULT

1 Goal

To calculate linear static answers for various loading cases or modes of Fourier.

It is supposed that the conditions kinematics (blockings of the structure) and the characteristics of
materials are invariant for all the loading cases, which makes it possible to have the same matrix of
rigidity.

The structure of data produced is of mult_elas type for the multicas of load or
fourier_elas for calculations of Fourier.
Handbook of Utilization
U4.5- booklet: Methods of resolution
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Macro command MACRO_ELAS_MULT


Date:
11/02/05
Author (S):
X. DESROCHES, L. VIVAN Key
:
U4.51.02-E Page
: 2/6

2 Syntax

resu = MACRO_ELAS_MULT
(


reuse
=
resu,


MODELE
=
Mo,
[model]


CHAM_MATER = chmat,
[cham_mater]
CARA_ELEM
=
carac,
[cara_elem]


NUME_DDL = naked,
[nume_ddl]


/CHAR_MECA_GLOBAL
=
lchmg,
[l_char_meca]
/
CHAR_CINE_GLOBAL
=
lchcg,
[l_char_cine]
/
LIAISON_DISCRET
=
“OUI”,

CAS_CHARGE=_F
(






/NOM_CAS = moncas, [kN]



/
MODE_FOURIER
=
mode,
[I]



TYPE_MODE
=
/
“SYME”, [DEFECT]






/
“ANTI”,



/
“TOUS”,






/CHAR_MECA
= lcharm, [l_char_meca]





/
CHAR_CINE
=
lcharc, [l_char_cine_meca]





/
VECT_ASSE
=
chdep,
[cham_no_depl_r]






OPTION
=
option, [l_Kn]






NUME_COUCHE
=
/
1,
[DEFAUT]





/
nume,
[I]






NIVE_COUCHE =/“MOY”,
[DEFAUT]





/
“SUP”,





/
“INF”,






SOUS_TITER = soustitre, [l_Kn]






)


SOLVEUR
=_F (), [U4.50.01]


TITER
= title,
[l_Kn]








)

resu is a structure of data RESULTAT of the type:

mult_elas if key word NOM_CAS is present,
fourier_elas if key word MODE_FOURIER is present.
Handbook of Utilization
U4.5- booklet: Methods of resolution
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Macro command MACRO_ELAS_MULT


Date:
11/02/05
Author (S):
X. DESROCHES, L. VIVAN Key
:
U4.51.02-E Page
: 3/6

3 Operands

3.1 Operands
MODEL/CHAM_MATER/CARA_ELEM

One provides the arguments allowing to calculate the matrix of rigidity (and second members).

MODELE
= Mo,

Name of the model whose elements are the subject of mechanical calculation.

CHAM_MATER = chmat,

Name of the material field.

CARA_ELEM
= carac,

Name of the characteristics of the structural elements (beam, hull, discrete,…) if they are used
in the model.

3.2 Operand
NUME_DDL

NUME_DDL = naked,

Key word used to name classification for a later use or to use one
existing classification. If no name is provided, a classification is created temporarily
for each call to MACRO_ELAS_MULT.

3.3 Operands
CHAR_MECA_GLOBAL/CHAR_CINE_GLOBAL/
LIAISON_DISCRET

/CHAR_MECA_GLOBAL
= lchmg,

Key word defining the boundary conditions mechanical of blocking of the structure.
These conditions are the same ones for all the loading cases. They are defined by
AFFE_CHAR_MECA or AFFE_CHAR_MECA_F [U4.44.01].

/
CHAR_CINE_GLOBAL
= lchcg,

Key word defining the conditions kinematics of blocking (eliminated) of the structure.

These conditions are the same ones for all the loading cases. They are defined by
AFFE_CHAR_CINE or AFFE_CHAR_CINE_F [U4.44.03].


/LIAISON_DISCRET = “YES”,

This key word is simply used to say that there are not mechanical conditions or kinematics
of blocking of the structure.

3.4 Word
key
CAS_CHARGE

Key word factor allowing to define a loading case.

For each occurrence of the key word factor, one builds a second member (except if one uses
VECT_ASSE (in which case the second member is already assembled)) and one résoud the linear system.

3.4.1 Operand
NOM_CAS

NOM_CAS = moncas,

Character string, is used as variable of access to the structure of data result.

Note:

Each case is named by the user and the concept of sequence number does not exist.
Handbook of Utilization
U4.5- booklet: Methods of resolution
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Macro command MACRO_ELAS_MULT


Date:
11/02/05
Author (S):
X. DESROCHES, L. VIVAN Key
:
U4.51.02-E Page
: 4/6

3.4.2 Operands
MODE_FOURIER/TYPE_MODE

MODE_FOURIER
= mode,

Positive or null entirety indicating the harmonic of FOURIER on which one calculates the matrix
elementary of rigidity and the elementary vector.

TYPE_MODE
= standard,

The type of the harmonic will be symmetrical (“SYME”), or antisymmetric (“ANTI”) or symmetrical and
antisymmetric (“TOUS”) (cf the note of use Fourier [U2.01.07]).

3.4.3 Operands
CHAR_MECA/CHAR_CINE/VECT_ASSE

CHAR_MECA
= lcharm,

List concepts of the char_meca type produces by AFFE_CHAR_MECA [U4.44.01] or
AFFE_CHAR_MECA_F [U4.44.01] starting from the model Mo.

CHAR_CINE
= lcharc,

List concepts of the char_cine_meca type produces by AFFE_CHAR_CINE [U4.44.03] from
model Mo.

VECT_ASSE
= chdep,

Concept of the cham_no_depl_r type representing the second member of the linear system with
to solve.

3.4.4 Operands
OPTION/NUME_COUCHE/NIVE_COUCHE

One asks, if it is wished, of the options of calculation of postprocessing starting from displacements.
One can not request these options from this stage of the study to analyze the solution in displacement
; then, in a later work, to supplement the concept produced by using command CALC_ELEM
[U4.81.01] or CALC_NO [U4.81.02] orders it.

OPTION
= option,

The significance of the options is given in commands CALC_ELEM [U4.81.01] and CALC_NO
[U4.81.02].

When the model contains elements of hull, one will be able to specify, if necessary, for
calculation of certain options:


NUME_COUCHE = nume,

In the case of a multi-layer material, value ranging between 1 and number it layers,
necessary to specify the layer where one wishes to carry out elementary calculation. By
convention layer 1 is the sub-base. By defect the number of layer is 1 for
a full-course element of hull.


NIVE_COUCHE = nive,

For the nume layer defined by NUME_COUCHE, allows to specify the level in
the thickness where one wants to carry out elementary calculation:

Lower ordered “INF” of the layer (lower skin),
Higher ordered “SUP” of the layer (higher skin),
Average ordered “MOY” of the layer (average layer).
Handbook of Utilization
U4.5- booklet: Methods of resolution
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Macro command MACRO_ELAS_MULT


Date:
11/02/05
Author (S):
X. DESROCHES, L. VIVAN Key
:
U4.51.02-E Page
: 5/6

3.4.5 Operand
SOUS_TITER

SOUS_TITER = soustitre,

Under title which one wants to give to the field result displacement.

3.5 Word
key
SOLVEUR [U4.50.01]

This key word makes it possible to choose the method of resolution of the linear systems. Let us recall that, in
the case of the multicas of loads, only one factorization is made for each call to
MACRO_ELAS_MULT and a resolution for each loading case.

3.6 Operand
TITER

See [U4.03.01].

4 Examples

One will be able to refer to test SSLL14 A [V3.01.014].

% definition of the boundary conditions of blocking
bloqu = AFFE_CHAR_MECA (model MODELE=,
DDL_IMPO= (_F (TOUT=' OUI'
,
DZ=0.
),











_F (GROUP_NO= (“A”, “B”), DX=0., DY=0.,),))

% definition of 4 loadings
charg1
=
AFFE_CHAR_MECA (model MODELE=,







FORCE_POUTRE=_F (GROUP_MA= “D2”, FY= P))

charg2
=
AFFE_CHAR_MECA (model MODELE=,







FORCE_NODALE=_F (GROUP_NO= “It, FY= F1))

charg3
=
AFFE_CHAR_MECA (model MODELE=,







FORCE_NODALE=_F (GROUP_NO= “Of, FX= F2))

charg4
=
AFFE_CHAR_MECA (model MODELE=,







FORCE_NODALE=_F (GROUP_NO= “Of, MZ= M))

statics
=
MACRO_ELAS_MULT
(
MODELE
=
model,
CHAM_MATER =
ch_mater,
CARA_ELEM
=
cara_ele,
CHAR_MECA_GLOBAL
=
bloqu,

% one gives a name in order to recover concept NUME_DDL
NUME_DDL

=
nu_ddl,
CAS_CHARGE=_F
(NOM_CAS = “load number 1”,
CHAR_MECA
=
charg1,
OPTION



=
(
“SIEF_ELGA_DEPL”, “REAC_NODA”,),
SOUS_TITER=' charges
set out again
vertical
on
DC',








),








)
Handbook of Utilization
U4.5- booklet: Methods of resolution
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Macro command MACRO_ELAS_MULT


Date:
11/02/05
Author (S):
X. DESROCHES, L. VIVAN Key
:
U4.51.02-E Page
: 6/6

% second series of loading case

statique=
MACRO_ELAS_MULT
(
reuse
=
statics,
MODELE
=
model,
CHAM_MATER =
ch_mater,
CARA_ELEM
=
cara_ele,
CHAR_MECA_GLOBAL
= bloqu,

% one gives concept NUME_DDL calculated previously
NUME_DDL

=
nu_ddl,




CAS_CHARGE= (_F (NOM_CAS = “load number 2”,
CHAR_MECA
=
charg2,
OPTION



=
(
“SIEF_ELGA_DEPL”, “REAC_NODA”
),
SOUS_TITER=
'force
specific
vertical
in
It,








),

_F
(
NOM_CAS


= ' load
number
3 ',
CHAR_MECA
=charg3,
OPTION



= (
“SIEF_ELGA_DEPL”, “REAC_NODA”
),
SOUS_TITER=' forces
specific horizontal in It,








),
_F
(
NOM_CAS


=
'load
number
4 ',
CHAR_MECA
=
charg4,
OPTION



=
(
“SIEF_ELGA_DEPL”, “REAC_NODA”
),
SOUS_TITER=
'moment
in
It,
),),








)

Handbook of Utilization
U4.5- booklet: Methods of resolution
HT-66/05/004/A

Outline document