Code_Aster ®
Version
7.4
Titrate:
Macro-command MACRO_MODE_MECA


Date:
31/01/05
Author (S):
E. BOYERE, O. BOITEAU Key
:
U4.52.02-E Page
: 1/6
Organization (S): EDF-R & D/AMA, SINETICS

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

Macro-command MACRO_MODE_MECA

1 Goal

To launch a succession of calculations of real clean modes. The following actions are carried out:
obtaining the modes by simultaneous iterations, in specified frequency bands,
application of a standard, filtering according to a criterion of value of modal parameter higher than some
threshold and finally concatenation of the structures of data calculated in only one.

The modes are calculated by command MODE_ITER_SIMULT [U4.52.03] with option “BANDE” and
normalized by command NORM_MODE [U4.52.11]. The calculated modes are filtered and concaténés with
means of command EXTR_MODE [U4.52.12].

Product a structure of data of the mode_meca type.

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

Code_Aster ®
Version
7.4
Titrate:
Macro-command MACRO_MODE_MECA


Date:
31/01/05
Author (S):
E. BOYERE, O. BOITEAU Key
:
U4.52.02-E Page
: 2/6

2 Syntax

mod_meca =
MACRO_MODE_MECA (

# PARAMETERS OF MODE_ITER_SIMULT




MATR_A
=
Matra
[matr_asse_DEPL_R]




MATR_B
=
Matra
[matr_asse_DEPL_R]



INFO
=
/
1
[DEFAUT]







/2



OPTION
=/“MODE_RIGIDE”
[DEFAUT]
/
“SANS”



METHODE
=
/“TRI_DIAG”
/
“JACOBI”
/
“SORENSEN” [DEFECT]



CALC_FREQ = _F (








/FREQ_MIN = fmin


[R]
FREQ_MAX




=
fmax
[R]
NB_BLOC_FREQ
=
npart [R]
/
FREQ








=
lfr
[l_R]








PREC_LANCZOS
=
/
plancz
[R]













/1.E-10
[DEFAUT]







NMAX_ITER_QR
=
/
nmiter
[I]













/30
[DEFAUT]







/
DIM_SOUS_ESPACE=/0 [DEFECT]
/

[I]
/
COEF_DIM_ESPACE=
cde
[I]
EXCLUS
(
“DIM_SOUS_ESPACE”,
“COEF_DIM_ESPACE”)







NMAX_ITER_ORTHO
=/5 [IDEFAUT]
/
nio
[I]







PREC_ORTHO
=
/
1.E-12
[DEFAUT]














/Po

[R]







NMAX_ITER_BATHE
=/
12
[DEFAUT]
/
nbat [I]







PREC_BATHE
=
/
1.E-10
[DEFAUT]
/
pbat [R]







NMAX_ITER_JACOBI=/12
[DEFAUT]
/
njaco
[I]







PREC_JACOBI
=
/
1.E-2
[DEFAUT]
/
pjaco
[R]







SEUIL_FREQ
=
/
1.E-2
[DEFAUT]
/
sfr
[R]







PREC_SHIFT
=
/
pshif
[R]














/0.05 [DEFAUT]







STOP_FREQ_VIDE
=
/
“NON”
[DEFAUT]
/
“OUI”







NMAX_ITER_SOREN
=/
20
[DEFAUT]
/
nsoren
[I]







PARA_ORTHO_SOREN
=/0.717
[DEFAUT]
/
passoren
[R]







PREC_SOREN
=
/
0.
[DEFAUT]
/
prsoren [R]








)

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

Code_Aster ®
Version
7.4
Titrate:
Macro-command MACRO_MODE_MECA


Date:
31/01/05
Author (S):
E. BOYERE, O. BOITEAU Key
:
U4.52.02-E Page
: 3/6



VERI_MODE = _F (







STOP_ERREUR
=
/
“OUI”
[DEFAUT]
/
“NON”







SEUIL
=/
rseuil
[R]
/
1.E-6
[DEFAUT]







STURM
=/
“OUI”
[DEFAUT]
/
“NON”
[l_Kn]







PREC_SHIFT
=
/
pshif
[R]












/0.005
[DEFAUT]








)

# PARAMETERS OF NORM_MODE


NORM_MODE = _F (






/NORME
=/“EUCL_TRAN”
/
“MASS_GENE”
/
“RIGI_GENE”
/
“TRAN”
/
“TRAN_ROTA”
[DEFAUT]
/
“EUCL”







MASS_INER
=
masstru [tabl_MASS_INER]






INFO
=
/
1
[DEFAUT]











/2








)

# PARAMETERS OF FILTERING OF THE MODES


FILTRE_MODE
=_F
(






CRIT_EXTR
=/“MASS_EFFE_UN” [DEFECT]
/
“MASS_GENE”






SEUIL
=/
0.001
[DEFAUT]
/
rseuil
[R]








)

#
PARAMETRES
Of IMPRESSION


IMPRESSION = _F (






CUMUL
=/
“OUI”
[DEFAUT]
/
“NON”






CRIT_EXTR
=/“MASS_EFFE_UN” [DEFECT]
/
“MASS_GENE”






TOUT_PARA
=
/
“OUI”
[DEFAUT]
/
“NON”








)







);

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

Code_Aster ®
Version
7.4
Titrate:
Macro-command MACRO_MODE_MECA


Date:
31/01/05
Author (S):
E. BOYERE, O. BOITEAU Key
:
U4.52.02-E Page
: 4/6

3 Operands

3.1 Operands
MATR_A/MATR_B/INFORMATION/METHOD/OPTION

They have the same significance as in command MODE_ITER_SIMULT [U4.52.03].

3.2 Word
key
CALC_FREQ

Play the same part as in command MODE_ITER_SIMULT [U4.52.03], has the same key words
interns with the same default values, except for the following key words.

3.2.1 Operands
FREQ_MIN/FREQ_MAX/NB_BLOC_FREQ

Give the terminals fmin and fmax of the total interval of frequencies of calculation and the number of
subintervals npart.

In this case, the ième terminal (i=1, npart+1) is F (I) = fmin + (i-1) * (fmax-fmin)/npart.

Each subinterval has as respective terminals F (I) and F (i+1).

3.2.2 Operand
FREQ

One awaits a list of at least 2 values of frequencies F (I).

npart is obtained by the number of terms of the list - 1.

The terminals of the subintervals are F (I) and F (i+1) for I = 1 with npart.

3.3 Word
key
VERI_MODE

The operands intern have the same significance as in the key word of the same name, in
order MODE_ITER_SIMULT [U4.52.03].

3.4 Word
key
NORM_MODE

Is used to define the arguments for the standardization of the modes. All the modes are normalized
even way. The arguments are the same ones as for command NORM_MODE [U4.52.11]

3.5 Word
key
FILTRE_MODE

If it is present, is used to introduce the arguments of filtering of the modes inside the npart key words
FILTRE_MODE (1 occurrence by subinterval) of command EXTR_MODE [U4.52.12] producing
the final result. All the modes are filtered with the same criterion.

If it misses, the call to command EXTR_MODE produces the final result by concatenation without
filtering of the clean modes calculated in each subinterval. There is then npart words key
FILTRE_MODE having for argument TOUT_ORDRE = “OUI”.
Handbook of Utilization
U4.5- booklet: Methods of resolution
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Macro-command MACRO_MODE_MECA


Date:
31/01/05
Author (S):
E. BOYERE, O. BOITEAU Key
:
U4.52.02-E Page
: 5/6

3.6 Word
key
IMPRESSION

Allows to possibly display the office plurality of values of a modal parameter chosen, for the modes
clean calculated final result. The key words intern have the same significance as in
order EXTR_MODE [U4.52.12].

The selected modal parameter can not be the same one as that which was possibly used to filter them
calculated modes.

Key word TOUT_PARA makes it possible to display after each modal calculation and standardization, the value of all
modal parameters (frequency, masses effective,…).

4 Example

That is to say the following sequence:


mode = MACRO_MODE_MECA
(
MATR_A
=
rigi
,
MATR_B = mass,




CALC_FREQ = _F (FREQ_MIN = 1.,
FREQ_MAX




=
5.,
NB_BLOC_FREQ
=
2
),

NORM_MODE
=
_F (
NORME
=
“TRAN_ROTA”,
MASS_INER
=
masstru
),




FILTRE_MODE = _F (CRIT_EXTR = “MASS_EFFE_UN”),




IMPRESSION = _F (OFFICE PLURALITY = “YES”,
CRIT_EXTR
=
“MASS_EFFE_UN”)









);

Once interpreted, it consists with the following sequence of the usual commands:

·
The terminals of the intervals first of all are calculated:



npart = 2
F (I) = fmin + (i-1) * (fmax-fmin)/npart, i=1, npart + 1

of or F (1) = 1. F (2) = 3. F (3) = 5.

·
One realizes



mode_1 = MODE_ITER_SIMULT
(MATR_A = rigi
,
MATR_B = mass,
CALC_FREQ
=
_F (
OPTION
=
“BANDE”,
FREQ
=
(F (1),
F (2))











);


mode_1 = NORM_MODE (MODE = mode_1, reuse = mode1,
NORME
=
“TRAN_ROTA”,
MASS_INER
=
masstru
)
;


mode_2 = MODE_ITER_SIMULT
(MATR_A = rigi
,
MATR_B = mass,
CALC_FREQ
=
_F (
OPTION
=
“BANDE”,
FREQ
=
(F (2),
F (3))











);


mode_2 = NORM_MODE (MODE = mode_2, reuse = mode2,
NORME
=
“TRAN_ROTA”,
MASS_INER
=
masstru
)
;

mode
=
EXTR_MODE
(FILTRE_MODE=_F (MODE = MODE_1,
CRIT_EXTR
=
“MASS_EFFE_UN”
),

FILTRE_MODE=_F (
MODE
=
mode_2,
CRIT_EXTR
=
“MASS_EFFE_UN”
),

IMPRESSION=_F
(OFFICE PLURALITY = “YES”,
CRIT_EXTR
=
“MASS_EFFE_UN”
)







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

Code_Aster ®
Version
7.4
Titrate:
Macro-command MACRO_MODE_MECA


Date:
31/01/05
Author (S):
E. BOYERE, O. BOITEAU Key
:
U4.52.02-E Page
: 6/6

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

Outline document