Code_Aster
®
Version
7.4
Titrate:
Operator
COMB_CHAM_NO
Date:
04/01/05
Author (S):
X. DESROCHES, L. VIVAN
Key
:
U4.72.02-H
Page
:
1/6
Instruction manual
U4.7- booklet: Operations on the results and the fields
HT-66/05/004/A
Organization (S):
EDF-R & D/AMA, CS IF
Instruction manual
U4.7- booklet: Operations on the results and the fields
Document: U4.72.02
Operator
COMB_CHAM_NO
1 Goal
To carry out the linear combination of fields to the nodes.
All concepts of the type
cham_no_ *
to combine must be based on same classification
(control
NUME_DDL
[U4.61.11]).
This operator also allows to carry out the recombination of modes of Fourier in a direction
data (for displacements or temperatures).
The produced concept (
cham_no_ *)
can be réentrant.
Code_Aster
®
Version
7.4
Titrate:
Operator
COMB_CHAM_NO
Date:
04/01/05
Author (S):
X. DESROCHES, L. VIVAN
Key
:
U4.72.02-H
Page
:
2/6
Instruction manual
U4.7- booklet: Operations on the results and the fields
HT-66/05/004/A
2 Syntax
cchno [cham_no_ *] = COMB_CHAM_NO
(
reuse =
cchno,
/COMB_R = _F (
PART =/“IMAG”,
/
“REAL”
,
CHAM_NO
=
CH
,
/
[cham_no_DEPL_R]
/
[cham_no_TEMP_R]
/
[cham_no_PRES_R]
/
[cham_no_DEPL_C]
/
[cham_no_TEMP_C]
/
[cham_no_PRES_C]
COEF_R
=
R,
[R]
),
/
COMB_C
=
_F (
CHAM_NO
=
CH
,
/
[cham_no_DEPL_R]
/
[cham_no_DEPL_C]
/
[cham_no_TEMP_R]
/
[cham_no_TEMP_C]
/
[cham_no_PRES_R]
/
[cham_no_PRES_C]
/
COEF_R
=
R,
[R]
/
COEF_C
=
C,
[C]
),
/
COMB_FOURIER = _F (
CHAM_NO = CH,/
[cham_no_DEPL_R]
/
[cham_no_TEMP_R]
NUME_MODE
=
N,
[I]
TYPE_MODE =/“SYME”,
/“ANTI”
,
COEF_R =
/R, [R]
/
1.,
[DEFECT]
),
ENG =
, (in degrees)
[R]
)
if
COMB_R
and
CHAM_NO: [cham_no_DEPL_R]
then
[*]
- >
DEPL_R
[cham_no_TEMP_R]
[*]
- >
TEMP_R
[cham_no_PRES_R]
[*]
- >
PRES_R
[cham_no_DEPL_C]
[*]
- >
DEPL_R
[cham_no_TEMP_C]
[*]
- >
TEMP_R
[cham_no_PRES_C]
[*]
- >
PRES_R
if
COMB_C
and
CHAM_NO: [cham_no_DEPL_R]
then
[*]
- >
DEPL_C
[cham_no_DEPL_C]
[*]
- >
DEPL_C
[cham_no_TEMP_R]
[*]
- >
TEMP_C
[cham_no_TEMP_C]
[*]
- >
TEMP_C
[cham_no_PRES_R]
[*]
- >
PRES_C
[cham_no_PRES_C]
[*]
- >
PRES_C
if
COMB_FOURIER
and
CHAM_NO [cham_no_DEPL_R]
then
[*]
- >
DEPL_R
[cham_no_TEMP_R]
[*]
- >
TEMP_R
Code_Aster
®
Version
7.4
Titrate:
Operator
COMB_CHAM_NO
Date:
04/01/05
Author (S):
X. DESROCHES, L. VIVAN
Key
:
U4.72.02-H
Page
:
3/6
Instruction manual
U4.7- booklet: Operations on the results and the fields
HT-66/05/004/A
3 Operands
3.1
Recall on the syntax of the complex values
The complex values can be declared in two different ways:
·
in the form
has
+
ib
with syntax
IH
has
,
B
where
has
and
B
are real numbers.
·
in the form
(
modulate
,
phase
) with
MP
MOD
,
pH
where
MOD
and
pH
are real numbers (
pH
in degree).
3.2 Word
key
COMB_R
/COMB_R = _F
Description of the terms of the linear combination producing one
cham_no_ *
with coefficients
realities.
3.2.1 Operand
PART
PART =/“REAL”,
/
“IMAG”
,
To carry out extractions or linear combinations of part (S) imaginary (S) or
of part (S) real (S) of
cham_no
complexes.
3.2.2 Operand
CHAM_NO
CHAM_NO = CH,
Name of the concept of the type
cham_no_
* to combine.
3.2.3 Operand
COEF_R
COEF_R = R,
Real coefficient to apply to the concept argument of
CHAM_NO
.
3.3 Word
key
COMB_C
/COMB_C = _F
Description of the terms of the linear combination producing one
cham_no_ *
with coefficients
complexes.
3.3.1 Operand
CHAM_NO
CHAM_NO = CH,
Name of the concept of the type
cham_no_
* to combine.
3.3.2 Operands
COEF_R
and
COEF_C
/
COEF_R = R,
Real coefficient to apply to the concept argument of
CHAM_NO
.
/
COEF_C
=
C,
Coefficient complexes to apply to the concept argument of
CHAM_NO
.
Code_Aster
®
Version
7.4
Titrate:
Operator
COMB_CHAM_NO
Date:
04/01/05
Author (S):
X. DESROCHES, L. VIVAN
Key
:
U4.72.02-H
Page
:
4/6
Instruction manual
U4.7- booklet: Operations on the results and the fields
HT-66/05/004/A
3.4 Word
key
COMB_FOURIER
/
COMB_FOURIER = _F
Harmonic description by harmonic of the terms of the Fourier series with
to combine. With an occurrence of the key word factor
COMB_FOURIER
corresponds
description supplements of a harmonic and only one.
The description of a harmonic comprises:
·
the field of displacements (or temperatures) resulting from a preliminary resolution on
the harmonic considered,
·
the number of mode or number of the harmonic of FOURIER,
·
the type of the harmonic (symmetrical or antisymmetric).
3.4.1 Operand
CHAM_NO
CHAM_NO = CH,
Field of displacements (or temperatures) corresponding to the harmonic
N
3.4.2 Operand
NUME_MODE
NUME_MODE = N,
Entirety indicating the number of the harmonic.
3.4.3 Operand
TYPE_MODE
TYPE_MODE =/“SYME”,
symmetrical harmonic
/
“ANTI”
,
antisymmetric harmonic
3.4.4 Operand
COEF_R
COEF_R
=/R,
Multiplying coefficient associated the harmonic
/1. ,
(1 per defect in the standard recombination)
Recall: The recombination of FOURIER on displacements is written:
()
U
U
U
=
-
+
=
cos
cos
sin
sin
sin
cos
N
N
N
With
N
N
N
With
S
S
N
has
has
N
N
NR
0
0
0
0
0
1
2
44444
3
44444
1
2
4444
3
4444
with
(
)
U
S
N
S R
N
S Z
N
Sn
U
U
U
=
,
,
(in the same way for
U
has
N
).
A symmetrical harmonic is thus recombined with the matrix
With
S
, a harmonic
antisymmetric with the matrix
With
has
.
3.5 Operand
ENG
ENG =
angle in degree of the section where the recombination of FOURIER takes place.
Code_Aster
®
Version
7.4
Titrate:
Operator
COMB_CHAM_NO
Date:
04/01/05
Author (S):
X. DESROCHES, L. VIVAN
Key
:
U4.72.02-H
Page
:
5/6
Instruction manual
U4.7- booklet: Operations on the results and the fields
HT-66/05/004/A
4
Phases of checking/execution
Phase of checking
It is checked that the “produced concept” is not an operand of input of the operator.
In the case of the recombination of FOURIER, one checks that all them
cham_no
to recombine are of
even standard (
cham_no_DEPL_R
or
cham_no_TEMP_R
).
Production run
·
With the execution the operator checks before carrying out the linear combination, that the type of
values of the result is compatible with the type of the values of the concepts
cham_no_ *
with
to combine.
·
It also carries out the checks of coherence: arguments of the type
cham_no_ *
must have same classification.
5 Examples
5.1
Conventional linear combination
Utot = COMB_CHAM_NO (COMB_C = (_F (CHAM_NO = U1, COEF_R = 1.),
_F
(CHAM_NO=U2,
COEF_C=RI
0.,
1.),),
)
The produced concept
Utot
is of type
cham_no_ * _C
(complex):
Utot
=
U1 + I U2
The concept
Utot
can be used again as concept produced for a news
combination with
U3
cham_no_ * _R
(realities):
Utot = COMB_CHAM_NO
(reuse = Utot,
COMB_C = (_F (CHAM_NO = Utot, COEF_R = 1.),
_F (CHAM_NO
=
U3,
COEF_R
=
2.),),
)
What produces:
Utot = Utot
+ 2. U3
5.2
Recopy concept of the type
cham_no
This operator is also used for the recopy of a concept of the type
cham_no_
*:
CH_sauv = COMB_CHAM_NO (COMB_R = _F (CHAM_NO = CH, COEF_R = 1.)
)
5.3
Recombination of FOURIER in thermics
One calculates the recombination of FOURIER in
= 0 of 2 symmetrical modes: mode 1 and mode 2.
to
=
COMB_CHAM_NO
(COMB_FOURIER
= (
_F (CHAM_NO =TEMP1, NUME_MODE =1, TYPE_MODE = ' SYME'),
_F (CHAM_NO
=temp2, NUME_MODE
=2, TYPE_MODE
= ' SYME'),),
ENG
=
0.)
Each field of temperature (
temp1
and
temp2
) comes from a resolution on the mode
corresponding.
Code_Aster
®
Version
7.4
Titrate:
Operator
COMB_CHAM_NO
Date:
04/01/05
Author (S):
X. DESROCHES, L. VIVAN
Key
:
U4.72.02-H
Page
:
6/6
Instruction manual
U4.7- booklet: Operations on the results and the fields
HT-66/05/004/A
5.4
Recombination of FOURIER in elasticity
dep45
=
COMB_CHAM_NO
(COMB_FOURIER
= (
_F (CHAM_NO =DEP1S, NUME_MODE =1, TYPE_MODE = ' SYME'),
_F (CHAM_NO
=dep0a, NUME_MODE
=0, TYPE_MODE
= ' ANTI'),),
ENG
=
45.)
One recombines in
= 45°:
·
a harmonic resulting (for example) from a loading in uniform pressure mode 1
symmetrical,
·
a harmonic resulting from a loading in pure torsion (antisymmetric mode 0).